billing
internal
Cancel subscription
In-app cancel modal endpoint. Sets Stripe cancel_at_period_end, stashes the canonical Scanopy reason in subscription metadata, returns the period end so the modal can render the retention disclosure.
post/api/billing/cancel
Request body
Response
Cancellation initiated
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.16.2"
}
}