Create checkout link
create_checkoutStart a first subscription for a workspace that has none, e.g. when get_credits shows too few credits. Take price_id from list_plans; currency picks one of that plan's fixed local prices and buyer decides VAT handling for EU and UK buyers. This call charges nothing: it returns a Stripe checkout url for the user to open and pay, and the plan's photos are added once the payment completes. For a workspace that already subscribes it returns already_subscribed; use change_plan there instead. Needs an OAuth sign-in: with an API key it returns an error pointing to the app.
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": {
"price_id": "<price_id>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | EU and UK buyers: `business` collects a VAT number (reverse charge), `personal` adds VAT. | |
| currency | No | A key of the plan's `currency_options` (e.g. `eur`) to pay the fixed local price. Omit for USD. | |
| price_id | Yes | A `price_id` from list_plans. |