/subscriptions/{id}/resume
Takes back a cancellation scheduled for the end of the period. The same subscription keeps renewing on the same day and card, with no new checkout and no second charge. Accepted, not done yet; the gateway is called in the background. cancel_at returns to null right away and the app hears subscription.resumed.
Authorization
Bearer token: an app key from Apps (sk_app_live_… or sk_app_test_…), or the tenant key from Settings (sk_live_… or sk_test_…). The key picks the mode: a live key only sees live data, a test key only sandbox data.
Parameters
The resource id.
Response Body
202Resume requested. The subscription, with no scheduled cancellation.
pending: waiting for the first payment; active: grants access (also while a cancellation is scheduled); past_due: a renewal failed and the gateway is retrying; canceled: ended.
Price per interval, decimal with a dot.
The configuration that handles the payment.
Your own id for the customer, as sent to /connect.
What the product sent with the checkout, echoed back on the subscription and on every renewal cycle.
End of the paid period, when the next renewal is charged. Can be null in subscription.activated; the date then arrives in subscription.updated.
true once a cancellation is scheduled for the end of the period.
When the cancellation was asked for.
When a scheduled cancellation ends it.
The subscription this one replaced (a plan change).
When it ended.
401Missing or invalid secret key.
What went wrong.
404No such resource for this tenant.
What went wrong.
422The subscription has no scheduled cancellation, is being canceled now, is already canceled or has not started yet.
One message per field (idempotency_key, gateway, amount, replaces, subscription or record).