Cancel subscription

An active subscription can be cancelled. When the subscription will expire is determined by possible notice and fixation period defined for the plan, or optional overriding notice period defined in the cancel request. By default the subscription will expire at the end of the current billing period. Cancelling a subscription in trial will always result in an expire at the end of the trial period.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
12404Subscription not found
13400Subscription expired, must be active
95400Subscription on-hold, must be active
22400Subscription already cancelled
93400Cannot expire in current period. A custom expires at has been provided that is in the current period.
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!