account

US-6 self-service cancel. Transitions the JWT-derived workspace's canonical Subscription to `cancel_at_period_end`. Stripe-side cancellation happens through the existing UX path; the adapter mirrors back when the Stripe webhook fires (idempotent on status).

post/billing/cancel

Request

  • Base URL: https://api.thebridge.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.thebridge.dev/billing/cancel
  • Auth: none declared

Response

idstring required
workspaceIdstring required
status'trial' | 'active' | 'past_due' | 'cancel_at_period_end' | 'canceled' required
createdAtstring date-time required
endsAtstring
gateEngagedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.