API Reference
Purchasing Settings
Approval limits and purchasing defaults.
4 endpoints· Auth: JWT or API Key
get
/api/v1/console/settings/purchasing JWT API KeyGet purchasing
- Capability (any)
manage_settingsorcreate_purchase_orderorreceive_purchaseorapprove_requests- API key scope
cap:manage_settingsorcap:create_purchase_orderorcap:receive_purchaseorcap:approve_requests(the key's owner must also hold the capability)
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/settings/purchasing" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/settings/purchasing JWT API KeyUpdate purchasing
- Capability
manage_settings- API key scope
cap:manage_settings(the key's owner must also hold the capability)
Request body
application/json
{
"approvalThresholdIqd": 0
}| approvalThresholdIqd integer (int64) | The spend-approval threshold T1, in whole minor units of the branch's base currency. A purchase order whose base-currency subtotal is ABOVE it — and a direct receipt whose total is above it — parks for an owner's decision. `0` parks every purchase. |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/settings/purchasing" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"approvalThresholdIqd": 0
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/settings/purchasing/approval-tiers JWT API KeyGet approval-tiers
The tiered purchase-approval matrix (PUR depth; B5's T2 seam): amount bands → the role that must decide and how many distinct approvers. Read by everyone who enters or decides spend; with no band configured it is the single threshold, unchanged.
- Capability (any)
manage_settingsorcreate_purchase_orderorreceive_purchaseorapprove_requests- API key scope
cap:manage_settingsorcap:create_purchase_orderorcap:receive_purchaseorcap:approve_requests(the key's owner must also hold the capability)
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/settings/purchasing/approval-tiers" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/settings/purchasing/approval-tiers JWT API KeyReplace the matrix
Owner only: the person a band gates never moves it.
- Capability
manage_settings- API key scope
cap:manage_settings(the key's owner must also hold the capability)
Request body
application/json
{
"tiers": [
{
"aboveAmountIqd": 0,
"requiredRole": "string",
"approversRequired": 0,
"label": "string"
}
]
}| tiers PurchaseApprovalTierInput[] | — |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/settings/purchasing/approval-tiers" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"tiers": [
{
"aboveAmountIqd": 0,
"requiredRole": "string",
"approversRequired": 0,
"label": "string"
}
]
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu