API Reference

Payment Runs

Batches of supplier payments: propose, approve, pay.

9 endpoints· Auth: JWT or API Key
get/api/v1/console/suppliers/payment-runs JWT API Key

Get payment-runs

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

Query parameters

Status
string
`draft` | `approved` | `paid` | `cancelled`. Optional.
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/suppliers/payment-runs" \
  -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/suppliers/payment-runs JWT API Key

Create payment-runs

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

Request body

application/json
{
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "currencyCode": "string",
  "notes": "string",
  "lines": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ]
}
scheduledDate
string (date)
—
fundingSource
string
`vault` or `bank`.
bankAccountId
string (uuid)
—
currencyCode
string
Null means the branch's base currency.
notes
string
—
lines
PaymentRunSelection[]
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "currencyCode": "string",
  "notes": "string",
  "lines": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/suppliers/payment-runs/{id} JWT API Key

Get id

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

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
put/api/v1/console/suppliers/payment-runs/{id} JWT API Key

Replace a draft's header and lines

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "notes": "string",
  "lines": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ]
}
scheduledDate
string (date)
—
fundingSource
string
—
bankAccountId
string (uuid)
—
notes
string
—
lines
PaymentRunSelection[]
—

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "notes": "string",
  "lines": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 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/suppliers/payment-runs/{id}/approve JWT API Key

Create approve

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "note": "string"
}
note
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/{id}/approve" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "note": "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/suppliers/payment-runs/{id}/cancel JWT API Key

Create cancel

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

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/suppliers/payment-runs/{id}/cancel" \
  -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/suppliers/payment-runs/{id}/pay JWT API Key

Pay the run: one supplier payment per supplier through the payment door, all or nothing

Idempotent twice over — the console's `Idempotency-Key` replays a retried request, and a paid run answers a second pay with itself.

Capability
register_supplier_payment
API key scope
cap:register_supplier_payment (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.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "dropStaleLines": false,
  "note": "string"
}
dropStaleLines
boolean
—
note
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/{id}/pay" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "dropStaleLines": false,
  "note": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/suppliers/payment-runs/{id}/remittance JWT API Key

The per-supplier remittance summary the dashboard prints

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

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/{id}/remittance" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/suppliers/payment-runs/propose JWT API Key

Create propose

What could be paid: open bills due on or before a date, grouped by supplier, with the server's totals and the funds check. A read with a body (the owner's current choice), so a POST; it writes nothing.

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

Request body

application/json
{
  "dueOnOrBefore": "2026-11-27",
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "currencyCode": "string",
  "supplierIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "excludeRunId": "00000000-0000-0000-0000-000000000000",
  "selections": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ]
}
dueOnOrBefore
string (date)
Bills due on or before this business day are proposed. Null means the scheduled date, else today.
scheduledDate
string (date)
The day the run will be paid on. Null means today.
fundingSource
string
`vault` (default) or `bank`.
bankAccountId
string (uuid)
The bank account whose book balance is checked, when the source is the bank.
currencyCode
string
ISO 4217 code; null means the branch's base currency.
supplierIds
string (uuid)[]
Restrict to these suppliers. Null or empty means every supplier.
excludeRunId
string (uuid)
The run being edited, whose own lines do not count as "in another run".
selections
PaymentRunSelection[]
The owner's current choice; null asks for the server's suggestion.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/suppliers/payment-runs/propose" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "dueOnOrBefore": "2026-11-27",
  "scheduledDate": "2026-11-27",
  "fundingSource": "string",
  "bankAccountId": "00000000-0000-0000-0000-000000000000",
  "currencyCode": "string",
  "supplierIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "excludeRunId": "00000000-0000-0000-0000-000000000000",
  "selections": [
    {
      "purchaseInvoiceId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu