Skip to content

Change subscription tier

PATCH
/api/v1/billing/subscription

Updates the organization's subscription tier and optionally allocates the new tier's monthly XCT tokens immediately. Admin only.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"tier": "string",
"allocate_immediately": false
}

Responses

Successful Response

application/json
JSON
{
"subscription_balance": "string",
"topup_balance": "string",
"total_balance": "string",
"subscription_tier": "string",
"overage_enabled": true,
"token_rate_multiplier": "string"
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

XC AI Content Automation