{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AmazonPayDetails", "title": "Amazon Pay", "additionalProperties": false, "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" } }, "type": "object" }