Cancel subscription
Cancels a subscription. Metered and past-due subscriptions are canceled immediately. Others cancel at the end of the current billing period.
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
255Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Response
Subscription canceled
What the customer told you when they last cancelled from the billing portal. Null if they never did.
ID by default, full object when expanded
ID by default, full object when expanded
ID by default, full object when expanded

