API Reference
Expenses
8 endpoints· Auth: JWT or API Key
post
/api/v1/console/cash/drawer/float JWT API KeyThe change float, from the safe to the drawer, at the start of a shift
- Capability
manage_vault- API key scope
cap:manage_vault(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
application/json
{
"amount": 0,
"notes": "string"
}| amount integer (int64) | — |
| notes string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/drawer/float" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"amount": 0,
"notes": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/cash/expenses JWT API KeyGet expenses
- Capability
manage_vault- API key scope
cap:manage_vault(the key's owner must also hold the capability)
Query parameters
| From string (date) | — |
| To string (date) | — |
| Category string | — |
| Source string | — |
| Page integer (int32) | — |
| PerPage integer (int32) | — |
| Search string | Free-text filter. Its meaning is per-resource and documented on the endpoint. |
| Skip integer (int32) | Rows to skip, derived — never sent by the caller on this surface. |
| Sort string | A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order. |
| Dir string | `asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/cash/expenses" \
-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/cash/expenses JWT API KeyRecord an expense paid from the drawer, the safe or the bank
- Capability
manage_vault- API key scope
cap:manage_vault(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
application/json
{
"businessDate": "2026-11-27",
"category": "string",
"description": "string",
"amount": 0,
"source": "string",
"method": "string",
"paidTo": "string",
"receiptNumber": "string",
"employeeId": "00000000-0000-0000-0000-000000000000",
"paidByName": "string",
"approvedByName": "string"
}| businessDate string (date) | The business day the money left; defaults to today. Must be an open period. |
| category string | transport, gas, utilities, internet, maintenance, cleaning, packaging, bonus, tip, misc. |
| description string | — |
| amount number (double) | Whole units of the branch currency. A fractional amount is rounded once, half away from zero. |
| source string | `drawer`, `vault` or `bank`. |
| method string | `cash` (default), `transfer` or `card`. |
| paidTo string | — |
| receiptNumber string | — |
| employeeId string (uuid) | — |
| paidByName string | — |
| approvedByName string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/expenses" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"businessDate": "2026-11-27",
"category": "string",
"description": "string",
"amount": 0,
"source": "string",
"method": "string",
"paidTo": "string",
"receiptNumber": "string",
"employeeId": "00000000-0000-0000-0000-000000000000",
"paidByName": "string",
"approvedByName": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/cash/expenses/{id}/void JWT API KeyVoid a wrong expense; its cash movement is reversed by a compensating entry
- Capability
manage_vault- API key scope
cap:manage_vault(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
{
"reason": "string"
}| reason string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/expenses/{id}/void" \
-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
post
/api/v1/console/cash/expenses/batch JWT API KeyA whole daily expense list in one submission; all or nothing
- Capability
manage_vault- API key scope
cap:manage_vault(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
application/json
{
"businessDate": "2026-11-27",
"source": "string",
"items": [
{
"businessDate": "2026-11-27",
"category": "string",
"description": "string",
"amount": 0,
"source": "string",
"method": "string",
"paidTo": "string",
"receiptNumber": "string",
"employeeId": "00000000-0000-0000-0000-000000000000",
"paidByName": "string",
"approvedByName": "string"
}
]
}| businessDate string (date) | Default business day for lines that do not carry their own. |
| source string | Default source for lines that do not carry their own: drawer, vault or bank. |
| items RecordCashExpenseRequest[] | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/expenses/batch" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"businessDate": "2026-11-27",
"source": "string",
"items": [
{
"businessDate": "2026-11-27",
"category": "string",
"description": "string",
"amount": 0,
"source": "string",
"method": "string",
"paidTo": "string",
"receiptNumber": "string",
"employeeId": "00000000-0000-0000-0000-000000000000",
"paidByName": "string",
"approvedByName": "string"
}
]
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/cash/expenses/summary JWT API KeyTotals over a window, by source and by category
The database does the sums.
- Capability
manage_vault- API key scope
cap:manage_vault(the key's owner must also hold the capability)
Query parameters
| from string (date) | — |
| to string (date) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/cash/expenses/summary" \
-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/cash/vault/funding JWT API KeyThe owner (or the bank) puts money into the safe
- Capability
adjust_vault- API key scope
cap:adjust_vault(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
application/json
{
"amount": 0,
"from": "string",
"businessDate": "2026-11-27",
"notes": "string"
}| amount integer (int64) | — |
| from string | `owner` (default) or `bank`. |
| businessDate string (date) | — |
| notes string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/vault/funding" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"amount": 0,
"from": "string",
"businessDate": "2026-11-27",
"notes": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/cash/vault/handovers JWT API KeyMoney leaves the safe for the bank or the owner
- Capability
manage_vault- API key scope
cap:manage_vault(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
application/json
{
"amount": 0,
"to": "string",
"businessDate": "2026-11-27",
"reference": "string",
"notes": "string"
}| amount integer (int64) | — |
| to string | `bank` or `owner`. |
| businessDate string (date) | — |
| reference string | — |
| notes string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/vault/handovers" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"amount": 0,
"to": "string",
"businessDate": "2026-11-27",
"reference": "string",
"notes": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu