By default, Fintoc paginates 30 elements on each response from a List endpoint, such as the endpoint to List Movements. The API also returns the pagination information using the
Link header, following the RFC standard. Beware: the
Link header has nothing to do with Fintoc Links. It is just an unfortunate name collision 😕.
For each paginated request, the API returns the pagination information using the
Link header. This header contains one or more URLs that direct to different pages.
Link: <https://api.fintoc.com/v1/links?page=1>; rel="first", <https://api.fintoc.com/v1/links?page=2; rel="next"
rel values are:
|Link that leads to the next page of the resource|
|Link that leads to the last page of the resource|
|Link that leads to the first page of the resource|
|Link that leads to the previous page of the resource|
The following libraries parse the
Link header so that you don't have to: