Webhooks, API and accounting export.
Connect OrderGURU to your till, your accounts or your own software. Every plan includes it.
Getting started
Sign in, open Settings, then Integrations. From there you can add a webhook address, make an API key and download your accounting export. Amounts are always in pence and times are in UTC.
Webhooks
We send a POST with a JSON body to your https address when an order is paid (order.paid) and when its status changes (order.status_changed). Test orders are never sent. Answer with any 2xx code within 5 seconds. If you do not, we try again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, then give up. Every attempt is shown in your settings.
{
"id": "evt_1a2b3c4d5e6f7a8b",
"event": "order.paid",
"created_at": "2026-11-22T12:30:00+00:00",
"data": {
"id": 1042, "number": "A7K2", "status": "paid", "type": "pickup",
"location": "High Street", "created_at": "2026-11-22T12:29:41+00:00",
"customer": { "name": "Alex", "email": "alex@example.com", "phone": null },
"items": [ { "name": "Classic Margherita", "quantity": 1, "unit_price_pence": 1200, "note": null, "options": [] } ],
"totals": { "items_subtotal_pence": 1200, "discount_pence": 0, "delivery_fee_pence": 0,
"tip_pence": 0, "donation_pence": 0, "total_pence": 1200,
"paid_by_gift_card_pence": 0, "refunded_pence": 0 }
}
}
Check it came from us
Each message has an X-OrderGURU-Timestamp header and an X-OrderGURU-Signature header. Work out the HMAC SHA256 of the timestamp, a full stop, and the raw body, using your signing secret, and compare it with the signature (it starts with sha256=). Reject messages with an old timestamp. Messages can arrive more than once, so use the event id to ignore repeats.
$expected = 'sha256=' . hash_hmac('sha256', $timestamp . '.' . $rawBody, $secret);
$ok = hash_equals($expected, $signatureHeader);
Read only API
Make a key in Settings, then send it with every request as a Bearer token. Keys only read, they cannot change anything. You can make as many as you like and revoke one at any time. Each key can make 120 requests a minute.
curl https://orderguru.net/api/v1/orders?since=2026-11-01T00:00:00Z \ -H "Authorization: Bearer ogk_your_key_here"
GET /api/v1/orderslists orders, oldest first. Filters:since,status,limit(up to 200) andafter_id. Usenext_after_idfrom the answer to fetch the next page.GET /api/v1/orders/{id}gives one order.GET /api/v1/menulists your menu items, prices and whether each is available.
Accounting export
Download a daily summary of sales, tax, tips, refunds and fees as a spreadsheet, or as sales invoices ready to import into Xero. Pick the dates, download, and send it to your accountant.
Need something built?
If you want a connection built and looked after for you, tell us what you need and we will quote.
Ready to take your first order?
Set up your menu in an afternoon. No setup fee, no contract, and nothing to pay until you sell.