Integrating the SDK

To integrate with our Android mobile SDK, get your API Keys from Paysafe (both single-use token and server-to-server API keys), and download the Android SDK. Single-use tokens are valid for only 15 minutes and are not consumed by verification.

The full steps are as follows:

  1. Download our Android SDK.
  2. Integrate your Android app and your servers using the SDK.
  3. Test and go live.

Add the Android SDK to your Application

To add the SDK, you need to complete the following steps:

  • Get the source code from our GitHub repository
  • Import the SDK project into Android Studio
  • Build the project and generate an .aar file
  • Add the generated .aar file to your application's libs folder
  • Add the following code to your build.gradle file to include all artifacts from the libs folder to your dependencies:

implementation fileTree(dir: 'libs', include: ['*.aar'])

Did you find this page useful?