Docs

Subscriptions Articles & FAQ

ChargeBee, api, cancellation, renewal

38989385

2018-02-24T03:20:36Z

2023-01-17T08:26:43Z

2098

4

6

232055

How can I cancel a subscription using the APIs?

How can I cancel a subscription using the APIs? 

To do a cancellation via our API, you can use the cancel a subscription API call.

The parameter end_of_term can be used to specify if the subscription should be canceled immediately or on next renewal.

By default, this is set as “false”. So if you don't specify the end_of_term parameter, the subscription will be canceled immediately. Passing this as “true” will move the subscription to Non-Renewing state which means the customer will not be charged anymore and the subscription will be automatically canceled on renewal.

More information here.

Was this article helpful?
Loading…