ItsaCheckmate · JSON Structure

Marketplace Api Token Request Structure

OAuth-style token request body.

Type: object Properties: 6 Required: 3
RestaurantPoint Of SaleOnline OrderingDeliveryMenusOrdersIntegration

TokenRequest is a JSON Structure definition published by ItsaCheckmate, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

grant_type client_id client_secret redirect_uri code refresh_token

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/itsacheckmate/refs/heads/main/json-structure/marketplace-api-token-request-structure.json",
  "name": "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."
    }
  }
}