API Reference
Guest Payments
3 endpoints· Auth: JWT or API Key
get
/api/v1/console/pos/guest-payments JWT API KeyThe queue — pending by default; `?status=approved|rejected|all`
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Query parameters
| Status string | `pending` (the default), `approved`, `rejected` or `all`. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/guest-payments" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/pos/guest-payments/{id}/confirm JWT API KeyCreate confirm
Confirm the payment was received: rings the sale (tender, audit, ledger, kitchen) under the guest checkout's idempotency key, then stamps the hold approved.
- 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
application/json
{
"note": "string",
"shift": "string"
}| note string | Optional — e.g. the card slip or wallet transfer reference staff checked. |
| shift string | `morning` or `evening`: the shift the confirming till is ringing, exactly as it sends on every sale. The sale books to it, because the money lands in this cashier's drawer (comeback audit N5). Optional: absent, it is the shift of this cashier's latest sale today, and only then the shift recorded with the guest's order. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/guest-payments/{id}/confirm" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"note": "string",
"shift": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/pos/guest-payments/{id}/reject JWT API KeyReject the payment with a reason
Nothing was sold, drawn or fired.
- Capability
cancel_order- API key scope
cap:cancel_order(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"reason": "string"
}| reason string | Required: why the payment was not accepted. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/guest-payments/{id}/reject" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu