{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-payment-setup-response-schema.json",
  "title": "PaymentSetupResponse",
  "description": "PaymentSetupResponse schema from Adyen API",
  "type": "object",
  "properties": {
    "paymentSession": {
      "description": "The encoded payment session that you need to pass to the SDK.",
      "type": "string"
    },
    "recurringDetails": {
      "deprecated": true,
      "description": "The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request.",
      "items": {
        "$ref": "#/components/schemas/RecurringDetail"
      },
      "type": "array"
    }
  }
}