Make a checkout link
create_checkout_linkMake a Dodo Payments checkout link for a plan, for the person to open and pay in their browser (owner only, admin scope). Never ask for or handle card data: give the person the link. With an active plan, this changes the plan instead (Dodo bills the difference, or nothing during the free trial; an account with a discount keeps it on another plan at 10k, 100k or 200k, and a larger tier ends it). Ask the user which plan (starter or growth), tier (monthly events) and interval (month or year) first; get_billing lists the prices. Needs confirm: true; without it the tool only describes the plan and price.
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>",
"tier": "<tier>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | starter (1 site, 1 person) or growth (30 sites, 30 people). | |
| tier | Yes | Monthly events: 10k, 100k, 200k, 500k, 1m, 2m, 5m or 10m. | |
| confirm | No | Set to true to really do it. Without it, the tool only describes what it would do. | |
| interval | No | month or year (a year costs 10 months). | month |
| idempotency_key | No | A fresh UUID for this create. Send the same value when you retry the same call: the first result comes back and nothing is created twice. |