Before you start
The Airwallex Android SDK is compatible with apps supporting Android API level 19 and above.
Airwallex Android SDK is available through Maven Central , you only need to add the Gradle dependency.
In your app-level
build.gradle file, add the following:
You can choose one or more individual modules depending on the payment methods available to you.
You will need to obtain an access token that allows you server to reach all other API endpoints. Use your unique Client ID and API key (which can be generated within Account settings > API keys ) to call the Authentication API endpoint API. On success, an access token will be granted.
Before processing a payment, your server must create a PaymentIntent API and pass it to the client. After the payment is completed, your server need to retrieve the PaymentIntent API to check the payment result.
After installing the SDK, you are required to configure your SDK with some parameters when your app starts.