internal
Cancel subscription
Changed onIn-app cancel modal endpoint. Sets Stripe cancel_at to the current period end (via Stripe's MaxPeriodEnd sentinel), 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
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/billing/cancel
- Auth
- API key in header Authorization
- or API key in cookie session_id
Request body
Response
Cancellation initiated
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- info
api tag
billingremoved
- info
- info
endpoint added
- info