Shift4 Payments · Schema

Shift4 Token

A short-lived token representing card data. Source: shift4-java SDK Token response model.

PaymentsFintechCommerceCheckout

Properties

Name Type Description
id string
created integer
first6 string
last4 string
fingerprint string
expMonth string
expYear string
brand string
type string
cardholderName string
used boolean
View JSON Schema on GitHub

JSON Schema

shift4-token-schema.json Raw ↑
{
  "$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"]
}