Get By Id — ID bo‘yicha obuna
3. Get by id
GET {base_url}/api/v1/recurrent-payments/{id}
Request header
Field | Optional | Description |
|---|---|---|
Content-Type | false | application/json |
Request sample
curl --location 'base_url/api/v1/recurrent-payments/1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \Response sample (HTTP 200)
{
"code": "SUCCESS",
"data": {
"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": 1758046087591
}