# veryfront__update_subscription

Change the plan, billing cycle, seats or add-ons of an account; returns what changed, or a checkout URL when the change needs payment. Requires account.billing.manage.

Risk: mutating.

## Arguments

| Name               | Type    | Required | Description                                 |
| ------------------ | ------- | -------- | ------------------------------------------- |
| `type`             | string  | Yes      | Subscription tier to upgrade to.            |
| `cycle`            | string  | Yes      | Billing cycle                               |
| `quantity`         | integer |          | Seat quantity for licensed subscriptions    |
| `server_quantity`  | integer |          | Recurring server add-on quantity            |
| `sandbox_quantity` | integer |          | Recurring sandbox add-on quantity           |
| `success_url`      | string  |          | URL to redirect to after successful payment |
| `cancel_url`       | string  |          | URL to redirect to if payment is canceled.  |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_subscription",
    "arguments": {
      "type": "<type>",
      "cycle": "<cycle>"
    }
  }
}
```
