Create a checkout link
create_checkout_linkCreate a Stripe Checkout link for a plan.
Returns a URL. It does not charge anyone — the user has to open it and enter payment details themselves. Show them the plan, its price and what it changes before handing the link over.
Creating a link for an email that already has a company attaches the subscription to that existing company.
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": {
"stripe_price_id": "<stripe_price_id>",
"email": "<email>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Billing email. The company is found or created from it. | ||
| coupon_id | No | ||
| company_name | No | ||
| redirect_url | No | Where Stripe sends the user after paying. | |
| stripe_price_id | Yes | From list_plans. | |
| redirect_url_cancel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_step | Yes | ||
| session_id | No | ||
| checkout_url | Yes |