ItsaCheckmate · Schema

TokenRequest

OAuth-style token request body.

RestaurantPoint Of SaleOnline OrderingDeliveryMenusOrdersIntegration

Properties

Name Type Description
grant_type string Grant type. Use authorization_code initially or refresh_token to renew.
client_id string Client identifier from the platform app UI.
client_secret string Client secret from the platform app UI.
redirect_uri string Redirect URI. Omit for the refresh_token flow.
code string One-time-use authorization code. Omit for the refresh_token flow.
refresh_token string Refresh token. Omit for the initial authorization_code request.
View JSON Schema on GitHub

JSON Schema

marketplace-api-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/itsacheckmate/refs/heads/main/json-schema/marketplace-api-token-request-schema.json",
  "title": "TokenRequest",
  "description": "OAuth-style token request body.",
  "type": "object",
  "required": [
    "grant_type",
    "client_id",
    "client_secret"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "Grant type. Use authorization_code initially or refresh_token to renew.",
      "enum": [
        "authorization_code",
        "refresh_token"
      ]
    },
    "client_id": {
      "type": "string",
      "description": "Client identifier from the platform app UI."
    },
    "client_secret": {
      "type": "string",
      "description": "Client secret from the platform app UI."
    },
    "redirect_uri": {
      "type": "string",
      "description": "Redirect URI. Omit for the refresh_token flow."
    },
    "code": {
      "type": "string",
      "description": "One-time-use authorization code. Omit for the refresh_token flow."
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token. Omit for the initial authorization_code request."
    }
  }
}