Paytronix · JSON Structure

Server Api Guest Token Response Structure

GuestTokenResponse schema from Paytronix Server API

Type: object Properties: 6
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

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

Properties

access_token token_type expires_in refresh_token scope username

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/paytronix/refs/heads/main/json-structure/server-api-guest-token-response-structure.json",
  "name": "GuestTokenResponse",
  "description": "GuestTokenResponse schema from Paytronix Server API",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "example": "9f8c1a2b3c4d5e6f"
    },
    "token_type": {
      "type": "string",
      "example": "bearer"
    },
    "expires_in": {
      "type": "int32",
      "example": 1800
    },
    "refresh_token": {
      "type": "string",
      "example": "1a2b3c4d5e6f7a8b"
    },
    "scope": {
      "type": "string",
      "example": "user_read account_read"
    },
    "username": {
      "type": "string",
      "example": "jdoe"
    }
  }
}