All documentation

Business, branches and programs

The key and its business

GET /me

Any key. A quick check that a key works, and which business and branch it belongs to.

json
{
              "business_id": "0193a1c2-7d4e-7a10-9b2f-5c8e1f0a2b3c",
              "business": "Harbor Coffee",
              "currency": "USD",
              "key": "Till 2",
              "prefix": "sk_live_Q7f2kLm9",
              "mode": "live",
              "scopes": ["catalog:read", "customers:identify", "transactions:write"],
              "branch_id": "0193a1c2-8f01-7b22-8c3d-1a2b3c4d5e6f"
            }

branch_id is null for a key that works at any branch. currency is the business's currency for every amount.

Branches

GET /branches

Scope catalog:read. The business's open branches, by name. A branch key sees only its own.

json
[
              {"id": "0193a1c2-8f01-7b22-8c3d-1a2b3c4d5e6f", "name": "Harbor Coffee · Pier 7", "vat_percent": 0},
              {"id": "0193a1c2-9a12-7c33-9d4e-2b3c4d5e6f70", "name": "Harbor Coffee · Old Town", "vat_percent": 12}
            ]

Map each branch to your store or till once, and send its id as branch_id when you identify customers.

Card programs

GET /programs

Scope catalog:read. The business's card programs that are running or paused.

json
[
              {"id": "0193f0a1-b2c3-7d4e-8f50-6172839a4b5c", "name": "Harbor Coffee Rewards", "mechanics": ["points"], "status": "active"},
              {"id": "0193f0a1-c3d4-7e5f-9061-728394a5b6c7", "name": "Coffee Stamp Card", "mechanics": ["punches"], "status": "paused"}
            ]

mechanics is any of points, punches (stamps), cashback, membership. The rules themselves (how much each purchase earns) stay in Likom Business; use preview to show what a bill would earn.

Still need help? Troubleshooting · [email protected]