Merci de votre visite. Cette page est disponible en anglais uniquement.

Integration overview

Amazon Pay provides buyers with a secure, trusted, and convenient way to sign in and pay for their purchases on your site by using their Amazon credentials. See browser support for information about the operating systems, browsers, and browser versions that Amazon Pay supports.

Use Saved Wallet to set up a buyer’s payment method for future purchases. It is an Amazon-hosted experience within Saved Wallet that enables the buyer to save Amazon Pay as a payment method in your mobile app or website outside or during a purchase.

Saved Wallet is useful for merchants that collect payment details upfront, and for those that need the flexibility to process transactions when the buyer is no longer present:

  • A food delivery service that collects payment details before the buyer places their first order
  • A ride hailing mobile app that initiates a transaction after the buyer is no longer present
  • A car rental company that initiates an additional transaction based on fees incurred after the rental has been returned (e.g., toll road fees)
  • An e-commerce retailer that aims to optimize their mobile app checkout experience by not redirecting the buyer outside of the app to complete each purchase
  • A merchant that processes transactions in additional channels (e.g., a phone transaction, an offline transaction)

For merchants in European countries impacted by PSD2 regulations, the Saved Wallet setup flow always presents a challenge to the buyer after they have confirmed their preferred payment method. This is designed to optimize the payment method for future purchases.

It is possible to setup Saved Wallet with 3 different flows:

  1. Setup outside of the purchase flow
  2. Setup with express checkout purchase flow
  3. Setup with end of checkout (Additional Payment Button) purchase flow

Below are the detail instructions how to launch a custom checkout experience through different flows.

Setup outside of the purchase flow

User experience

  1. The buyer is signed in to their account on your mobile app or website.

  2. The buyer clicks on the Amazon Pay button to start the setup flow.

  3. The buyer signs in and confirms their preferred payment method on the Amazon Pay-hosted page. This page includes a buyer consent to save the selected payment instrument for future purchases.

  4. The buyer is redirected back to your app or website and shown Amazon Pay as a saved payment method.

Steps to integrate

  1. Get set up for integration - register for an Amazon Pay merchant account, create a Sandbox test buyer account, and secure communication.

  2. Add the Amazon Pay button wherever buyer starts payment methods on file setup.

  3. Verify & complete checkout was successful, once the buyer returns to your site after checkout is complete.

  4. Manage payments using Saved Wallet each time you need to charge the customer. Only applicable for a Saved Wallet integration.

  5. Manage refunds in case you need to refund a payment.

  6. Test your integration thoroughly in Sandbox, using test buyer accounts and simulation strings.

  7. Take your integration live by updating the API endpoints.

Integration sequence diagram

Setup with express checkout purchase flow

User experience

  1. The buyer is signed in to their account on your mobile app or website.

  2. The buyer clicks on the Amazon Pay button to start checkout.

  3. The buyer signs in and confirms their preferred payment instrument, and optionally selects a shipping address on the Amazon Pay-hosted page. This page includes a buyer consent to save the selected payment instrument for future purchases.

  4. The buyer is redirected back to your order review page for confirmation.

  5. The buyer completes checkout on the Amazon Pay-hosted page by responding to the multi-factor authentication (identity validation) challenge, if prompted, or by selecting another payment method if payment was declined.

  6. Amazon Pay redirects the buyer back to your confirmation page.

Steps to integrate

  1. Get set up for integration - register for an Amazon Pay merchant account, create a Sandbox test buyer account, and secure communication.

  2. Add the Amazon Pay button wherever buyer starts checkout.

  3. Display shipping and payment info to display checkout information, offer shipping options if applicable, and calculate additional costs.

  4. Set payment info and redirect to Amazon Pay for processing.

  5. Verify & complete checkout was successful, once the buyer returns to your site after checkout is complete.

  6. Manage payments usingSaved Wallet each time you need to charge the customer. Only applicable for the Saved Wallet integration.

  7. Manage refunds in case you need to refund a payment.

  8. Test your integration thoroughly in Sandbox, using test buyer accounts and simulation strings.

  9. Take your integration live by updating the API endpoints.

Integration sequence diagram

Setup with end of checkout (Additional Payment Button) purchase flow

User experience

  1. The buyer is signed in to their account on your mobile app or website.

  2. The buyer clicks on the Amazon Pay button to start checkout.

  3. The buyer signs in and confirms their preferred payment method on the Amazon Pay-hosted page. This page includes a buyer consent to save the selected payment instrument for future purchases.

  4. The buyer completes checkout on the Amazon Pay-hosted page by responding to the multi-factor authentication (identity validation) challenge, if prompted, or by selecting another payment method if payment was declined.

  5. Amazon Pay redirects the buyer back to your confirmation page.

Steps to integrate

  1. Get set up for integration - register for an Amazon Pay merchant account, create a Sandbox test buyer account, and secure communication.

  2. Add the Amazon Pay button wherever buyer starts checkout.

  3. Verify & complete checkout was successful, once the buyer returns to your site after checkout is complete.

  4. Manage payments using Saved Wallet each time you need to charge the customer.

  5. Manage refunds in case you need to refund a payment.

  6. Test your integration thoroughly in Sandbox, using test buyer accounts and simulation strings.

  7. Take your integration live by updating the API endpoints.

Integration sequence diagram

Sign in and setup flow

User experience

  1. The buyer clicks on the ‘Sign in with Amazon’ button or [touchless integration] buyers are redirected to Amazon Sign In page.

  2. The buyer signs in to their Amazon account and is shown an Amazon-hosted page. The page includes a buyer consent to share information and save Amazon Pay as a payment method.

  3. The buyer clicks on ‘Agree and continue’ on the Amazon-hosted page and is redirected to merchant website as a signed-in user.

  4. When the buyer adds an item to cart and begins your checkout flow, they are shown Amazon Pay as a saved payment method.

Steps to integrate

  1. Get set up for integration - register for an Amazon Pay merchant account, create a Sandbox test buyer account, and secure communication

  2. Add the ‘Sign in with Amazon’ button - wherever buyer starts the flow to sign in and setup

  3. Complete setup & Get buyer details

  4. Manage payments using Saved Wallet each time you need to charge the customer

  5. Manage refunds each time you need to refund a payment

  6. Test your integration

  7. Take your integration live by updating the API endpoints.

Integration sequence diagram