API Reference
Royalties
Franchise royalties charged to franchisees.
3 endpoints· Auth: JWT or API Key
get
/api/v1/console/accounting/royalties JWT API KeyGet royalties
- Capability
manage_accounting- API key scope
cap:manage_accounting(the key's owner must also hold the capability)- Plan feature
accountingmust be on the branch's plan, or the call answers 403.
Query parameters
| From string (date) | First business day; null means the first of last month. |
| To string (date) | Last business day, inclusive; null means the last day of last month. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/royalties" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/accounting/royalties/franchisees/{franchiseeId}/auto-billing JWT API KeyUpdate auto-billing
- Capability
manage_accounting- API key scope
cap:manage_accounting(the key's owner must also hold the capability)- Plan feature
accountingmust be on the branch's plan, or the call answers 403.
Path parameters
| franchiseeIdrequired string (uuid) | — |
Request body
application/json
{
"enabled": false,
"dueDays": 0
}| enabled boolean | — |
| dueDays integer (int32) | Days after the period end the invoice falls due, 0–365. |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/accounting/royalties/franchisees/{franchiseeId}/auto-billing" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"enabled": false,
"dueDays": 0
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/accounting/royalties/invoices JWT API KeyIssue a franchisee's royalty invoice for a period: / CR 4050, once per period
- Capability
manage_accounting- API key scope
cap:manage_accounting(the key's owner must also hold the capability)- Plan feature
accountingmust be on the branch's plan, or the call answers 403.- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Request body
application/json
{
"franchiseeId": "00000000-0000-0000-0000-000000000000",
"from": "2026-11-27",
"to": "2026-11-27",
"dueDate": "2026-11-27"
}| franchiseeId string (uuid) | — |
| from string (date) | — |
| to string (date) | — |
| dueDate string (date) | Null means the period end plus the franchisee's due days. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/royalties/invoices" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"franchiseeId": "00000000-0000-0000-0000-000000000000",
"from": "2026-11-27",
"to": "2026-11-27",
"dueDate": "2026-11-27"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu