Skip to main content
POST
Cancel a subscription

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Headers

Idempotency-Key
string

Client-chosen key; replaying the same key + body returns the original response, a different body returns 409.

Body

application/json

Empty request body. The cancel route takes no client-supplied fields; the Stripe customerId is resolved from the token tenant.

Response

Billable subscriptions cancelled (gated on no active programs with creators).

data
object
required

Result of cancelling the tenant's billable subscriptions.