Webhooks and signatures
Every event, what we send, how to check the signature (Node, Python, PHP), retries, the delivery log, replay and secret rotation.
A webhook is an address on your side (a Zapier or Make hook, an n8n flow, your own server) that we send a message to the moment something happens. Add one in Settings → API & integrations → Add webhook, pick the events, and copy the signing secret (shown once).
What we send
Every delivery is a POST with a JSON body:
{
"id": "3b0c2f4e-…",
"event": "sale.completed",
"apiVersion": "2026-10-11",
"createdAt": "2026-10-11T09:30:02.000Z",
"occurredAt": "2026-10-11T09:30:00.000Z",
"business": { "id": "…", "name": "Your business" },
"data": { "saleId": "7c1d…", "total": "24.50", "currency": "USD", "source": "counter" }
}
idis the event id: the same event always has the same id, so you can skip one you already have.occurredAtis the real moment it happened (a sale rung while the till was offline keeps its own time);createdAtis when we built the message.
And these headers:
x-intellipos-event(the event name),x-intellipos-event-id,x-intellipos-delivery(this delivery),x-intellipos-attempt(1 for the first try)x-intellipos-timestamp(seconds) andx-intellipos-signature(see below)
Answer with any 2xx within 5 seconds. Do the slow work after you answer. Anything else (an error, a timeout, a redirect) counts as a failure.
Every event
Sales
| Event | When it is sent |
|---|---|
sale.completed | After the sale is saved. source says where: counter (the till), table (a table settled), membership (charged at the front desk), membership_online (bought on the website), membership_autopay (a renewal charged automatically). |
sale.refunded | After a full or partial refund is saved. amount is the money given back (cash, card, gift card, or store credit when chosen); givenBack is everything the refund gave back, including what came off the customer's tab (tabReduced) and the store credit the sale used, given back (creditRestored); tabToCredit is always 0.00 for now (reserved). The four fields are new (November 2026): a delivery made by the previous version, up to about 12 hours after an update, carries amount only. |
payment.unmatched | A card payment was confirmed but never became a sale. |
card.dispute | A customer's bank opens or closes a dispute on a card payment. (US and Canada) |
refund.outside_pos | A card payment was refunded from the card processor's own dashboard. (US and Canada) |
Shifts
| Event | When it is sent |
|---|---|
shift.opened | A cashier counts the float and starts a shift. |
shift.closed | A shift is closed: expected cash, counted cash and the difference. |
Reports
| Event | When it is sent |
|---|---|
day.closed | Once a trading day has ended: the day's sales summary, how it was paid, and a balanced journal you can post to your accounting system. |
Stock
| Event | When it is sent |
|---|---|
stock.low | An item's stock falls to its low-stock level. |
Incidents
| Event | When it is sent |
|---|---|
incident.created | A cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer). |
Team
| Event | When it is sent |
|---|---|
staff.clocked_in | Someone starts their time on the time clock. |
staff.clocked_out | Someone ends their time on the time clock. |
Members
| Event | When it is sent |
|---|---|
member.checked_in | A gym member checks in at the front desk. (business types that have it) |
member.joined_online | Someone buys a membership on the gym's website. (business types that have it) |
membership.payment_failed | A membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada) |
Online orders
| Event | When it is sent |
|---|---|
online_order.created | A customer places an order on the business's website or QR menu. (business types that have it) |
Leads
| Event | When it is sent |
|---|---|
lead.created | Someone sends a message through the business's website. |
Reservations
| Event | When it is sent |
|---|---|
reservation.created | A customer books a table on the business's website. (business types that have it) |
reservation.updated | A table booking's status changes (arrived, seated, no-show or cancelled, or a step undone). by says who: staff (the back office) or guest (their own cancel link). (business types that have it) |
Connections
| Event | When it is sent |
|---|---|
integration.quickbooks_stopped | A business connected directly to QuickBooks from its tax page needs to connect again. Offered only once that direct connection is available; the QuickBooks file download never sends it. |
The day, closed
day.closed arrives about an hour after each business day closes (on the business's own clock), so a till that was briefly offline has synced. It carries the same numbers as Reports for that day, how it was paid, and a balanced journal (debits equal credits, in the account names you chose for QuickBooks in Settings → Tax) ready to post to any accounting system. Missed one? GET /reports/day?date=… returns the same thing for any day.
{
"tradingDay": "2026-10-10",
"currency": "USD",
"summary": {
"gross": "1840.00",
"net": "1812.00",
"refunds": "28.00",
"discounts": "12.00",
"promotions": "6.50",
"tax": "131.20",
"tips": "96.00",
"serviceCharge": "0.00",
"sales": 87,
"refundedSales": 1,
"averageTicket": "21.15"
},
"payments": [
{
"method": "card",
"label": "Card",
"amount": "1338.00",
"sales": 61
},
{
"method": "cash",
"label": "Cash",
"amount": "502.00",
"sales": 26
}
],
"journal": {
"balanced": true,
"totalDebit": "1858.50",
"totalCredit": "1858.50",
"lines": [
{
"account": "Card payments clearing (IntelliPOS)",
"accountKey": "card",
"debit": "1338.00",
"credit": "0.00",
"memo": "Card"
},
{
"account": "Sales (IntelliPOS)",
"accountKey": "sales",
"debit": "0.00",
"credit": "1631.30",
"memo": ""
}
]
}
}
Check the signature (do this)
The signature proves a delivery came from IntelliPOS and was not changed. It is v1= followed by the HMAC-SHA256 of <timestamp>.<raw body> with your signing secret, in hex. While you rotate a secret, two v1= values arrive separated by a comma: accept the delivery if either matches. Refuse anything older than 5 minutes.
Node.js
import crypto from "node:crypto";
// rawBody: the request body exactly as it arrived (a string, before JSON.parse)
export function verifyIntelliPOS(rawBody, headers, secret) {
const ts = headers["x-intellipos-timestamp"];
const header = headers["x-intellipos-signature"] || "";
if (!ts || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const expected = "v1=" + crypto.createHmac("sha256", secret).update(ts + "." + rawBody).digest("hex");
return header.split(",").some((sig) => {
const a = Buffer.from(sig.trim());
const b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
});
}
Python
import hashlib, hmac, time
def verify_intellipos(raw_body: bytes, headers, secret: str) -> bool:
ts = headers.get("x-intellipos-timestamp", "")
header = headers.get("x-intellipos-signature", "")
if not ts or abs(time.time() - int(ts)) > 300:
return False
expected = "v1=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return any(hmac.compare_digest(sig.strip(), expected) for sig in header.split(","))
PHP
function verify_intellipos(string $rawBody, string $ts, string $header, string $secret): bool {
if ($ts === '' || abs(time() - (int) $ts) > 300) return false;
$expected = 'v1=' . hash_hmac('sha256', $ts . '.' . $rawBody, $secret);
foreach (explode(',', $header) as $sig) {
if (hash_equals($expected, trim($sig))) return true;
}
return false;
}
// $ts = $_SERVER['HTTP_X_INTELLIPOS_TIMESTAMP'] ?? ''; $header = $_SERVER['HTTP_X_INTELLIPOS_SIGNATURE'] ?? '';
// $rawBody = file_get_contents('php://input');
Retries, the log and replay
- A failed delivery is tried again after 1 min, 5 min, 30 min, 2 h, 6 h, 1 day: 7 tries in all, then it stops and shows as failed.
- An event reaches an address once. If we ever send it again (a replay), it has the same
id, so your side can skip what it already has. Store the ids you have processed. - Every delivery is kept for 30 days in Settings → API & integrations → Recent deliveries: what we sent, how your address answered, when the next try is. Replay sends the very same event again, now.
- Send a test sends a sample of any event (marked
"test": true) so you can build and check your receiver before real events arrive. - Rotate signing secret makes a new secret. For 24 hours both secrets sign every delivery, so you can update your receiver without missing anything.
- If your address keeps failing we keep trying on the schedule above. We never switch your webhook off by ourselves; you can, and so can our support if it is hammering a dead address (we tell you by email).
See also: Recipes · Every endpoint.
A webhook is an address on your side (a Zapier or Make hook, an n8n flow, your own server) that we send a message to the moment something happens. Add one in Settings → API & integrations → Add webhook, pick the events, and copy the signing secret (shown once).
What we send
Every delivery is a POST with a JSON body:
{
"id": "3b0c2f4e-…",
"event": "sale.completed",
"apiVersion": "2026-10-11",
"createdAt": "2026-10-11T09:30:02.000Z",
"occurredAt": "2026-10-11T09:30:00.000Z",
"business": { "id": "…", "name": "Your business" },
"data": { "saleId": "7c1d…", "total": "24.50", "currency": "USD", "source": "counter" }
}
idis the event id: the same event always has the same id, so you can skip one you already have.occurredAtis the real moment it happened (a sale rung while the till was offline keeps its own time);createdAtis when we built the message.
And these headers:
x-intellipos-event(the event name),x-intellipos-event-id,x-intellipos-delivery(this delivery),x-intellipos-attempt(1 for the first try)x-intellipos-timestamp(seconds) andx-intellipos-signature(see below)
Answer with any 2xx within 5 seconds. Do the slow work after you answer. Anything else (an error, a timeout, a redirect) counts as a failure.
Every event
Sales
| Event | When it is sent |
|---|---|
sale.completed | After the sale is saved. source says where: counter (the till), table (a table settled), membership (charged at the front desk), membership_online (bought on the website), membership_autopay (a renewal charged automatically). |
sale.refunded | After a full or partial refund is saved. amount is the money given back (cash, card, gift card, or store credit when chosen); givenBack is everything the refund gave back, including what came off the customer's tab (tabReduced) and the store credit the sale used, given back (creditRestored); tabToCredit is always 0.00 for now (reserved). The four fields are new (November 2026): a delivery made by the previous version, up to about 12 hours after an update, carries amount only. |
payment.unmatched | A card or mobile-money payment was confirmed but never became a sale. |
card.dispute | A customer's bank opens or closes a dispute on a card payment. (US and Canada) |
refund.outside_pos | A card payment was refunded from the card processor's own dashboard. (US and Canada) |
Shifts
| Event | When it is sent |
|---|---|
shift.opened | A cashier counts the float and starts a shift. |
shift.closed | A shift is closed: expected cash, counted cash and the difference. |
Reports
| Event | When it is sent |
|---|---|
day.closed | Once a trading day has ended: the day's sales summary, how it was paid, and a balanced journal you can post to your accounting system. |
Stock
| Event | When it is sent |
|---|---|
stock.low | An item's stock falls to its low-stock level. |
Incidents
| Event | When it is sent |
|---|---|
incident.created | A cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer). |
Team
| Event | When it is sent |
|---|---|
staff.clocked_in | Someone starts their time on the time clock. |
staff.clocked_out | Someone ends their time on the time clock. |
Members
| Event | When it is sent |
|---|---|
member.checked_in | A gym member checks in at the front desk. (business types that have it) |
member.joined_online | Someone buys a membership on the gym's website. (business types that have it) |
membership.payment_failed | A membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada) |
Online orders
| Event | When it is sent |
|---|---|
online_order.created | A customer places an order on the business's website or QR menu. (business types that have it) |
Leads
| Event | When it is sent |
|---|---|
lead.created | Someone sends a message through the business's website. |
Reservations
| Event | When it is sent |
|---|---|
reservation.created | A customer books a table on the business's website. (business types that have it) |
reservation.updated | A table booking's status changes (arrived, seated, no-show or cancelled, or a step undone). by says who: staff (the back office) or guest (their own cancel link). (business types that have it) |
Connections
| Event | When it is sent |
|---|---|
integration.quickbooks_stopped | A business connected directly to QuickBooks from its tax page needs to connect again. Offered only once that direct connection is available; the QuickBooks file download never sends it. |
The day, closed
day.closed arrives about an hour after each business day closes (on the business's own clock), so a till that was briefly offline has synced. It carries the same numbers as Reports for that day, how it was paid, and a balanced journal (debits equal credits, in the account names you chose for QuickBooks in Settings → Tax) ready to post to any accounting system. Missed one? GET /reports/day?date=… returns the same thing for any day.
{
"tradingDay": "2026-10-10",
"currency": "USD",
"summary": {
"gross": "1840.00",
"net": "1812.00",
"refunds": "28.00",
"discounts": "12.00",
"promotions": "6.50",
"tax": "131.20",
"tips": "96.00",
"serviceCharge": "0.00",
"sales": 87,
"refundedSales": 1,
"averageTicket": "21.15"
},
"payments": [
{
"method": "card",
"label": "Card",
"amount": "1338.00",
"sales": 61
},
{
"method": "cash",
"label": "Cash",
"amount": "502.00",
"sales": 26
}
],
"journal": {
"balanced": true,
"totalDebit": "1858.50",
"totalCredit": "1858.50",
"lines": [
{
"account": "Card payments clearing (IntelliPOS)",
"accountKey": "card",
"debit": "1338.00",
"credit": "0.00",
"memo": "Card"
},
{
"account": "Sales (IntelliPOS)",
"accountKey": "sales",
"debit": "0.00",
"credit": "1631.30",
"memo": ""
}
]
}
}
Check the signature (do this)
The signature proves a delivery came from IntelliPOS and was not changed. It is v1= followed by the HMAC-SHA256 of <timestamp>.<raw body> with your signing secret, in hex. While you rotate a secret, two v1= values arrive separated by a comma: accept the delivery if either matches. Refuse anything older than 5 minutes.
Node.js
import crypto from "node:crypto";
// rawBody: the request body exactly as it arrived (a string, before JSON.parse)
export function verifyIntelliPOS(rawBody, headers, secret) {
const ts = headers["x-intellipos-timestamp"];
const header = headers["x-intellipos-signature"] || "";
if (!ts || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const expected = "v1=" + crypto.createHmac("sha256", secret).update(ts + "." + rawBody).digest("hex");
return header.split(",").some((sig) => {
const a = Buffer.from(sig.trim());
const b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
});
}
Python
import hashlib, hmac, time
def verify_intellipos(raw_body: bytes, headers, secret: str) -> bool:
ts = headers.get("x-intellipos-timestamp", "")
header = headers.get("x-intellipos-signature", "")
if not ts or abs(time.time() - int(ts)) > 300:
return False
expected = "v1=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return any(hmac.compare_digest(sig.strip(), expected) for sig in header.split(","))
PHP
function verify_intellipos(string $rawBody, string $ts, string $header, string $secret): bool {
if ($ts === '' || abs(time() - (int) $ts) > 300) return false;
$expected = 'v1=' . hash_hmac('sha256', $ts . '.' . $rawBody, $secret);
foreach (explode(',', $header) as $sig) {
if (hash_equals($expected, trim($sig))) return true;
}
return false;
}
// $ts = $_SERVER['HTTP_X_INTELLIPOS_TIMESTAMP'] ?? ''; $header = $_SERVER['HTTP_X_INTELLIPOS_SIGNATURE'] ?? '';
// $rawBody = file_get_contents('php://input');
Retries, the log and replay
- A failed delivery is tried again after 1 min, 5 min, 30 min, 2 h, 6 h, 1 day: 7 tries in all, then it stops and shows as failed.
- An event reaches an address once. If we ever send it again (a replay), it has the same
id, so your side can skip what it already has. Store the ids you have processed. - Every delivery is kept for 30 days in Settings → API & integrations → Recent deliveries: what we sent, how your address answered, when the next try is. Replay sends the very same event again, now.
- Send a test sends a sample of any event (marked
"test": true) so you can build and check your receiver before real events arrive. - Rotate signing secret makes a new secret. For 24 hours both secrets sign every delivery, so you can update your receiver without missing anything.
- If your address keeps failing we keep trying on the schedule above. We never switch your webhook off by ourselves; you can, and so can our support if it is hammering a dead address (we tell you by email).
See also: Recipes · Every endpoint.
A webhook is an address on your side (a Zapier or Make hook, an n8n flow, your own server) that we send a message to the moment something happens. Add one in Settings → API & integrations → Add webhook, pick the events, and copy the signing secret (shown once).
What we send
Every delivery is a POST with a JSON body:
{
"id": "3b0c2f4e-…",
"event": "sale.completed",
"apiVersion": "2026-10-11",
"createdAt": "2026-10-11T09:30:02.000Z",
"occurredAt": "2026-10-11T09:30:00.000Z",
"business": { "id": "…", "name": "Your business" },
"data": { "saleId": "7c1d…", "total": "24.50", "currency": "USD", "source": "counter" }
}
idis the event id: the same event always has the same id, so you can skip one you already have.occurredAtis the real moment it happened (a sale rung while the till was offline keeps its own time);createdAtis when we built the message.
And these headers:
x-intellipos-event(the event name),x-intellipos-event-id,x-intellipos-delivery(this delivery),x-intellipos-attempt(1 for the first try)x-intellipos-timestamp(seconds) andx-intellipos-signature(see below)
Answer with any 2xx within 5 seconds. Do the slow work after you answer. Anything else (an error, a timeout, a redirect) counts as a failure.
Every event
Sales
| Event | When it is sent |
|---|---|
sale.completed | After the sale is saved. source says where: counter (the till), table (a table settled), membership (charged at the front desk), membership_online (bought on the website), membership_autopay (a renewal charged automatically). |
sale.refunded | After a full or partial refund is saved. amount is the money given back (cash, card, gift card, or store credit when chosen); givenBack is everything the refund gave back, including what came off the customer's tab (tabReduced) and the store credit the sale used, given back (creditRestored); tabToCredit is always 0.00 for now (reserved). The four fields are new (November 2026): a delivery made by the previous version, up to about 12 hours after an update, carries amount only. |
payment.unmatched | A card or mobile-money payment was confirmed but never became a sale. |
card.dispute | A customer's bank opens or closes a dispute on a card payment. (US and Canada) |
refund.outside_pos | A card payment was refunded from the card processor's own dashboard. (US and Canada) |
Shifts
| Event | When it is sent |
|---|---|
shift.opened | A cashier counts the float and starts a shift. |
shift.closed | A shift is closed: expected cash, counted cash and the difference. |
Reports
| Event | When it is sent |
|---|---|
day.closed | Once a trading day has ended: the day's sales summary, how it was paid, and a balanced journal you can post to your accounting system. |
Stock
| Event | When it is sent |
|---|---|
stock.low | An item's stock falls to its low-stock level. |
Incidents
| Event | When it is sent |
|---|---|
incident.created | A cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer). |
Team
| Event | When it is sent |
|---|---|
staff.clocked_in | Someone starts their time on the time clock. |
staff.clocked_out | Someone ends their time on the time clock. |
Members
| Event | When it is sent |
|---|---|
member.checked_in | A gym member checks in at the front desk. (business types that have it) |
member.joined_online | Someone buys a membership on the gym's website. (business types that have it) |
membership.payment_failed | A membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada) |
Online orders
| Event | When it is sent |
|---|---|
online_order.created | A customer places an order on the business's website or QR menu. (business types that have it) |
Leads
| Event | When it is sent |
|---|---|
lead.created | Someone sends a message through the business's website. |
Reservations
| Event | When it is sent |
|---|---|
reservation.created | A customer books a table on the business's website. (business types that have it) |
reservation.updated | A table booking's status changes (arrived, seated, no-show or cancelled, or a step undone). by says who: staff (the back office) or guest (their own cancel link). (business types that have it) |
Connections
| Event | When it is sent |
|---|---|
integration.quickbooks_stopped | A business connected directly to QuickBooks from its tax page needs to connect again. Offered only once that direct connection is available; the QuickBooks file download never sends it. |
The day, closed
day.closed arrives about an hour after each business day closes (on the business's own clock), so a till that was briefly offline has synced. It carries the same numbers as Reports for that day, how it was paid, and a balanced journal (debits equal credits, in the account names you chose for QuickBooks in Settings → Tax) ready to post to any accounting system. Missed one? GET /reports/day?date=… returns the same thing for any day.
{
"tradingDay": "2026-10-10",
"currency": "USD",
"summary": {
"gross": "1840.00",
"net": "1812.00",
"refunds": "28.00",
"discounts": "12.00",
"promotions": "6.50",
"tax": "131.20",
"tips": "96.00",
"serviceCharge": "0.00",
"sales": 87,
"refundedSales": 1,
"averageTicket": "21.15"
},
"payments": [
{
"method": "card",
"label": "Card",
"amount": "1338.00",
"sales": 61
},
{
"method": "cash",
"label": "Cash",
"amount": "502.00",
"sales": 26
}
],
"journal": {
"balanced": true,
"totalDebit": "1858.50",
"totalCredit": "1858.50",
"lines": [
{
"account": "Card payments clearing (IntelliPOS)",
"accountKey": "card",
"debit": "1338.00",
"credit": "0.00",
"memo": "Card"
},
{
"account": "Sales (IntelliPOS)",
"accountKey": "sales",
"debit": "0.00",
"credit": "1631.30",
"memo": ""
}
]
}
}
Check the signature (do this)
The signature proves a delivery came from IntelliPOS and was not changed. It is v1= followed by the HMAC-SHA256 of <timestamp>.<raw body> with your signing secret, in hex. While you rotate a secret, two v1= values arrive separated by a comma: accept the delivery if either matches. Refuse anything older than 5 minutes.
Node.js
import crypto from "node:crypto";
// rawBody: the request body exactly as it arrived (a string, before JSON.parse)
export function verifyIntelliPOS(rawBody, headers, secret) {
const ts = headers["x-intellipos-timestamp"];
const header = headers["x-intellipos-signature"] || "";
if (!ts || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const expected = "v1=" + crypto.createHmac("sha256", secret).update(ts + "." + rawBody).digest("hex");
return header.split(",").some((sig) => {
const a = Buffer.from(sig.trim());
const b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
});
}
Python
import hashlib, hmac, time
def verify_intellipos(raw_body: bytes, headers, secret: str) -> bool:
ts = headers.get("x-intellipos-timestamp", "")
header = headers.get("x-intellipos-signature", "")
if not ts or abs(time.time() - int(ts)) > 300:
return False
expected = "v1=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return any(hmac.compare_digest(sig.strip(), expected) for sig in header.split(","))
PHP
function verify_intellipos(string $rawBody, string $ts, string $header, string $secret): bool {
if ($ts === '' || abs(time() - (int) $ts) > 300) return false;
$expected = 'v1=' . hash_hmac('sha256', $ts . '.' . $rawBody, $secret);
foreach (explode(',', $header) as $sig) {
if (hash_equals($expected, trim($sig))) return true;
}
return false;
}
// $ts = $_SERVER['HTTP_X_INTELLIPOS_TIMESTAMP'] ?? ''; $header = $_SERVER['HTTP_X_INTELLIPOS_SIGNATURE'] ?? '';
// $rawBody = file_get_contents('php://input');
Retries, the log and replay
- A failed delivery is tried again after 1 min, 5 min, 30 min, 2 h, 6 h, 1 day: 7 tries in all, then it stops and shows as failed.
- An event reaches an address once. If we ever send it again (a replay), it has the same
id, so your side can skip what it already has. Store the ids you have processed. - Every delivery is kept for 30 days in Settings → API & integrations → Recent deliveries: what we sent, how your address answered, when the next try is. Replay sends the very same event again, now.
- Send a test sends a sample of any event (marked
"test": true) so you can build and check your receiver before real events arrive. - Rotate signing secret makes a new secret. For 24 hours both secrets sign every delivery, so you can update your receiver without missing anything.
- If your address keeps failing we keep trying on the schedule above. We never switch your webhook off by ourselves; you can, and so can our support if it is hammering a dead address (we tell you by email).
See also: Recipes · Every endpoint.