Paytronix · Schema

ComputeRewardsReply

ComputeRewardsReply schema from Paytronix Server API

RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Properties

Name Type Description
result string
customerName string
tierCode string
printedCardNumber string
itemDiscounts array
subtotalDiscounts array
walletBalances array
receiptText string
View JSON Schema on GitHub

JSON Schema

server-api-compute-rewards-reply-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ComputeRewardsReply",
  "description": "ComputeRewardsReply schema from Paytronix Server API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-schema/server-api-compute-rewards-reply-schema.json",
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "example": "success"
    },
    "customerName": {
      "type": "string",
      "example": "Jane Doe"
    },
    "tierCode": {
      "type": "string",
      "example": "GOLD"
    },
    "printedCardNumber": {
      "type": "string",
      "example": "60490012345678"
    },
    "itemDiscounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "itemCode": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "rewardName": {
            "type": "string"
          }
        }
      }
    },
    "subtotalDiscounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "rewardName": {
            "type": "string"
          }
        }
      }
    },
    "walletBalances": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/WalletBalance"
      }
    },
    "receiptText": {
      "type": "string"
    }
  }
}