Update — obunani o‘zgartirish
4. Update
PATCH {base_url}/api/v1/recurrent-payments/{id}
Request Body
Name | Optional | Description |
|---|---|---|
amount | false | Charge amount |
maxRetryCount | false | Yechish muvaffaqiyatsiz bo‘lganda takroriy urinishlar soni (masalan, mablag‘ yetarli bo‘lmaganda). |
description | true | Optional short description |
cardToken | false | Karta tokeni |
Request Body
{
"amount": 100000,
"maxRetryCount": 3,
"description": "",
"cardToken": "card token"
}Response Body
{
"id": "0a6ecad6-7ee1-4baa-8095-47bbda0fe6e2",
"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"
}