List beneficiaries with cursor-based pagination
Changed onReturns beneficiary data with cursor-based pagination and optional full-text search via the query parameter.
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Query parameters
Optional identifier of the team whose beneficiaries to list. When provided, only beneficiaries for that team are returned.
Filter beneficiaries by payment gateway provider (optional)
Filter beneficiaries by currency code (optional)
Optional search query to filter beneficiaries by name or gateway identifier. When provided, search-backed pagination is used.
Maximum number of beneficiaries to return per request (1-100, default: 20)
Pagination cursor returned by a previous request. Omit on the first request.
Response
OK
Array of beneficiaries for the current result set
Cursor for navigating backward in the result set. Omitted when there are no prior results.
Cursor for navigating forward in the result set. Omitted when there are no subsequent results.
Maximum number of items to return in each result set
Example response
{
"beneficiaries": [
{
"id": "ben_01jps5cgse5n6mg1ymkew9tsfh",
"createdAt": "2026-12-02T02:43:23.597Z",
"updatedAt": "2026-12-02T02:43:23.597Z",
"name": "My Bank Account",
"currency": "AUD",
"gateway": "STRIPE",
"gatewayId": "7489cb17-24c5-4acf-a0cf-d93ed38081fe",
"teamIds": [],
"venueIds": []
}
],
"before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
"after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
"limit": 20
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - warning
for the
queryrequest parameterlimit, the max was set to100.00 - warning
for the
queryrequest parameterlimit, the min was set to1.00
- breaking