Skip to main content
All Nuvion list endpoints return paginated results using cursor-based pagination. Each response includes a data.meta.pagination object with cursors pointing to the previous and next pages.

Request parameters

Pass these as query parameters on any list endpoint.
integer
Number of records to return. Between 1 and 100. Defaults to 20.
string
Pagination cursor from a previous response. Pass next_cursor to fetch the next page. Omit for the first page.
string
Pass previous_cursor from a previous response to fetch the prior page, returned in reverse order. Passing previous_cursor as cursor returns the records after it instead.

Response envelope

All Nuvion responses share a standard envelope. List endpoints return the records under data.data, with pagination state under data.meta.pagination.
array
The list of objects for the current page.
integer
The number of records requested per page.
string
Sort order applied to the results. One of asc or desc.
number
The number of records that match the request. Returned by some list endpoints, such as List account details.
boolean
true if there are more records after this page. false on the last page.
boolean
false on the first page. Whenever a cursor is supplied, it is true, even if no records precede the cursor.
string | null
Value to pass as cursor to fetch the next page. null when has_next is false.
string | null
Value to pass as prev_cursor to fetch the prior page. null when has_previous is false.
object
The active filters applied to the query, reflected back in the response. Not every list endpoint returns it; List counterparties does not.
Get account statements is an exception. It returns the transactions under data.transactions and the pagination state under data.pagination, with a total_transactions count. It is forward only: order is always asc, has_previous is always false, previous_cursor is always null, and limit defaults to 100.
List cards and Get card transactions also differ. They return the records under data.cards and data.payments, and the pagination state under data.pagination, with no message, meta or filters_applied. Both accept prev_cursor for the previous page. If you send cursor and prev_cursor together on List cards, prev_cursor takes precedence.
List webhook logs pages forward only. It ignores prev_cursor, so the previous_cursor it returns can’t be used to request the previous page.

Example: iterate through pages

Always check has_next before requesting the next page rather than testing for a non-null next_cursor: this is the authoritative signal that more records exist.