HomeProduct DocsAPI ReferenceChangelog
RecurlyAPI GuidesRecurly.jsWebhooksAPI ReferenceSupportBook demo
Product Docs

Amazon Pay V2

Integrate Amazon Pay V2 with Recurly using Recurly.js to let customers subscribe and purchase using payment methods already stored in their Amazon account.

Amazon Pay V2 lets customers subscribe or make purchases using the payment methods already stored in their Amazon account — no separate card entry required. V2 integrates directly into Recurly.js (no external Amazon library needed), supports 3DS in the UK and EU, and includes charge permission ID management for ongoing renewals.
Available on all Recurly plans

Prerequisites

  • A Recurly account.
  • An Amazon Pay Seller account with https://api.recurly.com/ allow-listed in Amazon.
  • A webhook endpoint configured in your Amazon Integration Settings — see Enabling IPN notifications / webhooks below.
  • Integration requires Recurly.js or Hosted Payment Pages (HPP).
  • Currently supported in the US; Europe and UK support coming soon.

Limitations

  • Shipping addresses cannot be retrieved from Amazon in V2. Shipping address details must be provided to Recurly separately.
  • The Amazon Pay V2 sandbox does not fully support testing 3DS flows.

Definition

Amazon Pay V2 is a payment method integration that allows customers to subscribe or make purchases using payment details already stored in their Amazon account. Unlike V1, V2 integrates directly into Recurly.js — no external Amazon widget library required. V2 also supports full name, email, and billing address retrieval from Amazon via scopes, and enables 3DS and PSD2 compliance for UK and EU transactions.

Key details

FeatureDetails
Services that work with RecurlyOne-time purchases and subscriptions
Supported operationsPurchase, Refund, Verify, Void
Supported payment typesSee Amazon support
Supported card brandsSee Amazon support
Gateway-specific 3DS2 supportedYes (UK and EU regions only)
Card on file supportedYes
RegionsEverywhere Amazon Pay is supported
CurrenciesUSD, GBP, EUR, DKK, ZAR, SEK, JPY, CHF, NZD, HKD, AUD

Use cases

  • Subscriptions and one-time transactions for customers who prefer Amazon Pay
  • 3DS support for UK and EU region merchants
  • Reaching Amazon's broad customer base with a familiar, trusted checkout experience

Regional support

Recurly supports Amazon Pay in the US, as well as the UK and Europe. Within the UK and Europe, 3DS and multi-currency are supported through Recurly.js.

Europe

EUR, AUD, GBP, DKK, HKD, JPY, NZD, ZAR, SEK, CHF, and USD.

United Kingdom

GBP, EUR, AUD, DKK, HKD, JPY, NZD, ZAR, SEK, CHF, and USD.

Setup

Sign up for an Amazon Pay Seller account

To use Amazon Pay, you'll need an Amazon Pay Seller account. Signing up is free. If you already have one, log in to your existing account.

After signing up, follow Amazon's Getting Started Guide to complete your account configuration:

1

Add your Recurly subdomain

Add your Recurly subdomain to your Amazon allowed JavaScript origins.

2

Test your integration

Validate your Amazon Pay integration in sandbox mode before going live.

3

Go live

After successful testing, switch your Amazon Pay account to Production mode.

Important Make sure you're selecting the correct Amazon Pay tile. If you have a UK or EU Seller account, do not authenticate through the US Amazon Pay tile.

Enabling IPN notifications / webhooks

Set up your webhook endpoint in Amazon Seller Central before adding the gateway in Recurly.

1

Open Integration Settings

In your Amazon Seller Central account, click the gear icon in the upper-right navigation and select Integration Settings.

2

Add your callback URL

Under Instant Notification Settings, select Edit and enter your callback URL using the format below, replacing YOUR_MERCHANT_SUBDOMAIN with your site subdomain:

https://callbacks.recurly.com/amazon_v2/YOUR_MERCHANT_SUBDOMAIN

3

Save your settings

Click Update to finalize.

Add the gateway in Recurly

Amazon Pay V2 uses a redirect-based authorization flow to securely obtain processing credentials.

1

Select Amazon Pay V2

In your Recurly dashboard, navigate to Configuration → Payment Gateways and select Amazon Pay V2. You'll be redirected to the Amazon Seller Central website that corresponds to your business entity's location.

2

Authenticate and approve

Log in with your Amazon Seller credentials and approve Recurly to process on your behalf. US entities are redirected to the US Seller Central site; UK and EU entities are redirected to the UK/EU Seller Central site.

3

Return to Recurly

After approval, you'll be redirected back to your Recurly dashboard to conduct sandbox transactions or configure for live operations.

Warning Amazon will display a notice that you're being redirected to a specific URL. Do not copy and paste that URL — doing so returns a 404 error. Click the Transfer API Keys button instead.
Note Transactions are not processed in Recurly's sandbox environment. However, Amazon Pay credentials work in both development and production Recurly accounts. To process live transactions, both your Amazon Pay account and your Recurly account must be in production mode.

Integration

Once your Amazon Pay account is configured and your Recurly site is set up, integrate Recurly.js into your subscription checkout flow.

Important The Amazon Pay V1 library is not compatible with V2. Use standard Recurly.js functionality for all V2 integrations — do not use the separate Pay with Amazon library. Refer to the latest Recurly.js and Amazon Pay documentation for current integration details.

Amazon Pay V2 is built into Recurly.js. Interactions follow the standard Recurly.js flow, with the initial Amazon login as the only step that takes customers off your site. After login, customers confirm their payment details and a Charge Permission ID is returned to Recurly and tokenized via Recurly.js. That token is then passed to Recurly's create subscription API as the account's billing information.

For detailed implementation steps, see the Amazon Pay V2 Recurly.js documentation.

Setting the Amazon Pay region

For EU and UK transactions, you must specify a region code in your Recurly.js request (options.region). If you omit the region, transactions default to US settings — including USD as the currency — which causes declines on one-time transactions, initial subscriptions, and renewals. See the Amazon Pay V2 Recurly.js documentation for implementation details.

Handling 3DS and PSD2 (UK and EU)

UK and EU merchants must incorporate 3DS into their checkout flow to comply with Strong Customer Authentication (SCA) and PSD2 requirements. Amazon Pay V2 uses standard Recurly.js 3DS behaviors. If you're already handling this in your Recurly.js setup, no changes are needed. If not, see the 3DS behaviors in Recurly.js documentation.

Handling shipping addresses

Amazon Pay V2 does not currently support retrieving shipping addresses from Amazon. For transactions involving physical shipments, prompt customers to enter their shipping address separately before completing checkout.

Merchant and buyer data

Recurly sends the following additional data to Amazon on subscriptions and transactions:

  • Merchant DBA as Seller Store Name
  • Transaction description as Buyer Notes — the plan name for subscriptions, or the invoice/item description for one-time charges

Subscription management

When a customer checks out with Amazon Pay, they authenticate with their Amazon credentials and confirm their payment details, granting a Charge Permission ID for the subscription. Recurly stores this ID along with relevant Amazon account details and uses it automatically for subsequent renewals.

Customers and merchants can both update billing information:

  • Amazon — Customers can update or cancel their Charge Permission ID directly from their Amazon account.
  • Recurly — Use the update billing info API to apply a new Amazon Charge Permission ID or switch to a different payment method. Customers must re-authenticate through Amazon to update billing via Recurly.js.

Amazon references in Recurly admin

In the Recurly Admin panel under Billing Info on an Account Details page, you can view Amazon Pay transaction details for customer service and reporting, including:

  • Charge Permission ID
  • Capture Amount
  • Transaction Status (at Amazon)
  • Creation, updated, and expiration timestamps
  • Charge ID
  • Currency code
  • Capture Now indicator

Testing your implementation

To test transactions, use a secondary Amazon account — transactions cannot be processed through your own Seller Central account.

Note The Amazon Pay V2 sandbox does not fully support testing 3DS flows.

Migrating from Amazon Pay V1

Amazon Pay V1 used external widgets, a separate library, and Billing Agreement IDs. V2 integrates directly into Recurly.js — no external library or widgets are needed, and Billing Agreement IDs are replaced by Charge Permission IDs.

For a full migration guide, see the Amazon Pay V2 Recurly.js documentation.

Existing V1 subscriptions can transition to V2 automatically when the V2 gateway is activated, unless a specific gateway code was assigned — in that case, a script update is required after activation. HPP one-time and initial subscription transactions switch to V2 automatically once V2 is enabled.

Note Amazon Pay V2 became available in December 2023.

FAQs

Are Amazon Pay Charge Permission IDs usable across regions?

No — Charge Permission IDs are specific to the region where they were created. To switch a user to a different region, you must generate a new Charge Permission ID in that region.

Can I retrieve shipping addresses from Amazon Pay V2?

Not currently. Shipping addresses must be passed to Recurly via API parameters. This page will be updated if Amazon adds native shipping address support in V2.

Are Amazon widgets available in V2?

No — Amazon widgets are not supported in Amazon Pay V2. All interactions go through standard Recurly.js flows.

Do I need to use the separate Amazon library for V2?

No. Amazon Pay V2 is built into Recurly.js, so the separate Pay with Amazon library is not needed and is not supported with V2.

There's no consent widget in Amazon Pay V2 — is that expected?

Yes. In V2, consent is obtained on the Amazon Pay hosted page, so a separate consent widget is no longer required.

Do I need another gateway to access Amazon Pay V2?

No — Amazon Pay V2 is a standalone service. No additional gateways or merchant accounts are required outside of Amazon.

What should I do if I can't authorize via hosted onboarding?

Verify the accuracy of your Amazon Seller Central credentials. For US accounts, confirm your business entity is located in the United States. For UK or EU accounts, confirm your entity is in the UK or an EU country, and that you're authenticating through the correct regional tile.

Which currencies are available for Amazon Pay by region?

In the US, only USD is available. In the UK, GBP is available. In the EU, EUR is available. Full multi-currency support for the UK and EU is listed in the Regional support section above.