Closing a Subscription

GET

https://unitpay.ru/api?    
    method=closeSubscription
    params[subscriptionId]=123456789
    params[secretKey]=key

Required 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"
   }
}

Last updated

Was this helpful?