Toast · Schema

LoyaltyDetails

Information about the loyalty program discount that is applied to a check. The loyalty program account is identified in the `AppliedLoyaltyInfo` value for the check.

Food ServicePoint-of-SaleRestaurantHospitality

Properties

Name Type Description
vendor string The specific loyalty program service provider that supports the loyalty account.
referenceId string The identifier of the loyalty program discount that is recognized by the loyalty program service provider. The Toast platform transmits the discount identifier to the service provider to determine the
View JSON Schema on GitHub

JSON Schema

orders-loyalty-details-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-loyalty-details-schema.json",
  "title": "LoyaltyDetails",
  "description": "Information about the loyalty program discount that is applied to a check. The loyalty program account is identified in the `AppliedLoyaltyInfo` value for the check.",
  "type": "object",
  "required": [
    "vendor",
    "referenceId"
  ],
  "properties": {
    "vendor": {
      "type": "string",
      "description": "The specific loyalty program service provider that supports the loyalty account.",
      "enum": [
        "TOAST",
        "PUNCHH",
        "PUNCHH2",
        "PAYTRONIX",
        "APPFRONT",
        "INTEGRATION"
      ]
    },
    "referenceId": {
      "type": "string",
      "description": "The identifier of the loyalty program discount that\nis recognized by the loyalty program service provider.\n\nThe Toast platform transmits the discount identifier to the service\nprovider to determine the validity and amount of the discount.\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-loyalty-details"
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.