API Reference
Exchange Rates
2 endpoints· Auth: JWT or API Key
get
/api/v1/console/exchange-rates JWT API KeyThe rate series, superseded rows included
Gated on the GL read capability rather than the write one: which rate a document used is a general-ledger question, and an accountant reading a statement needs the history without being able to add to it.
- Capability (any)
view_glormanage_accounting- API key scope
cap:view_glorcap:manage_accounting(the key's owner must also hold the capability)
Query parameters
| FromCurrencyCode string | — |
| ToCurrencyCode string | — |
| RateType ExchangeRateType | — |
| InForceOnly boolean | Only the rows in force right now. Superseded rows are excluded. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/exchange-rates" \
-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/exchange-rates JWT API KeyRecord a rate, superseding whichever it replaces
The response carries both the new row and the row it closed, because a correction is two facts: what applies now, and which window just ended.
- Capability
manage_accounting- API key scope
cap:manage_accounting(the key's owner must also hold the capability)
Request body
application/json
{
"fromCurrencyCode": "string",
"toCurrencyCode": "string",
"rateType": "Spot",
"rate": 0,
"validFrom": "2026-11-27T14:05:12.516Z",
"source": "string"
}| fromCurrencyCode string | — |
| toCurrencyCode string | — |
| rateType ExchangeRateType | — |
| rate number (double) | `1 fromCurrency = rate × toCurrency`. Positive; `numeric(18,8)`. |
| validFrom string (date-time) | When the rate takes effect. Omitted, it takes effect now. <br>It may not predate the rate it supersedes: an effective-dated append-only series moves forward, and back-dating one would reopen a window that a document has already posted against. |
| source string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/exchange-rates" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"fromCurrencyCode": "string",
"toCurrencyCode": "string",
"rateType": "Spot",
"rate": 0,
"validFrom": "2026-11-27T14:05:12.515Z",
"source": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu