API Reference

Vault

5 endpoints· Auth: JWT or API Key
get/api/v1/console/cash/vault JWT API Key

Both running balances plus the currency facts needed to render them.,,

Capability
manage_vault
API key scope
cap:manage_vault (the key's owner must also hold the capability)

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/cash/vault" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/cash/vault/adjustments JWT API Key

Set an absolute safe balance.,

Owner only.

Deliberately gated on `adjust_vault` and not `manage_vault`: the correction path is not the operating path. Every call opens a `vault_adjustment` fraud case unconditionally, regardless of the delta — including a zero one.

Capability
adjust_vault
API key scope
cap:adjust_vault (the key's owner must also hold the capability)
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "newBalance": 0,
  "reason": "string",
  "notes": "string"
}
newBalance
integer (int64)
The new absolute balance, ≥ 0 and a whole multiple of the cash rounding increment. Zero is legal; negative is not — a safe cannot physically hold less than nothing, even though unguarded payroll and supplier withdrawals can drive the <i>running</i> balance below zero (FR-CSH-026, §5.12.11 item 14).
reason
string
—
notes
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/vault/adjustments" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "newBalance": 0,
  "reason": "string",
  "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/deposits JWT API Key

The safe drop: drawer cash into the safe.,,

An over-deposit is a `CONFLICT` naming the actual drawer balance, not a validation failure — the request is well-formed and the state is what refuses it.

Capability
manage_vault
API key scope
cap:manage_vault (the key's owner must also hold the capability)
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "amount": 0,
  "reason": "string",
  "notes": "string"
}
amount
integer (int64)
Minor units of the branch's base currency, at least 1, and a whole multiple of `Currency.cashRoundingIncrement` — this is physical money moving between two physical containers (BR-CSH-12, FR-CSH-096).
reason
string
Required and trimmed. It is hashed into the audit row (FR-CSH-023).
notes
string
Appended to the reason as `"reason — notes"` on the entry (FR-CSH-022).

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/vault/deposits" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "amount": 0,
  "reason": "string",
  "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/vault/entries JWT API Key

The financial audit trail, newest first

Capability
manage_vault
API key scope
cap:manage_vault (the key's owner must also hold the capability)

Query parameters

Account
string
`drawer` | `vault`. Null shows both accounts interleaved.
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/vault/entries" \
  -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/withdrawals JWT API Key

Cash out of the safe.,

Capability
manage_vault
API key scope
cap:manage_vault (the key's owner must also hold the capability)
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "amount": 0,
  "reason": "string",
  "notes": "string"
}
amount
integer (int64)
—
reason
string
—
notes
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/cash/vault/withdrawals" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "amount": 0,
  "reason": "string",
  "notes": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu