Pay3 Android SDK

Transactions

4min

Pay3.getInstance().openCheckout(checkout obj)

Pay3 Android SDK expects you to pass token and requestId which you get in response while creating a checkout order with Pay3's create checkout order API

Parameters

  1. requestId (Type string): App needs to generate a unique identifier for every checkout call. This id can be used by the App to identify and update state in App's backend.
  2. token (Type string): This is a unique id generated by Pay3 backend on calling create checkout order. This is to identify the request created by Application's backend.
Kotlin


Payment Flow

The SDK handles the complete payment flow, including:

  1. Displaying available payment methods
  2. UPI app selection and deep linking
  3. Card and net banking options
  4. Payment status tracking
  5. Success/failure handling

Example Implementatation:

PaymentActivity.kt