{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-payment-methods-response-schema.json",
  "title": "PaymentMethodsResponse",
  "description": "PaymentMethodsResponse schema from Adyen API",
  "type": "object",
  "properties": {
    "paymentMethods": {
      "description": "Detailed list of payment methods required to generate payment forms.",
      "items": {
        "$ref": "#/components/schemas/PaymentMethod"
      },
      "type": "array"
    },
    "storedPaymentMethods": {
      "x-addedInVersion": "49",
      "description": "List of all stored payment methods.",
      "items": {
        "$ref": "#/components/schemas/StoredPaymentMethod"
      },
      "type": "array"
    }
  }
}