Get List — obunalar ro‘yxati
2. Get list
GET {base_url}/api/v1/recurrent-payments
Request header
Field | Optional | Description |
|---|---|---|
Content-Type | false | application/json |
Request params
Field | Optional | Description |
|---|---|---|
page | true | Page. Default 0 |
size | true | Size |
cardToken | true | Card’s token |
from | true | From |
to | true | To |
Request sample
curl --location 'base_url/api/v1/recurrent-payments?page=0&size=1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \Response sample (HTTP 200)
{
"code": "SUCCESS",
"data": {
"pageNumber": 0,
"previous": false,
"next": false,
"size": 10,
"totalElements": 3,
"totalPages": 1,
"items": [
{
"id": 1,
"cardToken": "card token",
"amount": 100000,
"cronType": "MONTHLY",
"startDate": "2025-11-01",
"endDate": null,
"maxRetryCount": 3,
"description": "",
"nextRunDate": "2025-11-01T04:00:00Z",
"createdDate": "2025-10-28T14:00:00Z"
}
]
},
"timestamp": 1727115804488
}