Adyen · JSON Structure

Checkout Amazon Pay Details Structure

AmazonPayDetails schema from Adyen API

Type: object Properties: 4
PaymentsFinancial ServicesFintech

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.

Properties

amazonPayToken checkoutAttemptId checkoutSessionId type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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"
}