{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-tokenized-card-schema.json",
  "title": "Tokenized Card",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-processing-api-openapi.yml#/components/schemas/TokenizedCard",
  "type": "object",
  "x-internal": false,
  "properties": {
    "type": {
      "type": "string",
      "description": "Type to classify this payment instrument (required).",
      "enum": [
        "tokenized_card"
      ]
    },
    "token": {
      "description": "Identifier representing the tokenized card (required).",
      "type": "string",
      "minLength": 64,
      "maxLength": 64
    },
    "iin": {
      "type": "string",
      "description": "Issuer identification number."
    },
    "last_four_digits": {
      "type": "string",
      "description": "Last four numbers of this card."
    },
    "expiration_month": {
      "type": "string",
      "description": "Expiry month of this card."
    },
    "expiration_year": {
      "type": "string",
      "description": "Expiry year of this card."
    }
  },
  "required": [
    "type",
    "token"
  ]
}