Skip to main content
POST
Create a Stripe Customer Portal session

Authorizations

Authorization
string
header
required

Short-lived JWT issued by the CarHub auth service (Better Auth), verified against its JWKS. Claims: sub (user), org_id (active organisation) and role (owner | admin | member). Used by the dashboard for /mgmt/v1/… only — it is never accepted on /v1/….

Body

application/json
return_url
string<uri>

Where Stripe sends the user back. Defaults to your dashboard billing page.

Response

Session created; redirect the browser to url.

url
string<uri>
required
expires_at
integer<int64>
required

Epoch seconds, UTC.

Example:

1755300000