Amazon · JSON Structure

Pay Create Checkout Session Request Structure

CreateCheckoutSessionRequest schema from Amazon Pay API

Type: object Properties: 5 Required: 2
AmazonAdvertisingAlexaE-CommerceMarketplacePaymentsVoiceFortune 100

CreateCheckoutSessionRequest is a JSON Structure definition published by Amazon, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

webCheckoutDetails storeId chargePermissionType paymentDetails merchantMetadata

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

JSON Structure

Raw ↑
{
  "type": "object",
  "required": [
    "webCheckoutDetails",
    "storeId"
  ],
  "properties": {
    "webCheckoutDetails": {
      "type": "object",
      "required": [
        "checkoutReviewReturnUrl"
      ],
      "properties": {
        "checkoutReviewReturnUrl": {
          "type": "uri"
        },
        "checkoutResultReturnUrl": {
          "type": "uri"
        }
      }
    },
    "storeId": {
      "type": "string"
    },
    "chargePermissionType": {
      "type": "string",
      "enum": [
        "OneTime",
        "Recurring"
      ]
    },
    "paymentDetails": {
      "type": "object",
      "properties": {
        "paymentIntent": {
          "type": "string"
        },
        "chargeAmount": {
          "$ref": "#/components/schemas/Price"
        }
      }
    },
    "merchantMetadata": {
      "$ref": "#/components/schemas/MerchantMetadata"
    }
  },
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "CreateCheckoutSessionRequest",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon/refs/heads/main/json-structure/pay-create-checkout-session-request-structure.json",
  "description": "CreateCheckoutSessionRequest schema from Amazon Pay API"
}