Paytronix · Schema

ComputeRewardsRequest

ComputeRewardsRequest schema from Paytronix Server API

RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Properties

Name Type Description
merchantId integer
storeCode string
check object
cardInfo object
terminal string
operator string
rewardSelectionMode object
View JSON Schema on GitHub

JSON Schema

server-api-compute-rewards-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ComputeRewardsRequest",
  "description": "ComputeRewardsRequest schema from Paytronix Server API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-schema/server-api-compute-rewards-request-schema.json",
  "type": "object",
  "properties": {
    "merchantId": {
      "type": "integer",
      "example": 1000
    },
    "storeCode": {
      "type": "string",
      "example": "1"
    },
    "check": {
      "$ref": "#/components/schemas/Check"
    },
    "cardInfo": {
      "$ref": "#/components/schemas/CardInfo"
    },
    "terminal": {
      "type": "string"
    },
    "operator": {
      "type": "string"
    },
    "rewardSelectionMode": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "example": "AUTOMATIC"
        }
      }
    }
  },
  "required": [
    "merchantId",
    "storeCode",
    "check",
    "cardInfo"
  ]
}