Get Attempts — yechish urinishlari
7. Get attempts by recurrent payment id
GET {base_url}/api/v1/recurrent-payments/attempts/{id}
Request header
Field | Optional | Description |
|---|---|---|
Content-Type | false | application/json |
Request sample
curl --location 'base_url/api/v1/recurrent-payments/attempts/7540fd88-66d8-4038-8b6c-61a418c0d58e' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \Response sample (HTTP 200)
{
"code": "SUCCESS",
"data": [
{
"createdDate": "2025-10-25",
"attempts": [
{
"amount": 100000,
"operationStatus": "FAILED",
"operationId": "947f59de-6645-4352-966f-2211816eef2e"
},
{
"amount": 100000,
"operationStatus": "SUCCESS",
"operationId": "947f59de-6645-4352-966f-2211816eef2e"
}
]
},
{
"createdDate": "2025-10-26",
"attempts": [
{
"amount": 100000,
"operationStatus": "FAILED",
"operationId": "947f59de-6645-4352-966f-2211816eef2e"
},
{
"amount": 100000,
"operationStatus": "FAILED",
"operationId": "947f59de-6645-4352-966f-2211816eef2e"
}
]
},
{
"createdDate": "2025-10-27",
"attempts": [
{
"amount": 100000,
"operationStatus": "SUCCESS",
"operationId": "947f59de-6645-4352-966f-2211816eef2e"
}
]
}
],
"timestamp": 1752838693794
}