Create checkout link
create_checkout_sessionGet a Stripe checkout link for a paid plan, for an account on the free plan. Give the link to the user to open and pay; nothing is charged until they do. To change or cancel a paid plan, use create_billing_portal_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>",
"interval": "<interval>"
},
"name": "create_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| interval | Yes |