Skip to content

Amazon Pay Balance API Integration Flow

Amazon provides APIs to integrate Amazon Pay Balance on third-party merchant sites and applications. These APIs enable server-side operations, allowing merchants to retrieve balance details and process transactions for users.

Amazon Pay Balance API Integration Flow

Integrate Amazon Pay Balance API

Follow these steps to integrate the Amazon Pay Balance API:

  1. Implement the client-side SDK to initiate the linking of user’s account.

  2. Link the user’s account. After the user consents, and their account is linked, Amazon Pay sends an authorization code, which is then utilized to obtain the user's access token through the server-side API.

  3. Fetch balance and payment methods - Call the Instruments API to fetch the user’s Amazon Pay Balance and other stored payment methods. You can then display all the options for the user to choose from.

  4. Initiate the transaction:

    a. Call the Charge API with intent as Capture to initiate a transaction.

    b. Check the status of the transaction by calling the Status API with txn_type = charge.

  5. Manage refunds:

    a. Call the Refund API to return a specific amount to the customer.

    b. Check the status of a refund by calling the Status API with txn_type = refund.