{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/billdesk/main/json-schema/billdesk-altid-card-request-schema.json",
  "title": "Altid_card_request",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/billdesk-tokenization-openapi.yml#/components/schemas/Altid_card_request",
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "Card number ",
      "pattern": "^[0-9]{16}$"
    },
    "expiry_month ": {
      "type": "string",
      "maxLength": 2,
      "description": "Card expiry month in MM format"
    },
    "expiry_year": {
      "type": "string",
      "description": "Card expiry year in YYYY format",
      "maxLength": 4
    },
    "cvv": {
      "type": "string",
      "description": "Card cvv value ",
      "maxLength": 3
    },
    "holder_name": {
      "type": "string",
      "description": "Cardholder name",
      "pattern": "^[A-Za-z0-9\\\\s\\\\.'\\\\-\\\\~\\\\@\\\\_]{1,120}$"
    }
  },
  "required": [
    "number",
    "expiry_month ",
    "expiry_year"
  ]
}