billing
Delete Billing Customer
Delete the org's Stripe customer + saved payment methods on org deletion.
Owner-gated; the frontend org-delete flow calls this BEFORE removing the org row (the org_billing row that holds the stripe customer id cascade-deletes with the org). Best-effort by design: failures here are logged and surfaced but must not block the rest of org teardown.
delete/api/billing/customer
Query parameters
orgIdstring required
Response
Successful Response
object required