Create a monthly plan checkout link
create_subscription_linkCreate a Stripe Checkout link that starts a monthly plan. Tiers: 490 (490 CZK per month for 600 CZK of monthly credit), 990 (990 CZK per month for 1,300 CZK of monthly credit), 1990 (1,990 CZK per month for 2,800 CZK of monthly credit), all excluding VAT. Each paid month grants the tier's monthly credit; unused monthly credit expires at the end of the period and is non-refundable (a consumer who withdraws within 14 days pays only a proportional part, see the terms, Section 11), while topped-up credit is separate and never expires. exhaustionMode decides what happens once the monthly credit is used up: topup buys 200 CZK of credit (excluding VAT) from the saved card whenever the balance falls under 100 CZK, cap buys nothing and rejects outgoing actions with subscription_cap_reached. There is no default - ask the customer. This only returns a URL - nothing is charged from here: the customer opens it, pays the first month in Checkout, and the card is saved for the following months. The card is charged the tier price plus 21% Czech VAT, unless the account is on EU reverse charge, where the two are equal. Requires a complete billing address on the account (billing_address_required otherwise) and a plan that is offered to the account (pausal_unavailable otherwise). For a consumer account (no company ID, VAT ID or company name) no Checkout link is created: the call returns a confirmUrl to the plan form in the portal, where the person expressly asks to start the service before the 14-day withdrawal period ends, chooses exhaustionMode and pays; give that link to the customer. The Checkout page shows the plan terms (the recurring charge at the price list valid on the day of the charge, the expiry of the monthly credit and the chosen behaviour after exhaustion), so the customer confirms them by paying. Fails with subscription_exists when a plan is already running. Same data as POST /v1/subscription/checkout (response schema in /openapi.json).
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": {
"tier": "<tier>",
"exhaustionMode": "<exhaustionMode>"
},
"name": "create_subscription_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | Plan tier: 490, 990 or 1990, which is the monthly price in CZK excluding VAT. get_subscription lists the monthly credit each tier grants. | |
| exhaustionMode | Yes | What happens once the monthly credit is used up: topup buys credit from the saved card, cap buys nothing and rejects outgoing actions. There is no default, ask the customer. | |
| consumerConsent | No | Kept for compatibility, no longer needed: a consumer account (no company ID, VAT ID or company name) gets a confirmUrl to the portal form instead of a Checkout link and makes the request to start the service there in person. Business accounts omit it. |