Get Billing Portal
GET /v1/billing/portal
Get Stripe billing portal URL for customer self-service.
Returns a portal URL for users with active subscriptions. Returns 400 error if user has no active subscription - frontend should handle this gracefully by showing upgrade prompts instead.
Parameters
Name | Type | Required | Description |
---|---|---|---|
X-API-Key | string | No |
Responses
200
Successful Response
{}
422
Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}