{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-withdrawal-account-schema.json",
  "title": "WithdrawalAccount",
  "description": "Withdrawal account",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currencycloud-withdrawal-accounts-api-openapi.yml#/components/schemas/WithdrawalAccount",
  "type": "object",
  "required": [
    "id",
    "account_name",
    "account_holder_name",
    "account_holder_dob",
    "routing_code",
    "account_number",
    "currency",
    "account_id"
  ],
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "The UUID of the withdrawal account."
    },
    "account_name": {
      "type": "string",
      "description": "The name of the withdrawal account."
    },
    "account_holder_name": {
      "type": "string",
      "description": "The name of the withdrawal account holder."
    },
    "account_holder_dob": {
      "type": "string",
      "format": "date",
      "description": "The DOB of the withdrawal account holder."
    },
    "routing_code": {
      "type": "string",
      "description": "The routing code of the withdrawal account."
    },
    "account_number": {
      "type": "string",
      "description": "The account number of the withdrawal account."
    },
    "currency": {
      "type": "string",
      "description": "The currency of the withdrawal account."
    },
    "account_id": {
      "type": "string",
      "description": "The UUID of the CurrencyCloud account the withdrawal account is linked to."
    }
  }
}