Otter · Schema

RedeemAndAccumulateRewardsResponse

Response body for RedeemAndAccumulateRewards API call.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
transactionId string The id of the transaction.
rewardEffect object
accumulatedRewards array List of rewards accumulated.
View JSON Schema on GitHub

JSON Schema

public-api-redeem-and-accumulate-rewards-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RedeemAndAccumulateRewardsResponse",
  "description": "Response body for RedeemAndAccumulateRewards API call.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-redeem-and-accumulate-rewards-response-schema.json",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "The id of the transaction.",
      "example": "someidstring"
    },
    "rewardEffect": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-reward-effect-schema.json"
    },
    "accumulatedRewards": {
      "type": "array",
      "description": "List of rewards accumulated.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-user-balance-schema.json"
      }
    }
  }
}