Create a card top-up link
create_topup_checkoutCreate a card top-up link
A card checkout link (Stripe Checkout) for a person to top up this account. Open the url in a browser; the balance is credited when the payment completes. Card top-ups start at $5, in whole dollars, with no maximum of ours: a smaller amount is raised to $5, and the reply returns the limits (maxUsd is Stripe Checkout's own ceiling for one payment, 999999). When a deposit fee applies, it is added on top of the credit (10 % of it plus $0.30 by card): the link charges payUsd plus any VAT or sales tax. The amount is fixed: Stripe's page shows the credit as one line, and the fee as its own line when there is one. Takes an agent session or a management key like every v1 operation (a model key gets 403 wrong_key_type), and every call is recorded in the activity log. With an Idempotency-Key, a retry returns the first link instead of making another. Also served at /v1/topup/checkout, which also accepts the account's model keys (kl_live_).
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_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amountUsd | No | ||
| idempotencyKey | No | Optional. A unique string so that repeating this call never creates twice. |