Paytronix · JSON Structure

Server Api Check Structure

A POS check with line items used in reward computation and posting.

Type: object Properties: 4
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

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

Properties

number openTime subtotal items

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-check-structure.json",
  "name": "Check",
  "description": "A POS check with line items used in reward computation and posting.",
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "example": "4501"
    },
    "openTime": {
      "type": "datetime"
    },
    "subtotal": {
      "type": "double",
      "example": 42.5
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "itemCode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quantity": {
            "type": "double"
          },
          "price": {
            "type": "double"
          }
        }
      }
    }
  }
}