All documentation

Business API

The Likom Business Business API lets a business's own system (a POS, a website, a self-order kiosk or a back office) do what staff do at the Counter in Likom Business: find the customer's Likom card, record the purchase so the customer earns, and hand over rewards.

It is a plain HTTPS + JSON API. Every call is made from your server or POS, with an API key the business creates in Likom Business.

Base URLhttps://api.likom.co/v1/partner
FormatJSON over HTTPS (TLS 1.2+)
AuthAuthorization: Bearer sk_live_…
Versionv1, live since November 16, 2026
CostFree during early access

What you can do

  • Identify the customer by scanning the QR they show in Likom, or look them up by their exact @username when they allow it.
  • Preview what a bill would earn, then record the purchase. Likom Business works out the points, stamps or cashback from the business's own rules. Your system never sends points.
  • Hand over rewards and deals the customer has unlocked.
  • Undo a purchase or a reward, with the same rules as the Counter.
  • List transactions to match them against your own sales every night.
  • Read the business's branches and card programs.

What isn't in the API yet

Gift cards and vouchers, event tickets, spending cashback and collecting membership fees stay at the Counter in Likom Business for now. Webhooks and test keys are coming; see the changelog.

How a purchase flows

  1. The customer opens Likom and shows a QR. Your POS scans it and calls POST /customers/identify.
  2. Likom Business answers with the customer's card and a short-lived scan ticket.
  3. At payment, your POS calls POST /transactions with the ticket, the bill and your receipt number.
  4. Likom Business applies the program's rules, updates the card and answers with what was earned. The customer sees it in Likom straight away.

Quickstart

1. Create a key. In Likom Business, an owner or co-owner opens Business & Branches → API keys → Create API key, picks what the key may do, and copies the key. It is shown only once.

2. Check the key works.

bash
curl https://api.likom.co/v1/partner/me \
              -H "Authorization: Bearer $LIKOM_API_KEY"
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", "redemptions:write", "transactions:read", "transactions:write"],
              "branch_id": "0193a1c2-8f01-7b22-8c3d-1a2b3c4d5e6f"
            }

3. Scan the customer's QR. Send exactly what the scanner read.

bash
curl https://api.likom.co/v1/partner/customers/identify \
              -H "Authorization: Bearer $LIKOM_API_KEY" \
              -H "Content-Type: application/json" \
              -d '{"code": "<what the scanner read>"}'

The answer has kind: "card" and card.ticket.

4. Record the purchase.

bash
curl https://api.likom.co/v1/partner/transactions \
              -H "Authorization: Bearer $LIKOM_API_KEY" \
              -H "Content-Type: application/json" \
              -H "Idempotency-Key: order-10482" \
              -d '{"ticket": "<card.ticket>", "amount": "24.50", "receipt_ref": "OR-10482"}'

The answer's earned says what the customer got, for example "points": "24".

Next

Still need help? Troubleshooting · [email protected]