Create billing portal session
Open a Stripe Customer Portal session for self-service subscription management — payment methods, invoice history, and subscription cancellation. Requires the BILLING role or organization ownership. If the organization has no Stripe customer record yet, one is created on the fly.
Authorizations
Path Parameters
UUID of the organization.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Body
Request body for opening a Stripe Customer Portal session.
Absolute URL Stripe Customer Portal redirects the customer back to after they finish managing their subscription (e.g. updating a payment method, downloading invoices, or self-service cancelling).
Response
OK
Response for POST /billing/resolver/{organization_id}/portal.
Stripe-hosted Customer Portal URL. Single-use; expires after a short window. The customer manages their subscription, payment methods, and invoices on Stripe's side — Closient receives webhooks for any state changes that result.