Payouts
List payouts, get a payout by ID, view a payout's items, and download statements
Funds are paid out weekly into each payout route, separately for each partner.
Each payout has one document: the statement of its transactions, fees and refunds, which is also the VAT invoice for the esenda fees deducted. It's available as PDF through the API.
The API returns the same figures, so the bank deposit, the esenda statement and the partner's records match:
net_amount = gross_amount - fee_amount - refund_amountAll payout endpoints take an Authorization: Bearer <ACCESS_TOKEN> header and use the production or sandbox base URL from API conventions.
List payouts
GET /v2/partner/payouts/{shortcode}Lists the organisation's payouts for the calling partner, newest first.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortcode | String | Yes | The organisation's shortcode. |
Query parameters
All parameters are optional.
| Parameter | Type | Description |
|---|---|---|
payout-route-id | UUID | Only payouts on this payout route. |
status | String | scheduled, paid or failed. |
payout-date-from | String | Payouts on or after this date, in YYYY-MM-DD format. |
payout-date-to | String | Payouts on or before this date, in YYYY-MM-DD format. Not before payout-date-from. |
limit | Integer | Maximum number of payouts to return, from 1 to 100. Defaults to 10. |
cursor | String | Opaque cursor to retrieve the next page. |
Pagination
This endpoint uses cursor-based pagination, in the same way as the orders list. The cursor encodes the original filters, so payout-route-id, status, payout-date-from and payout-date-to must not be repeated when paginating. Providing any of them alongside a cursor returns a validation error. Only limit can be combined with cursor.
Response
| Field | Type | Description |
|---|---|---|
next_cursor | String | null | Pass as the cursor query parameter to retrieve the next page. null when there are no further results. |
data | Array | Payouts returned by the request, newest first. Each is a payout object. |
{
"next_cursor": "eyJjdXJzb3JfcGF5b3V0X2RhdGUiOi...",
"data": [
{
"payout_id": "001a7b06-6ca9-4c05-8d6a-df5d9d9db7e3",
"payout_route_id": "8a1f3c52-6b0e-4f0e-9d4f-2f1c7f5b9a10",
"status": "paid",
"period_from": "2026-11-02",
"period_to": "2026-11-08",
"payout_date": "2026-11-10",
"currency": "GBP",
"gross_amount": 1250000,
"fee_amount": 18750,
"refund_amount": 10000,
"net_amount": 1221250,
"invoice_number": "ESN-2026-000123"
}
]
}Payout object
| Field | Type | Description |
|---|---|---|
payout_id | String | Payout identifier. |
payout_route_id | String | The payout route paid into. |
status | String | scheduled, paid or failed. |
period_from | String | First day covered, in YYYY-MM-DD format. |
period_to | String | Last day covered, in YYYY-MM-DD format. |
payout_date | String | The day the funds are sent, in YYYY-MM-DD format. |
currency | String | The payout's currency, for example GBP. |
gross_amount | Integer | Total of the payments in the payout, in pence. |
fee_amount | Integer | esenda fees deducted, in pence. |
refund_amount | Integer | Refunds deducted, in pence. |
net_amount | Integer | The amount paid into the bank account, in pence. |
invoice_number | String | The number on the payout's statement and VAT invoice. |
Get payout by ID
GET /v2/partner/payouts/{shortcode}/{payout_id}Returns a single payout with its totals. There's no request body.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortcode | String | Yes | The organisation's shortcode. |
payout_id | UUID | Yes | The payout to return. |
Response
{
"payout_id": "001a7b06-6ca9-4c05-8d6a-df5d9d9db7e3",
"payout_route_id": "8a1f3c52-6b0e-4f0e-9d4f-2f1c7f5b9a10",
"status": "paid",
"period_from": "2026-11-02",
"period_to": "2026-11-08",
"payout_date": "2026-11-10",
"currency": "GBP",
"gross_amount": 1250000,
"fee_amount": 18750,
"refund_amount": 10000,
"net_amount": 1221250,
"invoice_number": "ESN-2026-000123"
}Returns 404 Not Found if the payout doesn't exist for this organisation or isn't on one of the calling partner's payout routes.
Payout items
GET /v2/partner/payouts/{shortcode}/{payout_id}/itemsReturns one row for each line-item payment or refund in the payout. The rows add up to the payout's totals. There's no request body.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortcode | String | Yes | The organisation's shortcode. |
payout_id | UUID | Yes | The payout to return. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | Integer | No | Maximum number of items to return, from 1 to 100. Defaults to 10. |
cursor | String | No | Opaque cursor to retrieve the next page. |
Pagination works the same way as the orders list.
Response
| Field | Type | Description |
|---|---|---|
items | Array | The payout's items. See payout item. |
next_cursor | String | null | Pass as the cursor query parameter to retrieve the next page. null when there are no further results. |
Payout item
Each row in items has these fields:
| Field | Type | Description |
|---|---|---|
type | String | payment or refund. |
order_id | String | The related order. |
line_item_id | String | The related line item. |
line_item_external_id | String | The line item's external_id, as sent on the checkout session. |
refund_id | String | null | Set on refund rows. |
gross_amount | Integer | Amount in pence. For refunds, the amount refunded. |
fee_amount | Integer | The line item's fee share. 0 on refund rows. |
net_amount | Integer | Net amount in pence. Negative on refund rows. |
created_at | String | ISO 8601 timestamp. |
This example shows two rows of items only.
{
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0wNlQxNTo0MDowMFoifQ",
"items": [
{
"type": "payment",
"order_id": "ord_7d41",
"line_item_id": "li_8f2a",
"line_item_external_id": "INV-10432-1",
"refund_id": null,
"gross_amount": 115000,
"fee_amount": 1725,
"net_amount": 113275,
"created_at": "2026-11-03T09:02:00Z"
},
{
"type": "refund",
"order_id": "ord_5a90",
"line_item_id": "li_77c1",
"line_item_external_id": "INV-10388-3",
"refund_id": "rf_19ab",
"gross_amount": 10000,
"fee_amount": 0,
"net_amount": -10000,
"created_at": "2026-11-06T15:40:00Z"
}
]
}Payout statement
GET /v2/partner/payouts/{shortcode}/{payout_id}/invoice?format=pdfReturns the payout's statement and VAT invoice as a file. The figures match the payout items exactly.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortcode | String | Yes | The organisation's shortcode. |
payout_id | String | Yes | The payout to return a statement for. |
Query parameters
| Parameter | Required | Description |
|---|---|---|
format | Yes | pdf. |
Response
The file, as application/pdf.
See errors for the error response format.