Point of sale (c3)
Products, orders, till payments and the table view in the ChingChing.Club API.
This page is part of the c3 (ChingChing.Club) API reference.
Products, orders, delivery, till payments and the table view. Staff send x-c3-mode: staff. A staff member can order for a guest by sending that guest's memberId. Prices are cents, and a product's member price is its base price plus 15% VAT rounded to the nearest rand.
GET /v1/venues/{venueId}/access#
Read the caller's role at the venue and what it allows.
Auth Member session token with a venue staff role
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/access" \
-H "Authorization: Bearer <token>"
Response
{ "venueId": "vn12345abcde", "role": "manager", "ordersFreeGive": true, "boardsManage": true }
| Status | Meaning |
|---|---|
403 | The caller is not staff at this venue. Code forbidden. |
404 | No such venue. Code not_found. |
GET /v1/venues/{venueId}/products#
List the venue's products.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/products" \
-H "Authorization: Bearer <token>"
Response
{ "highestCode": 7, "width": 3, "products": [ {
"id": "pr12345abcde",
"code": 7,
"displayCode": "007",
"shortName": "Lager",
"longName": "Lager 330ml",
"description": "",
"basePriceCents": 3000,
"firstPriceCents": 3000,
"memberPriceCents": 3500,
"free": false,
"status": "enabled",
"everOrdered": false,
"unit": "bottle",
"collectionPointId": "bar",
"version": 1
} ] }
| Status | Meaning |
|---|---|
404 | No such venue. Code not_found. |
Product codes only go up and are never reused. width is how many digits to show, 3 while the highest code is 700 or below and one more digit for each step above that. The member price is the base price plus 15% VAT, rounded to the nearest rand.
POST /v1/venues/{venueId}/products#
Create a product.
Auth Member session token, venue staff with products.create
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
shortName required | body | string | The name shown on the till. |
basePriceCents required | body | integer | The price before VAT, in cents. A price of 0 needs free to be true. |
longName | body | string | A fuller name. |
description | body | string | A description. |
free | body | boolean | True for a free product. |
unit | body | string | The unit, for example bottle. |
collectionPointId | body | string | Where the product is collected from. |
Request
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/products" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"shortName": "Lager", "longName": "Lager 330ml", "basePriceCents": 3000, "unit": "bottle", "collectionPointId": "bar"}'
Response
{
"id": "pr12345abcde",
"code": 7,
"displayCode": "007",
"shortName": "Lager",
"longName": "Lager 330ml",
"description": "",
"basePriceCents": 3000,
"firstPriceCents": 3000,
"memberPriceCents": 3500,
"free": false,
"status": "enabled",
"everOrdered": false,
"unit": "bottle",
"collectionPointId": "bar",
"version": 1
}
| Status | Meaning |
|---|---|
400 | The name or price is not valid. Code invalid_body. |
403 | The caller may not create products. Code forbidden. |
409 | A product with the same name exists, and the response includes it. Code product_exists. A chosen code is already used. Code code_in_use. |
The server issues the code. Sending a code is refused.
GET /v1/venues/{venueId}/products/{code}#
Read one product by its code.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
code required | path | integer | The product code. 7, 07 and 007 are the same product. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/products/<code>" \
-H "Authorization: Bearer <token>"
Response
{
"id": "pr12345abcde",
"code": 7,
"displayCode": "007",
"shortName": "Lager",
"longName": "Lager 330ml",
"description": "",
"basePriceCents": 3000,
"firstPriceCents": 3000,
"memberPriceCents": 3500,
"free": false,
"status": "enabled",
"everOrdered": false,
"unit": "bottle",
"collectionPointId": "bar",
"version": 1
}
| Status | Meaning |
|---|---|
404 | No such product. Code not_found. |
PATCH /v1/venues/{venueId}/products/{code}#
Change a product.
Auth Member session token, venue staff with products.edit
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
code required | path | integer | The product code. |
shortName | body | string | The new name. |
longName | body | string | The new long name. |
description | body | string | The new description. |
basePriceCents | body | integer | The new price in cents. |
free | body | boolean | Whether the product is free. |
unit | body | string | The unit. |
collectionPointId | body | string | The collection point. |
status | body | string | enabled, disabled or archived. |
Request
curl -X PATCH "https://c3.thought.bz/v1/venues/<venueId>/products/<code>" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"basePriceCents": 3200}'
Response
{
"id": "pr12345abcde",
"code": 7,
"displayCode": "007",
"shortName": "Lager",
"longName": "Lager 330ml",
"description": "",
"basePriceCents": 3200,
"firstPriceCents": 3000,
"memberPriceCents": 3700,
"free": false,
"status": "enabled",
"everOrdered": false,
"unit": "bottle",
"collectionPointId": "bar",
"version": 1
}
| Status | Meaning |
|---|---|
403 | The caller may not change this field. Code forbidden. |
404 | No such product. Code not_found. |
409 | A product that has been ordered cannot become a very different product. Create a new one. Code change_too_large. |
A product that was never ordered can be renamed and repriced freely. Once it has been ordered, a name that changes a lot or a price that moves by more than half is refused.
GET /v1/venues/{venueId}/collection-points#
List the places orders are collected from.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/collection-points" \
-H "Authorization: Bearer <token>"
Response
{ "points": [ { "id": "bar", "name": "Main bar" } ] }
PUT /v1/venues/{venueId}/collection-points#
Replace the venue's collection points.
Auth Member session token, venue staff with products.edit
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
points required | body | array of object | Up to 20 points. Each has an id of 1 to 32 lowercase letters, digits or hyphens, and a name of 1 to 40 characters. |
Request
curl -X PUT "https://c3.thought.bz/v1/venues/<venueId>/collection-points" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"points": [{"id": "bar", "name": "Main bar"}, {"id": "kitchen", "name": "Kitchen"}]}'
Response
{ "points": [ { "id": "bar", "name": "Main bar" }, { "id": "kitchen", "name": "Kitchen" } ] }
| Status | Meaning |
|---|---|
400 | More than 20 points, or an id or name is not valid. Code invalid_body. |
403 | The caller may not change collection points. Code forbidden. |
POST /v1/venues/{venueId}/orders#
Place an order.
Auth Member session token (member order) or venue staff with orders.create (staff order)
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
lines required | body | array of object | 1 to 30 lines. Each has code (the product code), qty (1 to 99) and an optional note of up to 80 characters. A product can appear once. |
table | body | string | The table, 1 to 12 letters, digits or hyphens. Leave out for a collect-at-bar order. |
guests | body | integer | The number of guests at the table. |
memberId | body | string | Required when staff place the order for a guest (x-c3-mode staff). |
Request
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/orders" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"table": "T4", "guests": 2, "lines": [{"code": 7, "qty": 2, "note": ""}]}'
Response
{
"orderId": "2026-12-02.12",
"id": "od12345abcde",
"key": "<order key>",
"seq": 12,
"displayNumber": "012",
"tradingDate": "2026-12-02",
"memberId": "u54321edcba",
"table": "T4",
"guests": 2,
"status": "placed",
"progress": "0 of 2 delivered",
"paid": false,
"paidBy": "",
"totalCents": 7000,
"kind": "order",
"lines": [ { "lineId": "<line id>", "kind": "product", "code": 7, "name": "Lager", "qty": 2, "qtyDelivered": 0, "status": "placed", "note": "" } ],
"log": [],
"notifications": [],
"version": 1
}
| Status | Meaning |
|---|---|
400 | The lines are not valid, or staff did not send the memberId. Code invalid_body. |
403 | The caller may not place orders, or a staff member without orders.free.give added a free product. Code forbidden. |
404 | No such venue or product. Code not_found. |
409 | Too many free products for the order or table. The body has limit, used, remaining and scope. Code free_limit_reached. |
503 | The venue is busy. Retry. Code service_unavailable. |
Order numbers start at 1 for each venue each trading day. A member can order by phone. Staff send x-c3-mode staff and the memberId the order is for. A free product is limited to 6 per member order, and per table to 2 times the guests (12 when guests is left out). Staff who hold orders.free.give are not limited.
GET /v1/venues/{venueId}/orders#
List today's orders for staff.
Auth Member session token, venue staff with pos or orders.view.all
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
table | query | string | Only this table. An empty value means orders with no table. |
status | query | string | Only orders with this status. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/orders" \
-H "Authorization: Bearer <token>"
Response
{ "tradingDate": "2026-12-02", "orders": [ {
"orderId": "2026-12-02.12",
"id": "od12345abcde",
"key": "<order key>",
"seq": 12,
"displayNumber": "012",
"tradingDate": "2026-12-02",
"memberId": "u54321edcba",
"table": "T4",
"guests": 2,
"status": "placed",
"progress": "0 of 2 delivered",
"paid": false,
"paidBy": "",
"totalCents": 7000,
"kind": "order",
"lines": [ { "lineId": "<line id>", "kind": "product", "code": 7, "name": "Lager", "qty": 2, "qtyDelivered": 0, "status": "placed", "note": "" } ],
"log": [],
"notifications": [],
"version": 1
} ] }
| Status | Meaning |
|---|---|
403 | A member token, or staff without the permission. Code forbidden. |
404 | No such venue. Code not_found. |
Orders from earlier trading days are not included. status is placed, preparing, ready, partly_delivered, delivered or collected.
GET /v1/venues/{venueId}/orders/{key}#
Read one order.
Auth Member session token, the member the order is for or venue staff with orders.view.all or orders.create
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
key required | path | string | The order key. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/orders/<key>" \
-H "Authorization: Bearer <token>"
Response
{
"orderId": "2026-12-02.12",
"id": "od12345abcde",
"key": "<order key>",
"seq": 12,
"displayNumber": "012",
"tradingDate": "2026-12-02",
"memberId": "u54321edcba",
"table": "T4",
"guests": 2,
"status": "placed",
"progress": "0 of 2 delivered",
"paid": false,
"paidBy": "",
"totalCents": 7000,
"kind": "order",
"lines": [ { "lineId": "<line id>", "kind": "product", "code": 7, "name": "Lager", "qty": 2, "qtyDelivered": 0, "status": "placed", "note": "" } ],
"log": [],
"notifications": [],
"version": 1
}
| Status | Meaning |
|---|---|
403 | The order belongs to another member. Code forbidden. |
404 | No such order. Code not_found. |
POST /v1/venues/{venueId}/orders/{key}/delivery#
Move an order line forward or record items delivered.
Auth Member session token, venue staff with orders.status.set
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
key required | path | string | The order key. |
lineId required | body | string | The line to update. |
status required | body | string | preparing, ready or delivered. A status only moves forward. |
qty | body | integer | How many were delivered, for a partial delivery. |
Request
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/orders/<key>/delivery" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"lineId": "<line id>", "status": "delivered", "qty": 1}'
Response
{ "lineId": "<line id>", "qtyOrdered": 2, "qtyDelivered": 1 }
| Status | Meaning |
|---|---|
400 | The line is unknown, the status goes backwards, or the order is paid. Code invalid_body. |
403 | The caller may not update delivery. Code forbidden. |
404 | No such order. Code not_found. |
409 | More was delivered than ordered. Code qty_exceeds_order. |
When a collect-at-bar order becomes ready, the member gets a notification to go and collect it.
POST /v1/venues/{venueId}/payments#
Record a till payment for one or more orders.
Auth Member session token, venue staff with pos
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
method required | body | string | cash or card_machine. |
scope required | body | string | table for every unpaid order on a table, or orders for the listed orderKeys. |
table | body | string | The table, when scope is table. |
orderKeys | body | array of string | The order keys, when scope is orders. |
slipAmountCents required | body | integer | The amount on the slip or till, in cents. |
cardLast4 | body | string | The last 4 digits printed on the card slip. Required for card_machine. |
rrnLast4 | body | string | The last 4 characters of the slip reference. Required for card_machine. |
Request
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/payments" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"method": "card_machine", "scope": "table", "table": "T4", "slipAmountCents": 7000, "cardLast4": "1234", "rrnLast4": "0042"}'
Response
{
"paymentId": "pm12345abcde",
"method": "card_machine",
"provider": "none",
"gateway": false,
"reference": "pm12345abcde",
"amountCents": 7000,
"expectedCents": 7000,
"slipAmountCents": 7000,
"amountMismatch": false,
"cashback": false,
"cashbackEligible": true,
"paidBy": "u12345abcde",
"orders": ["<order key>"],
"tips": [],
"result": "paid"
}
| Status | Meaning |
|---|---|
400 | The method, scope or amount is not valid, or a full card number was sent. Code invalid_body. |
403 | The caller may not record payments. Code forbidden. |
404 | No such venue or order. Code not_found. |
409 | An order has no table, is on a different table, or is already paid (combine_not_allowed), or another payer holds it right now (order_locked). |
This records money taken on the till or card machine. ChingChing.Club does not charge a card. Never send a full card number. A slip that differs from the bill is still recorded and marked with amountMismatch. Cash is not eligible for cashback.
GET /v1/venues/{venueId}/table-view#
See every table with its unpaid orders.
Auth Member session token, venue staff with tables.view or orders.view.all
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
Request
curl "https://c3.thought.bz/v1/venues/<venueId>/table-view" \
-H "Authorization: Bearer <token>"
Response
{
"tradingDate": "2026-12-02",
"tables": [
{
"table": "T4",
"name": "T4",
"orders": 2,
"paid": 0,
"unpaid": 2,
"unpaidTotalCents": 7000,
"oldestUnpaidAt": "2026-12-02T20:05:00Z",
"label": "2 unpaid",
"uncollectedReady": []
}
]
}
| Status | Meaning |
|---|---|
403 | The caller may not see the table view. Code forbidden. |
404 | No such venue. Code not_found. |
Orders with no table are grouped last, with table null and name No table.
POST /v1/venues/{venueId}/tips#
Leave a tip for a waiter by scanning their staff code.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
venueId required | path | string | The venue id. |
amountCents required | body | integer | The tip in cents. |
token required | body | string | The waiter's staff code from GET /v1/venues/{venueId}/staff-code. |
table | body | string | The table. |
Request
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/tips" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"amountCents": 1000, "token": "s1.vn12345abcde.u54321edcba.<secret>"}'
Response
{
"orderId": "2026-12-02.13",
"key": "<order key>",
"seq": 13,
"displayNumber": "013",
"kind": "tip",
"status": "pending",
"amountCents": 1000,
"recipientId": "u54321edcba",
"credited": false,
"paid": false
}
| Status | Meaning |
|---|---|
403 | The caller may not tip here. Code forbidden. |
404 | No such venue. Code not_found. |
409 | The staff code is not valid for a waiter today. Code tip_recipient_invalid. |
A tip is a pending order. It is credited to the waiter once the order is paid through the till.
Updated 2026-12-02