Pagination
Overview
REST API list endpoints use page-based pagination.
Pagination defaults and limits:
defaultPage: 1
defaultSize: 10
maxSize: 1000
Request Parameters
| Name | Type | Required | Default | Max | Description |
|---|---|---|---|---|---|
page | number | No | 1 | - | Page number to return. |
size | number | No | 10 | 1000 | Number of records to return per page. |
Response Paging
List responses include a paging object with pagination metadata.
{
"paging": {
"size": 20,
"page": 1,
"count": 4,
"limit": 20,
"totalCount": 4,
"totalPages": 1
}
}
| Field | Type | Description |
|---|---|---|
size | number | Requested page size. |
page | number | Current page number. |
count | number | Number of records returned in the current page. |
limit | number | Applied page size limit. |
totalCount | number | Total number of records matching the query. |
totalPages | number | Total number of pages matching the query. |
Example
GET /external/v1/withdrawal-intents?page=1&size=20
{
"code": "ok",
"message": "Ok.",
"paging": {
"size": 20,
"page": 1,
"count": 4,
"limit": 20,
"totalCount": 4,
"totalPages": 1
},
"data": []
}
Notes
countis the number of records returned in the current page.totalCountis the total number of records matching the query.totalPagesis the total number of pages matching the query.limitis the applied page size limit.- Pagination fields appear on list responses.