Requests that return multiple items will be paginated to 25 items by default. You can specify subsequent pages with the page query parameter. For some resources, you can also set a custom page size up to 100 with the per_page parameter. A top-level object in the response body named links will contain full URLs to access the next and previous pages of the response.
{
...
"links": {
"next": "https://api.example.com/v1/accounts?page=2",
"previous": "https://api.example.com/v1/accounts?page=1"
}
...
}
For endpoints that return resources that have an inherent temporal order (for example transactions, for which one transaction must follow another), cursors are supported. The before and after query parameters allow cursor-like pagination, where the value of each is the ID of the resource to continue pagination.