API Reference
Tabs
Dine-in tabs: open on a table, add rounds, void or comp a line, move, settle.
/api/v1/console/pos/tabs JWT API KeyThe branch's open tabs with their running totals
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs" \
-H "X-Api-Key: <YOUR_API_KEY>"Headers
/api/v1/console/pos/tabs JWT API KeyOpen a tab on a table or a bar seat
Idempotent on `clientOpId`.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Request body
{
"clientOpId": "string",
"tabId": "00000000-0000-0000-0000-000000000000",
"channelId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"seatLabel": "string",
"waiterId": "00000000-0000-0000-0000-000000000000",
"guestCount": 0,
"guestId": "00000000-0000-0000-0000-000000000000",
"note": "string",
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"deviceId": "string",
"clientSeq": 0
}| clientOpId string | The client's operation id — a double tap or a retry opens ONE tab. |
| tabId string (uuid) | The tab's id, minted on the device as a UUIDv7 (ADR-011) — how an offline till fires rounds at, and settles, a tab the server has not seen yet: every later op names this id. Blank mints one here. An id already naming another of the branch's tabs is refused, never re-used. |
| channelId string (uuid) | A dine-in channel; blank picks the branch's dine-in channel. |
| diningTableId string (uuid) | — |
| seatLabel string | A bar seat or a free label, for a tab that holds no table. |
| waiterId string (uuid) | — |
| guestCount integer (int32) | — |
| guestId string (uuid) | The CRM guest the tab is for — they earn on its settle unless the settle names another. |
| note string | The order-level kitchen note ("allergy: nuts"). |
| customerPhone string | The customer's phone for the restaurant's own delivery — required when the tab is a cash-on-delivery order on a `delivery` channel (owner spec 2026-11-26); copied to the order. |
| deliveryArea string | The delivery area (required on a `delivery` channel). |
| deliveryAddress string | The delivery address (required on a `delivery` channel). |
| deviceId string | The till's offline identity, as its outbox stamped the op (comeback r3). Recorded on the tab as evidence that the device was online now — never read to date, guard or price anything — so the sync door can place a replayed op of the same device between the live ones it witnessed. |
| clientSeq integer (int64) | The device's sequence number for this op. See Panoptes.Application.DTOs.Requests.Pos.OpenTabRequest.DeviceId. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"clientOpId": "string",
"tabId": "00000000-0000-0000-0000-000000000000",
"channelId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"seatLabel": "string",
"waiterId": "00000000-0000-0000-0000-000000000000",
"guestCount": 0,
"guestId": "00000000-0000-0000-0000-000000000000",
"note": "string",
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"deviceId": "string",
"clientSeq": 0
}'Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id} JWT API KeyOne tab — the running check
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/pos/tabs/{id}/bill JWT API KeyGet bill
The printed bill before settle — «فاتورة مؤقتة — غير مدفوعة» / "Provisional bill — not paid". Priced by the settle's own chain; a read that books nothing.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Query parameters
| CheckDiscountIqd integer (int64) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/bill" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/tabs/{id}/bill/document JWT API KeyThe provisional bill as a print document (the bridge lays out the Arabic as raster)
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Query parameters
| CheckDiscountIqd integer (int64) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/bill/document" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/tabs/{id}/bill/escpos JWT API KeyThe provisional bill as an ESC/POS stream — the bytes fallback for an older bridge
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Query parameters
| CheckDiscountIqd integer (int64) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/bill/escpos" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/tabs/{id}/cancel JWT API KeyCancel the tab; any fired food is booked as waste on a cancelled order dated now
- Capability
cancel_order- API key scope
cap:cancel_order(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string",
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| shift string | The shift the cancellation is made in — the slice its waste is booked to. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/cancel" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/lines/{lineId}/comp JWT API KeyComp units of a line before settle — nothing was charged, so nothing is refunded
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
| lineIdrequired string (uuid) | — |
Request body
{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"fired": false,
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| reasonCode string | The coded reason (comeback r2, POS B8) — one of `ReversalReasonCodes` for this kind; optional, beside the free-text reason that stays required. |
| quantity integer (int32) | Blank takes the whole of what the line still has on the bill. |
| fired boolean | Void only: false says the kitchen had not started, so the stock comes back (void before fire). Blank or true books the fired food as waste. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/lines/{lineId}/comp" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"fired": false,
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/lines/{lineId}/void JWT API KeyVoid units of a line before settle — nothing was charged, so nothing is refunded
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
| lineIdrequired string (uuid) | — |
Request body
{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"fired": false,
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| reasonCode string | The coded reason (comeback r2, POS B8) — one of `ReversalReasonCodes` for this kind; optional, beside the free-text reason that stays required. |
| quantity integer (int32) | Blank takes the whole of what the line still has on the bill. |
| fired boolean | Void only: false says the kitchen had not started, so the stock comes back (void before fire). Blank or true books the fired food as waste. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/lines/{lineId}/void" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"fired": false,
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/merge JWT API KeyMerge another open tab into this one — floor work
- Capability
assign_table- API key scope
cap:assign_table(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
{
"sourceTabId": "00000000-0000-0000-0000-000000000000",
"keepSourceTable": false
}| sourceTabId string (uuid) | — |
| keepSourceTable boolean | Keep the merged party's table (and the tables joined to it) as tables JOINED to the target tab instead of freeing them — two parties that became one but still sit where they sat. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/merge" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"sourceTabId": "00000000-0000-0000-0000-000000000000",
"keepSourceTable": false
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/move JWT API KeyMove the tab to another free table — floor work
- Capability
assign_table- API key scope
cap:assign_table(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
{
"diningTableId": "00000000-0000-0000-0000-000000000000"
}| diningTableId string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/move" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"diningTableId": "00000000-0000-0000-0000-000000000000"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/rounds JWT API KeyFire a round to the kitchen
Idempotent on `clientOpId`.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"clientOpId": "string",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"note": "string",
"seatNumber": 0,
"courseNumber": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000"
}
],
"deviceId": "string",
"clientSeq": 0
}| clientOpId string | — |
| lines TabRoundLineRequest[] | — |
| deviceId string | The till's offline identity — see Panoptes.Application.DTOs.Requests.Pos.OpenTabRequest.DeviceId. |
| clientSeq integer (int64) | The device's sequence number for this round. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/rounds" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"clientOpId": "string",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"note": "string",
"seatNumber": 0,
"courseNumber": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000"
}
],
"deviceId": "string",
"clientSeq": 0
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/rounds/{roundId}/document JWT API KeyOne chit of a round as a print document (`?stationId=` or `?kitchen=true`)
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
| roundIdrequired string (uuid) | — |
Query parameters
| StationId string (uuid) | Print one station's chit instead of the receipt. <br>An unknown or foreign station id is `NOT_FOUND`, not an empty document: a print job is a physical act, and handing a printer zero bytes for a station that does not exist in this branch would look to the line like a chit that simply never arrived. |
| Kitchen boolean | Print the station-less catch-all chit — every line this branch's routing sends nowhere (FR-POS-053). Ignored when Panoptes.Application.DTOs.Requests.Pos.EscPosReceiptRequest.StationId names a station. |
| Drawer boolean | Append the cash-drawer kick (`ESC p 0 25 250`) after the customer receipt's cut — the drawer opens as the receipt finishes printing. Honoured only on the receipt itself and only when the sale took a cash tender: the server, not the till, decides whether there is cash to put away, so a card or on-account sale never pops the drawer. Ignored on a chit. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/rounds/{roundId}/document" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/tabs/{id}/rounds/{roundId}/escpos JWT API KeyOne chit of a round as an ESC/POS stream
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
| roundIdrequired string (uuid) | — |
Query parameters
| StationId string (uuid) | Print one station's chit instead of the receipt. <br>An unknown or foreign station id is `NOT_FOUND`, not an empty document: a print job is a physical act, and handing a printer zero bytes for a station that does not exist in this branch would look to the line like a chit that simply never arrived. |
| Kitchen boolean | Print the station-less catch-all chit — every line this branch's routing sends nowhere (FR-POS-053). Ignored when Panoptes.Application.DTOs.Requests.Pos.EscPosReceiptRequest.StationId names a station. |
| Drawer boolean | Append the cash-drawer kick (`ESC p 0 25 250`) after the customer receipt's cut — the drawer opens as the receipt finishes printing. Honoured only on the receipt itself and only when the sale took a cash tender: the server, not the till, decides whether there is cash to put away, so a card or on-account sale never pops the drawer. Ignored on a chit. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/rounds/{roundId}/escpos" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/tabs/{id}/rounds/{roundId}/kitchen-chits JWT API KeyThe kitchen chits one round fired
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
| roundIdrequired string (uuid) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/rounds/{roundId}/kitchen-chits" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/pos/tabs/{id}/settle JWT API KeySettle: the order is born now
A second settle answers with the first one's result.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"shift": "string",
"checkDiscountIqd": 0,
"discountReason": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"splitMode": "string",
"splitCount": 0,
"splits": [
{
"lineIds": [
"00000000-0000-0000-0000-000000000000"
],
"tenders": []
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"tipIqd": 0
}
],
"releaseTable": false,
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.152Z",
"clientOpId": "string",
"roundOpIds": [
"string"
]
}| shift string | The drawer the money lands in: morning | evening. |
| checkDiscountIqd integer (int64) | — |
| discountReason string | — |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
| splitMode string | — |
| splitCount integer (int32) | — |
| splits SettleSplitRequest[] | Even and items modes: one entry per part, each with its own tenders. |
| tenders TabTenderRequest[] | The tenders of a one-bill settle. |
| releaseTable boolean | Free the table now (the guests are leaving), rather than by a later release. |
| guestId string (uuid) | The CRM guest who pays — wins over the tab's own guest. A merged duplicate resolves to its survivor. |
| guestPhone string | A phone typed at the settle: a phone no live guest holds creates the guest in the settle. |
| guestName string | — |
| loyaltyRedeemPoints integer (int64) | Points to take off the bill — priced by the loyalty seam, refused (never trimmed) when too many. |
| provisionalTotalIqd integer (int64) | Replay only (the sync door): the total the offline device showed and collected — the server's running total it had cached plus the provisional prices of the rounds it fired offline. When the tenders settle exactly this and the device's price snapshot still covered the capture, a settle the server now prices differently is booked at it and the difference becomes a reviewed price variance — the same rule as an offline sale (FR-OFF-060, FR-OFF-061). Ignored online. |
| priceSnapshotAt string (date-time) | Replay only: the `generatedAt` of the price snapshot the device priced from. |
| clientOpId string | The settle's own operation id (comeback r2): a retried settle presents the same id and is answered with the first one's result; a DIFFERENT settle of an already settled tab is refused `TAB_ALREADY_SETTLED` instead of being answered as if it were a replay. Optional. |
| roundOpIds string[] | Replay only: the client op ids of every round the device's bill included. A settle that names a round the server has not seen yet waits (`TAB_ROUNDS_PENDING`, re-presented). |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/settle" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"shift": "string",
"checkDiscountIqd": 0,
"discountReason": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"splitMode": "string",
"splitCount": 0,
"splits": [
{
"lineIds": [
"00000000-0000-0000-0000-000000000000"
],
"tenders": []
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"tipIqd": 0
}
],
"releaseTable": false,
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.148Z",
"clientOpId": "string",
"roundOpIds": [
"string"
]
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/settle/preview JWT API KeyCreate preview
What the settle would charge and how a split divides it — the client renders, never computes.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
{
"checkDiscountIqd": 0,
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"splitMode": "string",
"splitCount": 0,
"splits": [
{
"lineIds": [
"00000000-0000-0000-0000-000000000000"
],
"tenders": []
}
]
}| checkDiscountIqd integer (int64) | — |
| guestId string (uuid) | The CRM guest who pays — wins over the tab's own guest. A merged duplicate resolves to its survivor. |
| guestPhone string | A phone typed at the settle: a phone no live guest holds creates the guest in the settle. |
| guestName string | — |
| loyaltyRedeemPoints integer (int64) | Points to take off the bill — priced by the loyalty seam, refused (never trimmed) when too many. |
| splitMode string | — |
| splitCount integer (int32) | — |
| splits SettleSplitRequest[] | Items mode: one entry per part, naming the tab lines it pays for. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/settle/preview" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"checkDiscountIqd": 0,
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"splitMode": "string",
"splitCount": 0,
"splits": [
{
"lineIds": [
"00000000-0000-0000-0000-000000000000"
],
"tenders": []
}
]
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/tables JWT API KeyCreate tables
Join a free table to the tab — a party spread across pushed-together tables (the spatial floor). The joined table is held while the tab is open, exactly as its own table is.
- Capability
assign_table- API key scope
cap:assign_table(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
{
"diningTableId": "00000000-0000-0000-0000-000000000000"
}| diningTableId string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/tables" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"diningTableId": "00000000-0000-0000-0000-000000000000"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/tabs/{id}/tables/{tableId} JWT API KeySplit a joined table off the tab again, freeing it
- Capability
assign_table- API key scope
cap:assign_table(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
| tableIdrequired string (uuid) | — |
Responses
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/pos/tabs/{id}/tables/{tableId}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers