Changes the tier of a tracked account with automatic Stripe proration
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer ctgo_your_api_key_here |
Content-Type | Yes | application/json |
| Parameter | Type | Description |
|---|---|---|
id | integer | The tracked account ID |
| Field | Type | Required | Description |
|---|---|---|---|
newTier | string | Yes | "starter", "growth", or "pro" |
| Field | Type | Description |
|---|---|---|
account | object | The updated tracked account |
action | string | "upgraded", "downgrade_scheduled", or "pending_cancelled" |
effectiveAt | string | ISO 8601 date when a scheduled downgrade takes effect (only for downgrade_scheduled) |