Create a top-up payment link
create_topup_linkCreate a hosted Stripe checkout link for a prepaid top-up. A human must open the link and pay; no money moves until they do. Needs an API key with the billing:topup scope.
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 |
|---|---|---|---|
| package_id | No | Top-up package from get_pricing, for example pilot or growth. Defaults to pilot | |
| idempotency_key | No | Optional key; retries with the same key return the same link instead of creating a new one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credits | Yes | ||
| next_step | Yes | ||
| expires_at | No | ||
| package_id | Yes | ||
| checkout_url | Yes | ||
| price_usd_cents | Yes |