Management
Create a Stripe Customer Portal session
Returns a hosted portal URL where the user can update or remove the saved card and download past invoices.
Authorization
BearerAuth AuthorizationBearer <token>
Clerk session token (dashboard/management routes). In local dev mode use the X-Dev-User header instead.
In: header
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/manage/billing/portal"{ "url": "string"}{ "error": { "code": "invalid_api_key", "message": "The provided API key is invalid or has been revoked." }}{ "error": { "code": "invalid_api_key", "message": "The provided API key is invalid or has been revoked." }}