{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-stored-details-schema.json",
  "title": "StoredDetails",
  "description": "StoredDetails schema from Adyen API",
  "type": "object",
  "properties": {
    "bank": {
      "description": "The stored bank account.",
      "$ref": "#/components/schemas/BankAccount"
    },
    "card": {
      "description": "The stored card information.",
      "$ref": "#/components/schemas/Card"
    },
    "emailAddress": {
      "description": "The email associated with stored payment details.",
      "type": "string"
    }
  }
}