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

Description

POST /billing/downgrade Requires an existing active subscription and Stripe customer, then returns a Customer Portal URL where the tenant completes the downgrade themselves. Does not change the plan directly. 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 URL generated

status
string
Example:

"success"

message
string
data
object