API Reference
Activate a paid plan using saved payment method (no redirect)
AuthorizationBearer <token>
Enter your JWT token
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/billing/activate-plan" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "ws_abc123", "tier": "pro", "interval": "month" }'{
"success": true,
"tier": "pro",
"status": "active"
}