{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-checkout-redirect-action-structure.json",
  "description": "CheckoutRedirectAction schema from Adyen API",
  "type": "object",
  "properties": {
    "data": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "When the redirect URL must be accessed via POST, use this data to post to the redirect URL.",
      "type": "object"
    },
    "method": {
      "description": "Specifies the HTTP method, for example GET or POST.",
      "type": "string"
    },
    "paymentMethodType": {
      "description": "Specifies the payment method.",
      "type": "string"
    },
    "type": {
      "description": "**redirect**",
      "enum": [
        "redirect"
      ],
      "type": "string"
    },
    "url": {
      "description": "Specifies the URL to redirect to.",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "name": "CheckoutRedirectAction"
}