On the Developers screen you issue a key for each app that connects to your account, so it can read sales, stock and the catalogue, send orders to the till, or receive a signed webhook on each event. The full documentation is public on the developers page. There is no ready Zapier or Make app yet, but a developer can connect them with webhooks.
Before you start
- A plan that includes the API. See the pricing page.
- An owner or a manager.
- A developer, or an app that supports this kind of link.
- 1
- 2
-
3
Copy the token
The token is shown once only. Copy it and press I have saved it. If it is lost, press New token, and the old one stops at once. -
4
Test the connection
Send a request to the check address. The answer gives your account name and the client's abilities.bashcurl -H "Authorization: Bearer bmc_YOUR_TOKEN" \ -H "Accept-Language: ar" \ https://cashier.basmtak.com/api/partner/v1/ping - 5
-
6
Check the signature
Every delivery is signed in theX-Basmtak-Signatureheader. Compute the signature with your secret, and refuse a delivery that does not match or is more than 5 minutes old.textcanonical = timestamp + "\n" + "POST" + "\n" + path + "\n" + sha256_hex(body) X-Basmtak-Signature: sha256=<hex HMAC-SHA256(YOUR_WEBHOOK_SECRET, canonical)> X-Basmtak-Timestamp: <unix seconds> -
7
Follow the log
The Delivery log tab shows each delivery and its result. Delivery is tried up to 10 times with growing delays, and 20 failures in a row switch the webhook off. You can press Retry by hand.
What moves between the systems
| What | Direction | Details |
|---|---|---|
| Sales, stock and catalogue | To Cashier | Read with the <code>pos:read</code> ability. |
| Items | From Cashier | Create and edit with the <code>pos:write</code> ability. |
| Orders | From Cashier | They reach <b>Incoming orders</b> with the <code>pos:orders</code> ability. |
| Events | To Cashier | Receipt, credit note, shift closed, low stock, order status change, new customer. |
FAQs
How many requests a minute?
120 requests a minute for each API client.
Is there a ready Zapier or Make app?
Not yet. A developer can connect them with the token and webhooks.
How do I stop an app at once?
Press Revoke on its client, and its token and webhooks stop. This works even if your plan has ended.


