Thanx · JSON Structure

Consumer Api Authorization Structure

Authorization schema from Thanx Consumer API

Type: object Properties: 5
RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

Authorization is a JSON Structure definition published by Thanx, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

token_type scope created_at access_token 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/thanx/refs/heads/main/json-structure/consumer-api-authorization-structure.json",
  "name": "Authorization",
  "description": "Authorization schema from Thanx Consumer API",
  "type": "object",
  "properties": {
    "token_type": {
      "type": "string",
      "example": "945148251b603ae34561d90acfe4050e"
    },
    "scope": {
      "type": "string",
      "example": "passwordless"
    },
    "created_at": {
      "type": "int32",
      "example": 1577836800
    },
    "access_token": {
      "type": "string",
      "example": "945148251b603ae34561d90acfe4050e"
    },
    "refresh_token": {
      "type": "string",
      "example": "945148251b603ae34561d90acfe4050e"
    }
  }
}