Cancel Subscription
Cancel a subscription. This cancels any of the subscription's orders that are currently scheduled, paused, or payment_failed; no further orders will be placed.
Authorization
X-API-Key Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard.
In: header
Path Parameters
The unique ID for the subscription.
Header Parameters
The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/subscriptions/sub_1a2b3c4d5e/cancel" \ -H "X-Publishable-Key: string"{ "success": true}Get Subscription GET
Get a single subscription by its ID. Results are limited to only show subscriptions authorized by the X-API-Key and X-Publishable-Key.
Pause Subscription POST
Pause a subscription. This transitions the subscription's next `scheduled` order to `paused`, skipping its next billing cycle. Returns an error if the subscription is already paused.