Pagination

All GET based endpoints that return a list of resources support pagination. The default pageSize is 20. If not specified returned all data matching the criteria for maximum of 6 months.

Query Parameters

Parameter

Type

Description

pageSize

integer

The number of results to retrieve. Must be between 1 and 250 (inclusive). Default value is 20.

pageNo

integer

The position to start the results at. The first result has a position of 0. Default value is 0.

RESPONSE

Parameter

Type

Description

PageSize

integer

The number of results that this page was limited to.

PageNo

integer

The position of the first result retrieved for this page.

TotalPages

integer

The total number of pages matching the given criteria.

PaymentResponseList

array

A page of matching results. This may be a subset of the total.

Example Request

cURL
cURL https://apistaging.wizit.money/v1/Payment \
  -H 'API-KEY: < F978D6E8-387B-46F1-9CA4-4F6E0B35634D >' \
  -H 'Accept: application/json'

Example Response

{
    "pageNo": 10,
    "pageSize": 20,
    "totalPages": 10,
    "paymentResponseList":  [
    ...
  ],
    "responseCode": 200,
    "errorCode": null,
    "errorMessage": null

}