How do I resume a cancelled subscription using the API. I have tried calling ResumeSubscription, but the error response is “must either have a DEACTIVATED
or PAUSED
state, or have a pause scheduled to be resumed”?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
https://developer.squareup.com/docs/app-marketplace/requirements/subscriptions-api
Additional Documentation
Archive Catalog Items and Manage Archived Items
Create and Manage Bookings
Square API Lifecycle
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
To resume a cancelled subscription using the API, the subscription must be in a ‘DEACTIVATED’ or ‘PAUSED’ state, or have a pause scheduled. If the subscription is in a ‘CANCELLED’ state, it cannot be resumed. You would need to create a new subscription for the customer. The ResumeSubscription endpoint is used to resume subscriptions that have been paused or deactivated, but not those that have been cancelled.
This answer was reviewed by @Bryan-Square.