Otter · Schema

UserBalance

UserBalance schema from Public API (Otter Public API).

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
amount number Balance amount.
type string The type of balance.
View JSON Schema on GitHub

JSON Schema

public-api-user-balance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UserBalance",
  "description": "UserBalance schema from Public API (Otter Public API).",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-user-balance-schema.json",
  "type": "object",
  "properties": {
    "amount": {
      "type": "number",
      "description": "Balance amount.",
      "example": 19.07
    },
    "type": {
      "type": "string",
      "description": "The type of balance.",
      "example": "POINT",
      "enum": [
        "POINT",
        "DOLLAR"
      ]
    }
  }
}