Billing

Cancel a subscription

Stop future charges. The plan stays until the paid period ends.

POST/v1/billing/cancel

Authentication

A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.

Response

200 OK

subscriptionobject

The subscription, with cancel_at_period_end set.

Errors

StatusCodeWhat to do
409no_subscriptionThere's nothing to cancel.
401unauthenticatedLog in first, or log in again.
403csrf_failedSend the csrf_token as X-CSRF-Token.