Closing a Subscription
GET https://unitpay.ru/api
method = closeSubscription
subscriptionId = 123456789
secretKey = keyRequired parameters
Name
Type
Description
subscriptionId
integer
Subscription ID in the UnitPay system
secretKey
string
Secret key, available in the project settings
Examples of responses to a request
{
"result": {
"message": "Subscription successfully closed"
}
}{
"error": {
"message": "Error description"
}
}Last updated
Was this helpful?