billing

Cancel Subscription Endpoint

Cancel subscription (downgrade to free plan).

By default, cancels at the end of the billing period so the user keeps access until then. Set cancel_at_period_end=False for immediate cancellation.

post/api/billing/cancel-subscription

Request body

product_idstring required
cancel_at_period_endboolean

Response

Successful Response

subscription_idstring required
statusstring required
messagestring required
cancel_atinteger nullable

Changes