Allowed Scopes: settlement:read
Returns settlements. For more information about settlements, see this guide. Settlements data are cached for up to 24 hours. A successful PUT /v1/settlements/state clears the cached settlement reads, so the next call is fresh; state changes from accounting exports or made in Spendesk can take up to 24 hours to appear.
This endpoint uses page-based pagination. Use page and pageSize to retrieve additional results. The maximum pageSize is 30. Continue fetching while page * pageSize < meta.pagination.total.
To filter by settlement status, use state (for example, /v1/settlements?page=1&pageSize=30&state=created).
Settlements expose allocation links through allocations[].payableId. For accounting export use cases that require payable line amounts, retrieve the related payable and read lineItems[].financial.netAmount. Amounts are expressed in the smallest unit of the currency.
External IDs
Pass include=externalIds to embed, on each entry of allocations[], the IDs that allocation has in external systems (ERPs), such as the ERP payment reference. It is opt-in because it costs an additional lookup; without it the field is absent. IDs are recorded per allocation, because settlements are exported per allocation. Only exported allocations carry an ID, and allocations exported before external IDs were recorded may have none. Some integrations record no settlement ID at all (Xero bank fees, QuickBooks settlements, native DATEV settlements and wallet loads), and Xero already-paid settlements carry the literal ID unknown. source reads public_api only for IDs written with provider PublicApi; an ID written through the API under another provider (e.g. pennylane) reads back as native_integration. allocations[] still holds at most one entry per payableId exactly as without include: the IDs of collapsed allocations are merged onto the entry that is kept, its amount is unchanged.
Pass externalIds (exploded, up to 50, exact match) to return only settlements with at least one allocation carrying one of those IDs, optionally restricted to one external system with provider. It is combined with every other filter using AND; an ID no settlement carries returns an empty page. External IDs are cached for up to 24 hours; a successful POST /v1/experimental/external-references clears them, IDs recorded by an accounting export can take that long to appear.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||