{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CheckoutOrderResponse",
  "title": "CheckoutOrderResponse",
  "properties": {
    "amount": {
      "description": "The initial amount of the order.",
      "$ref": "#/components/schemas/Amount"
    },
    "expiresAt": {
      "description": "The expiry date for the order.",
      "type": "string"
    },
    "orderData": {
      "description": "The encrypted order data.",
      "type": "string"
    },
    "pspReference": {
      "description": "The `pspReference` that belongs to the order.",
      "type": "string"
    },
    "reference": {
      "description": "The merchant reference for the order.",
      "type": "string"
    },
    "remainingAmount": {
      "description": "The updated remaining amount.",
      "$ref": "#/components/schemas/Amount"
    }
  },
  "required": [
    "pspReference"
  ],
  "type": "object"
}