billing_checkout_create
A hosted Stripe Checkout URL for upgrading the organisation to a paid plan. For an organisation that has never paid, nothing changes yet: the plan updates when Stripe confirms the subscription. For one that already pays, the existing subscription changes plan in place straight away, with no Checkout page.
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>",
"success_url": "<success_url>",
"cancel_url": "<cancel_url>"
},
"name": "billing_checkout_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to subscribe to. | |
| confirm | No | Required for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would. | |
| dry_run | No | Return the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before. | |
| cancel_url | Yes | Where Stripe redirects the customer if they back out. | |
| success_url | Yes | Where Stripe redirects the customer after a completed payment. | |
| idempotency_key | No | Replaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money. |