Checkout URL
billing_checkout_urlGenerates a Stripe Checkout or Billing Portal URL for a selected plan and billing interval so a person can open it in a browser to pay or confirm the plan change.
Instructions
Hosted instances: a Stripe Checkout URL for a plan (or, when the account already pays, the Billing Portal page that confirms the plan change). Returns { url, kind: "checkout" | "change" }; a person must open it in a browser, an agent cannot pay. Plans and intervals come from get_billing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan": "<plan>"
},
"name": "billing_checkout_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan name from get_billing (e.g. creator, pro) | |
| interval | No | Billing interval: month (default) or year | month |
| fromProjectId | No | The project the upgrade is for: once the plan changes it is finished and rendered without the watermark by itself |