Any Paytron API resources that support bulk fetches (via "List" API methods) will support pagination.

Paytron utilises cursor-based pagination. Cursor-based pagination is a common pagination strategy that avoids many of the pitfalls of “offset–limit” pagination and performs better for large data sets under most implementations.

When fetching a paginated API resource a "next" key will be defined in the root "links" object as per the JSON:API specification (see example below). When you reach the end of the record set, the "next" value will not be defined.

"links": {
   "next": "[after]=<some cursor here>",
   "self": ""

Paytron currently supports two pagination structures, page[after] and page[size].


The page[after] parameter returns objects after the cursor given in our ordered set of objects.

The page[size] parameter sets an upper limit to the number of records that will be returned in the request. Paytron will by default return a maximum of 25 records for paginated endpoints.

Note: Paytron does not currently support a page[before] parameter but may add support at a later date.