Pagination makes it possible to obtain the elements of a very large list more efficiently, reducing response times and resource consumption. The returned list represents a collection of objects in a format that allows us to page efficiently.

List Object


next_page_urlstringURL of the next page.
previous_page_urlstringUrl for the previous page.
has_morebooleanTrue if exist more pages
objectstringObject type for this case, List
dataarrayCollection with the result
//Pagination example

  "next_page_url": "",
  "previous_page_url": "",
  "has_more": true,
  "object": "list",
  "data": [{
    "id": "src_2fw8YeLSqoaGEYTn3",
    "object": "source",
    "type": "card",
    "created_at": 1597069683,
    "last4": "4242",
    "exp_month": "12",
    "exp_year": "19",
    "brand": "VISA",
    "name": "Jorge Lopez",
    "parent_id": "cus_zzmjKsnM9oacyCwV3"