Pagination
Pagination is supported for all the lists returned by the Mangopay API. Pagination consists in breaking down returned results in pages, hence improving the performance when a lot of information is returned.
Pagination query parameters
The following associations of query parameters and values are used to define the pagination:
Pagination query example:
users/154876/bank-details?page=2&per_page=10
Pagination header information
The following pagination-related information is always available in the response header:
x-number-of-pagesindicates the total number of pages the entire list has been divided into.x-number-of-itemsindicates the total number of items in the entire list.linkprovides links to easily navigate in the pagination (to the first, previous, next, and last pages).
Returned link examples: