Getting Information About Subscription
https://unitpay.ru/api?
method=getSubscription
params[subscriptionId]=123456789
params[secretKey]=keyPath Parameters
Name
Type
Description
Successful response
{
"result": {
"subscriptionId": 123456,
"description": "test_description",
"status": "active",
"startDate": "2024-09-01 09:00:00",
"successPayments": 4,
"failPayments": 0,
"lastPaymentId": 12345678911,
"lastDateUpdate": "2024-09-15 19:30:00",
"parentPaymentId": 12345678910,
"totalSum": 50
}
}
Incorrect response
Last updated
Was this helpful?