Lunchbox · JSON Structure

Core Charges Structure

Charges schema from Lunchbox Core API

Type: object Properties: 6
RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

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

Properties

total_cents subtotal_cents tax_cents delivery_cents tip_cents remaining_cents

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/lunchbox/refs/heads/main/json-structure/core-charges-structure.json",
  "name": "Charges",
  "description": "Charges schema from Lunchbox Core API",
  "type": "object",
  "properties": {
    "total_cents": {
      "type": "int32",
      "example": 100
    },
    "subtotal_cents": {
      "type": "int32",
      "example": 100
    },
    "tax_cents": {
      "type": "int32",
      "example": 100
    },
    "delivery_cents": {
      "type": "int32",
      "example": 100
    },
    "tip_cents": {
      "type": "int32",
      "example": 100
    },
    "remaining_cents": {
      "type": "int32",
      "example": 100
    }
  }
}