Create checkout link
create_checkout_linkPrepare a Stripe-hosted subscription Checkout URL. It never charges a card. Draft plans, missing owner approval, unavailable covered agents, or missing recurring Price IDs fail closed without creating a session.
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_id": "<plan_id>",
"account_ref": "<account_ref>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan id, for example starter-seat; see list_plans. | |
| account_ref | Yes | Your reference for the account, for example an email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |