AmazonPayDetails is a JSON Structure definition published by Adyen, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-amazon-pay-details-structure.json",
"description": "AmazonPayDetails schema from Adyen API",
"type": "object",
"properties": {
"amazonPayToken": {
"description": "This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically.",
"type": "string"
},
"checkoutAttemptId": {
"x-addedInVersion": "68",
"description": "The checkout attempt identifier.",
"type": "string"
},
"checkoutSessionId": {
"description": "The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken.",
"type": "string"
},
"type": {
"default": "amazonpay",
"description": "**amazonpay**",
"enum": [
"amazonpay"
],
"type": "string"
}
},
"additionalProperties": false,
"name": "AmazonPayDetails"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.