Toast · JSON Structure

Orders Gift Card Info Structure

Reserved for future use.

Type: object Properties: 0 Required: 2
Food ServicePoint of SaleRestaurantsHospitality

GiftCardInfo is a JSON Structure definition published by Toast. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-structure/orders-gift-card-info-structure.json",
  "name": "GiftCardInfo",
  "description": "Reserved for future use.",
  "type": "object",
  "required": [
    "cardNumberIdentifier",
    "last4CardDigits"
  ],
  "allOf": [
    {
      "$ref": "#/definitions/ToastReference"
    },
    {
      "type": "object",
      "properties": {
        "last4CardDigits": {
          "type": "string",
          "description": "The last 4 digits of the gift card that was used."
        },
        "first5CardDigits": {
          "x-toast-read-only": true,
          "type": "string",
          "description": "The first 5 digits of the gift card that was used. Response only."
        }
      }
    }
  ]
}