Get started with Android SDK
The Zettle Payments SDK for Android makes it possible to build integration solutions for taking payments from any Android app, using a Zettle card reader or QRC.
To be able to create apps, you need an account in the Zettle Developer Portal.
See Sign up for a developer account.
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.
See Create credentials for an SDK app.
To manage card payments with the SDK, you need to have a Zettle card reader. If you do not have one, get a card reader.
The Zettle Payments SDK for Android is available as packages from the GitHub Package Registry. To be able to access these you need a GitHub Token.
- Click on your profile picture in GitHub.
- Go to Settings.
- Click Developer Settings.
- Select Personal access tokens and Generate a new token.
- Select the scope read:packages.
- Click Generate token.
- Save the token for later use.