For the complete documentation index, see llms.txt. This page is also available as Markdown.

Closing a Subscription

GET https://unitpay.ru/api

method         = closeSubscription
subscriptionId = 123456789
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"
   }
}
{
   "error": {
      "message": "Error description"
   }
}

Last updated

Was this helpful?