Skip to main content
List endpoints accept page and limit query parameters and return a pagination object alongside the data array.

Request

GET /v1/escrow/transactions?type=sales&page=1&limit=10
ParameterDefaultDescription
page1Page number (1-based).
limit10Items per page.

Response

Paginated payloads nest the records under data.data, with a sibling pagination object:
{
  "status": 200,
  "message": "Transaction fetched successfully",
  "data": {
    "data": [
      { "id": "665f1b2c9a1e4d0012ab3c10", "amount": 150000, "status": "ONGOING" }
    ],
    "pagination": {
      "count": 1,
      "pages": 1,
      "isLastPage": true,
      "nextPage": null,
      "previousPage": null
    }
  }
}
FieldDescription
countTotal number of matching records.
pagesTotal number of pages.
isLastPagetrue when there are no further pages.
nextPageThe next page number, or null on the last page.
previousPageThe previous page number, or null on the first page.
To iterate the full set, keep requesting nextPage until isLastPage is true.