Skip to main content
POST
Create a Stripe Customer Portal session
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /billing/portal Ensures a Stripe customer exists for the tenant (creating one if needed), then returns a Customer Portal session URL for self-service subscription/payment-method/invoice management. Authorization:
  • Required role: owner only

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Customer Portal session created

status
string
Example:

"success"

message
string
data
object