How to reactivate a cancelled subscription using the create_checkout_to_update_a_subscription API call?
Problem Statement
You want to reactivate a canceled subscription using the create_checkout_to_update_a_subscription API.
Solution
Use the hosted page checkout API to reactivate a canceled subscription. The approach depends on whether the customer keeps the same plan or switches to a different one.
Same plan price point
Call the API and set reactivate to true. This generates a hosted page to reactivate the subscription for the same plan.
Different plan price point
Use the same API to run checkout and reactivate the subscription with a different plan price point.
Important Notes
Note
The new subscription aligns to the previous subscription's billing cycle if reactivation happens within the billing term. Otherwise, it uses a new billing term. Always pass the correct subscription ID and plan price point ID.
Was this article helpful?