Get started with iOS SDK
The Zettle SDKs makes it possible to build integration solutions for accepting card payments with a Zettle card reader from any iOS-based app.
You need the following to get started:
- The Bundle ID for your integration app. This is a unique identifier used to identify an Apple app.
- An OAuth redirect URI to your POS app. This is the callback URL to which merchants will be redirected after successful authorization.
- An account in the Developer Portal. See the following how to get this.
- A Client ID for your integration app. See the following how to get this.
Create a Developer Portal account
To be able to create apps, you need an account in the Zettle Developer Portal.
Go to the Developer Portal.
Enter your email, a password and click Create an account.
Go to your email, and follow the instructions to verify your email address.
You will receive a welcome email with the Developer Platform Agreement, as confirmation.
Get a Client ID
Your application is responsible for user authorisation. In the SDK, this is performed through the implementation of OAuth 2.0. The SDK OAuth API integration enables you to hook into the authorisation and authentication API. A Client ID and a callback URL from your integrating app is required for this.
Log in to the Developer Portal with you developer account.
In the Dashboard, click Create a new app.
Select the Payments SDK for iOS option.
Fill in the fields in the form displayed.
Click Get credentials when done. The system auto-generates a Client ID for your app.
Keep the Client ID in a safe place for later use.