Cancel subscription
POST /Http/Services/CancelSubscription.aspx
Cancels a subscription on the partner’s initiative. The subscription is
identified by SubscriptionID, or Subscriber_MSISDN, or SubscriberID.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
Now | string | yes | Current UTC time in yyyyMMddHHmmss format. |
Signature | string | yes | Request signature: LOWERCASE(HMACSHA256(SecretKey, SubscriptionProjectID + Now)). |
SubscriptionProjectID | integer (int32) | yes | Subscription project ID. |
SubscriptionID | integer (int64) | — | Subscription ID. Pass one of SubscriptionID, Subscriber_MSISDN or SubscriberID. |
Subscriber_MSISDN | string | — | Subscriber MSISDN. Pass one of SubscriptionID, Subscriber_MSISDN or SubscriberID. |
SubscriberID | integer (int64) | — | Unique subscriber ID in the System. Pass one of SubscriptionID, Subscriber_MSISDN or SubscriberID. |
SendSmsNotification | string | — | Optional, default true. If true, the user gets an SMS about the cancellation (no more than once). |
ClientIP | string | — | IP address of the user who initiates the request. |
Response codes
| Code | Description |
|---|---|
200 | Result in StatusName |
500 | Internal platform error |