Link header, following the RFC 8288 standard. The Link header is unrelated to Fintoc Link objects.
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.
Pagination v1
Endpoints in the/v1 namespace, such as List links, use offset pagination. The Link header in this namespace lets you navigate to the next, previous, first, and last page:
Link Header
rel values are:
Pagination in V2
Endpoints in the/v2 namespace, such as List Transfers, use cursor-based pagination. In this namespace, the Link header only allows navigation to the next page in the list:
Link Header
rel values are:
If
Link is empty, it means there are no more pages.
Automatic pagination
The Node SDK and Python SDK support automatic pagination. This feature allows you to iterate through large lists of resources without having to manually perform the requests to fetch subsequent pages:Node
Python
Other libraries
If you use other languages or don’t want to use our SDK, the following libraries parse theLink header so that you don’t have to: