Skip to content

Amazon Pay Later API Integration Flow

Amazon provides APIs to integrate Amazon Pay Later on third-party merchant sites and applications. These APIs enable server-side operations, allowing merchants to assess eligibility for credit and process transactions for users. This shift to the backend of the integration reduces dependency on the client side.

Amazon Pay Later API Integration Flow

Integrate Amazon Pay Later API

Here are the high level steps to integrate the Amazon Pay Later 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. Check the user’s eligibility. Call the Instruments API to check if the user is eligible for Amazon Pay Later . If user is eligible, show the KFS link that you receive from the Instruments API and display the available credit to the user. If the user is ineligible, deactivate APL as a payment method.

  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.