NewWebsite orders chime at the till

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" }
}
  • id is the event id: the same event always has the same id, so you can skip one you already have.
  • occurredAt is the real moment it happened (a sale rung while the till was offline keeps its own time); createdAt is 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) and x-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

EventWhen it is sent
sale.completedAfter 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.refundedAfter 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.unmatchedA card payment was confirmed but never became a sale.
card.disputeA customer's bank opens or closes a dispute on a card payment. (US and Canada)
refund.outside_posA card payment was refunded from the card processor's own dashboard. (US and Canada)

Shifts

EventWhen it is sent
shift.openedA cashier counts the float and starts a shift.
shift.closedA shift is closed: expected cash, counted cash and the difference.

Reports

EventWhen it is sent
day.closedOnce 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

EventWhen it is sent
stock.lowAn item's stock falls to its low-stock level.

Incidents

EventWhen it is sent
incident.createdA cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer).

Team

EventWhen it is sent
staff.clocked_inSomeone starts their time on the time clock.
staff.clocked_outSomeone ends their time on the time clock.

Members

EventWhen it is sent
member.checked_inA gym member checks in at the front desk. (business types that have it)
member.joined_onlineSomeone buys a membership on the gym's website. (business types that have it)
membership.payment_failedA membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada)

Online orders

EventWhen it is sent
online_order.createdA customer places an order on the business's website or QR menu. (business types that have it)

Leads

EventWhen it is sent
lead.createdSomeone sends a message through the business's website.

Reservations

EventWhen it is sent
reservation.createdA customer books a table on the business's website. (business types that have it)
reservation.updatedA 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

EventWhen it is sent
integration.quickbooks_stoppedA 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" }
}
  • id is the event id: the same event always has the same id, so you can skip one you already have.
  • occurredAt is the real moment it happened (a sale rung while the till was offline keeps its own time); createdAt is 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) and x-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

EventWhen it is sent
sale.completedAfter 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.refundedAfter 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.unmatchedA card or mobile-money payment was confirmed but never became a sale.
card.disputeA customer's bank opens or closes a dispute on a card payment. (US and Canada)
refund.outside_posA card payment was refunded from the card processor's own dashboard. (US and Canada)

Shifts

EventWhen it is sent
shift.openedA cashier counts the float and starts a shift.
shift.closedA shift is closed: expected cash, counted cash and the difference.

Reports

EventWhen it is sent
day.closedOnce 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

EventWhen it is sent
stock.lowAn item's stock falls to its low-stock level.

Incidents

EventWhen it is sent
incident.createdA cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer).

Team

EventWhen it is sent
staff.clocked_inSomeone starts their time on the time clock.
staff.clocked_outSomeone ends their time on the time clock.

Members

EventWhen it is sent
member.checked_inA gym member checks in at the front desk. (business types that have it)
member.joined_onlineSomeone buys a membership on the gym's website. (business types that have it)
membership.payment_failedA membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada)

Online orders

EventWhen it is sent
online_order.createdA customer places an order on the business's website or QR menu. (business types that have it)

Leads

EventWhen it is sent
lead.createdSomeone sends a message through the business's website.

Reservations

EventWhen it is sent
reservation.createdA customer books a table on the business's website. (business types that have it)
reservation.updatedA 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

EventWhen it is sent
integration.quickbooks_stoppedA 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" }
}
  • id is the event id: the same event always has the same id, so you can skip one you already have.
  • occurredAt is the real moment it happened (a sale rung while the till was offline keeps its own time); createdAt is 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) and x-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

EventWhen it is sent
sale.completedAfter 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.refundedAfter 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.unmatchedA card or mobile-money payment was confirmed but never became a sale.
card.disputeA customer's bank opens or closes a dispute on a card payment. (US and Canada)
refund.outside_posA card payment was refunded from the card processor's own dashboard. (US and Canada)

Shifts

EventWhen it is sent
shift.openedA cashier counts the float and starts a shift.
shift.closedA shift is closed: expected cash, counted cash and the difference.

Reports

EventWhen it is sent
day.closedOnce 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

EventWhen it is sent
stock.lowAn item's stock falls to its low-stock level.

Incidents

EventWhen it is sent
incident.createdA cash shortage, theft, dispute, safety or equipment incident is filed (by staff, or automatically for a short drawer).

Team

EventWhen it is sent
staff.clocked_inSomeone starts their time on the time clock.
staff.clocked_outSomeone ends their time on the time clock.

Members

EventWhen it is sent
member.checked_inA gym member checks in at the front desk. (business types that have it)
member.joined_onlineSomeone buys a membership on the gym's website. (business types that have it)
membership.payment_failedA membership renewal charge is declined (and when it finally fails after the retries). (business types that have it) (US and Canada)

Online orders

EventWhen it is sent
online_order.createdA customer places an order on the business's website or QR menu. (business types that have it)

Leads

EventWhen it is sent
lead.createdSomeone sends a message through the business's website.

Reservations

EventWhen it is sent
reservation.createdA customer books a table on the business's website. (business types that have it)
reservation.updatedA 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

EventWhen it is sent
integration.quickbooks_stoppedA 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.