Create a credit top-up link
create_topup_linkCreate a Stripe Checkout link to top up this account's credit balance by a round amount in the account's own currency: pass amount (whole units of that currency, excluding VAT) together with currency (ISO code, the same as get_balance topup.currency). Read the suggested amounts, the credit each adds and the custom range from get_balance topup first; a currency that does not match the account is rejected with invalid_amount. The credit added is the amount times the fixed exchange rate and the card is charged that amount plus the account's VAT (none on EU reverse charge, a verified foreign EU VAT id); the response gives creditHal (credit added) and totalMinor (the total charged including VAT, in minor units of currency: cents, grosze, ore; ISK in hundredths of a krona) - tell the customer the actual charge, not just amount. amountCzk is the legacy alternative (whole credits, 100 to 20000, for Czech accounts equal to CZK): on an account outside CZK it charges a non-round amount in the account currency and the result carries a warning, so prefer amount with currency. Send amount with currency, or amountCzk, never both. This only returns a URL - nothing is charged until the customer opens it and pays themselves; no card is touched from here. Requires a complete billing address on the account (billing_address_required otherwise - a tax document cannot be issued without one). Same data as POST /v1/credit/topup (response schema in /openapi.json).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_topup_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Round top-up amount in whole units of the account currency, excluding VAT, for example 20 on a EUR account. Send it with currency. Accepted: get_balance topup.amounts, or a custom amount within topup.custom (min, max, step); anything else is invalid_amount. | |
| currency | No | ISO 4217 code of the account currency, the same as get_balance topup.currency, for example EUR. Required with amount. | |
| amountCzk | No | Legacy: credit to add in whole credits (1 credit = 1 CZK at the Czech rate), 100 to 20000. On an account outside CZK this is a non-round charge in the account currency, so prefer amount with currency. Do not send it together with amount. |