Create a checkout link
create_checkout_linkCreate a Stripe Checkout link for a self-serve Rankwise plan (starter, growth or scale) for this workspace's account, and give it to the person. Nothing is charged by this call: the person opens the link and pays in their browser. If the account already has an active plan, the link opens the billing page to confirm the plan change instead. Agency plans are set up with the Rankwise team. Send a unique idempotency_key and reuse it on a retry.
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>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| plan | Yes | ||
| charged | Yes | ||
| plan_name | No | ||
| checkout_url | Yes | ||
| price_usd_per_month | No |