Toast · Schema

AppliedLoyaltyInfo

Information about the customer loyalty program account associated with a check.

Food ServicePoint-of-SaleRestaurantHospitality
View JSON Schema on GitHub

JSON Schema

orders-applied-loyalty-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-schema/orders-applied-loyalty-info-schema.json",
  "title": "AppliedLoyaltyInfo",
  "description": "Information about the customer loyalty program account associated with a check.",
  "type": "object",
  "required": [
    "loyaltyIdentifier",
    "vendor"
  ],
  "allOf": [
    {
      "$ref": "#/definitions/ToastReference"
    },
    {
      "type": "object",
      "properties": {
        "loyaltyIdentifier": {
          "type": "string",
          "description": "An identifier for the loyalty program account. For `POST` orders, this identifier is transmitted to the loyalty program service provider to associate the check with the loyalty account."
        },
        "maskedLoyaltyIdentifier": {
          "type": "string",
          "description": "A representation of the identifier of the loyalty program\naccount that can be displayed securely. For example:\n`************1234`. The Toast POS displays this string to\nrestaurant employees and guests.\n\nYou can optionally include this\nvalue when you `POST` an order. It is\navailable in response data when you `GET` the order.\n\nIf you do not provide a `maskedLoyaltyIdentifier` when you\n`POST` an order, this value is `null` in response data.\n\nThe Toast POS app displays a masked representation of the\n`loyaltyIdentifier`. All characters except the last four\nare hidden.\n"
        },
        "vendor": {
          "type": "string",
          "description": "The specific loyalty program service provider that supports the loyalty account.",
          "enum": [
            "TOAST",
            "PUNCHH",
            "PUNCHH2",
            "PAYTRONIX",
            "APPFRONT",
            "INTEGRATION"
          ]
        },
        "accrualFamilyGuid": {
          "x-toast-read-only": true,
          "type": "string",
          "description": "Response only. An internal Toast platform identifier for loyalty\nprogram transactions.\n\nThis is not returned from the initial\n`POST` order request and is available at a later time.\n"
        },
        "accrualText": {
          "x-toast-read-only": true,
          "type": "string",
          "description": "Response only. A description of the loyalty program transaction\nto print on the customer's receipt. For example,\n\"Earned 27 points.\"\n\nThe maximum length of the description string\nis 255 characters.\n\nThis is not returned from the initial\n`POST` order request and is available at a later time.\n"
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/orders-applied-loyalty-info"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.