{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/shift4-payments/json-schema/shift4-token-schema.json",
  "title": "Shift4 Token",
  "description": "A short-lived token representing card data. Source: shift4-java SDK Token response model.",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "created": { "type": "integer" },
    "first6": { "type": "string" },
    "last4": { "type": "string" },
    "fingerprint": { "type": "string" },
    "expMonth": { "type": "string" },
    "expYear": { "type": "string" },
    "brand": { "type": "string" },
    "type": { "type": "string" },
    "cardholderName": { "type": "string" },
    "used": { "type": "boolean" }
  },
  "required": ["id"]
}
