POST /api/v1/billing/portal
Requires billing.read permission. Creates a Stripe billing portal session where users can update payment methods, view invoices, and manage their subscription. Redirect the user to the returned URL.
Request body
URL to redirect the user to when they exit the billing portal. Must be a valid URI.
Response
Stripe billing portal URL. Redirect the user to this URL.
Errors
| Status | When |
|---|---|
401 | Missing or invalid Bearer token |
403 | Caller lacks billing.read permission |
409 | No Stripe customer exists for this organization yet. Create a checkout session first. |