Lunchbox · JSON Structure

Loyalty User Wallet Structure

UserWallet schema from Lunchbox Loyalty API

Type: object Properties: 15
RestaurantOnline OrderingGuest EngagementCateringMenusOrderLoyaltyEnterprise

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

Properties

id merchantId email firstName lastName phone birthdate pointsBalance creditsBalance lifetimePointsBalance isActive lastBirthdayYear createdAt updatedAt walletRewards

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/loyalty-user-wallet-structure.json",
  "name": "UserWallet",
  "description": "UserWallet schema from Lunchbox Loyalty API",
  "type": "object",
  "properties": {
    "id": {
      "type": "uuid",
      "example": "130945e3-2b24-4530-a696-3b2c6977ba1c"
    },
    "merchantId": {
      "type": "uuid",
      "example": "130945e3-2b24-4530-a696-3b2c6977ba1c"
    },
    "email": {
      "type": "string",
      "example": "demo@lunchbox.io"
    },
    "firstName": {
      "type": "string",
      "example": "John"
    },
    "lastName": {
      "type": "string",
      "example": "Smith"
    },
    "phone": {
      "type": "string",
      "example": "2125551411"
    },
    "birthdate": {
      "type": "datetime",
      "nullable": true,
      "example": "2023-07-25T06:00:00-04:00"
    },
    "pointsBalance": {
      "type": "int32",
      "example": 1
    },
    "creditsBalance": {
      "type": "int32",
      "example": 1
    },
    "lifetimePointsBalance": {
      "type": "int32",
      "example": 1
    },
    "isActive": {
      "type": "boolean",
      "example": true
    },
    "lastBirthdayYear": {
      "type": "int32",
      "nullable": true,
      "example": 1
    },
    "createdAt": {
      "type": "datetime",
      "example": "2023-07-25T06:00:00-04:00"
    },
    "updatedAt": {
      "type": "datetime",
      "example": "2023-07-25T06:00:00-04:00"
    },
    "walletRewards": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/WalletReward"
      },
      "example": []
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/loyalty-user-wallet-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.