Amazon Pay
Amazon Pay is a popular and widely adopted payment solution, particularly in the United States. It enables Amazon customers to use their saved payment and shipping details for secure and convenient payments on third-party sites. Learn more about Amazon Pay.
Amazon Pay is currently offered as processing only. Settlement is handled directly by Amazon Pay.
Payment method properties
Markets | US |
Processing currencies | USD |
Consumer currencies | USD |
Settlement currencies | USD |
Authentication methods | REDIRECT |
Authentication timeout | 1 hour |
Minimum payment amount | 0.50 USD |
Maximum payment amount | 20,000.00 USD (can vary by consumer) |
Payment instrument | AMAZON_PAY |
Recurring payments | Yes |
Separate captures | No |
Refund | Full - Partial - Multiple |
Refund validity | 6 months |
Disputes | Yes |
Sandbox availability | Amazon Pay sandbox |
Make an Amazon Pay payment
Amazon Pay payments follow our standardized REDIRECT
payment flow. However, we recommend including all relevant settings for any authentication methods you support.
To create an Amazon Pay payment, you'll need to provide the following data at minimum when calling our /v1/payment-charges API:
Data Field | Description |
---|---|
paymentMethod | AMAZON_PAY |
amount.value | The amount to be paid in the smallest units of the currency used. |
amount.currency | USD |
consumer.name | Full name of the consumer. |
consumer.country | The country where the consumer is shopping. |
authenticationSettings: REDIRECT settings.returnUrl | Add the URL where the consumer should be redirected after they complete the payment. Required for the REDIRECT flow. |
Request
POST /v1/payment-charges
{
"paymentMethod": "AMAZON_PAY",
"amount": {
"value": 1000,
"currency": "USD"
},
"consumer": {
"name": "John Smith",
"country": "US"
},
"authenticationSettings": [
{
"type": "REDIRECT",
"settings": {
"returnUrl": "https://www.webshop.com/order-results-page"
}
}
]
}
Response
You'll receive our standard payment charge response (see potential responses in the API Reference)
{
"id": "charge_X0O78tadFHrZCbGhkycPk",
"status": "AUTHENTICATION_PENDING",
// ...
"authenticationMethods": [
{
"type": "REDIRECT",
"details": {
"requestUrl": "https://redirection-target.ppro.com",
"requestMethod": "GET"
}
}
]
}
Pick the desired authentication method
REDIRECT
- Redirect your consumer to the returned
$.authenticationMethods[?(@.type == "REDIRECT")].details.requestUrl
.
For example, with the value ofhttps://redirection-target.ppro.com/
using the returned$.authenticationMethods[?(@.type == "REDIRECT")].details.requestMethod
HTTP method. - The consumer will finalize the payment process on the redirected page.
Handling the payment result
REDIRECT
- Once the consumer has confirmed the payment, they are redirected to the
returnUrl
provided in the initial payment charge creation request. - After the consumer is redirected back to your site, check the payment status by making a GET /v1/payment-charges/{paymentChargeId}. Use the
Status
that you received to display the payment outcome to the consumer. - Webhooks are also sent to inform you of the payment outcome. If the shopper closes the browser and doesn't return to your website, you can rely on webhooks to receive the payment result.
Payment instrument
An instrument of type AMAZON_PAY
will be created for Amazon Pay. The email address associated with the Amazon account will be returned.
Request
GET /v1/payment-instruments/{instrument-id}
Response
{
"id": "instr_86xMmxSjrVafelQgtAXxt",
"details": {
"consumerEmail": "[email protected]"
},
"type": "AMAZON_PAY"
}
Updated 1 day ago