Amazon · Schema

CheckoutSession

CheckoutSession schema from Amazon Pay API

AmazonAdvertisingAlexaE-CommerceMarketplacePaymentsVoiceFortune 100

Properties

Name Type Description
checkoutSessionId string
statusDetails object
buyer object
shippingAddress object
billingAddress object
paymentDetails object
merchantMetadata object
chargePermissionId string
chargeId string
creationTimestamp string
expirationTimestamp string
View JSON Schema on GitHub

JSON Schema

pay-checkout-session-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "checkoutSessionId": {
      "type": "string"
    },
    "statusDetails": {
      "$ref": "#/components/schemas/StatusDetails"
    },
    "buyer": {
      "$ref": "#/components/schemas/Buyer"
    },
    "shippingAddress": {
      "$ref": "#/components/schemas/Address"
    },
    "billingAddress": {
      "$ref": "#/components/schemas/Address"
    },
    "paymentDetails": {
      "type": "object",
      "properties": {
        "paymentIntent": {
          "type": "string",
          "enum": [
            "Confirm",
            "Authorize",
            "AuthorizeWithCapture"
          ]
        },
        "chargeAmount": {
          "$ref": "#/components/schemas/Price"
        }
      }
    },
    "merchantMetadata": {
      "$ref": "#/components/schemas/MerchantMetadata"
    },
    "chargePermissionId": {
      "type": "string"
    },
    "chargeId": {
      "type": "string"
    },
    "creationTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "expirationTimestamp": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CheckoutSession",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon/refs/heads/main/json-schema/pay-checkout-session-schema.json",
  "description": "CheckoutSession schema from Amazon Pay API"
}