Open the Stripe Customer Portal
Returns the URL of the Stripe Customer Portal, for invoices and payment methods. Requires organization:update. Answers 404 before the organization’s first checkout.
POST
/organizations/{organizationId}/billing/portalAuthorization
AuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
Path parameters
organizationIdstring<uuid>requiredRequest body
requiredapplication/jsonreturn_urlstring<uri>requiredA console URL Stripe returns to.
Responses
200
The Stripe page to open.
urlstring<uri>requireddefault
The request failed.
errorstringrequiredStable machine-readable code.
Allowed:
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.