{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-cancel-order-request-structure.json",
  "description": "CancelOrderRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "merchantAccount": {
      "description": "The merchant account identifier that orderData belongs to.",
      "type": "string"
    },
    "order": {
      "description": "The order request object that contains a pspReference that represents the order and the matching encrypted order data.",
      "$ref": "#/components/schemas/EncryptedOrderData"
    }
  },
  "required": [
    "order",
    "merchantAccount"
  ],
  "name": "CancelOrderRequest"
}