Buy credits
create_topup_checkoutOpen a Stripe Checkout to buy a credit pack.
credits is 10000, 20000, 50000, or 100000, at $1 per 1,000 credits. The default is 10000 ($10). amount is a whole number of dollars from 10 to 1000, at the same rate, when the amount is not one of those packs. Pass credits or amount, not both. Returns a Checkout URL and a session id. Pass that id to get_topup_status. Each call creates a new session.
Talk to the user in plain words: no tool, parameter or field names. Say "the American Spend model", never "panel" or a data source.
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 |
|---|---|---|---|
| amount | No | A whole number of dollars from 10 to 1000, at $1 per 1,000 credits. Use this instead of credits. | |
| credits | No | Credits to buy, at $1 per 1,000. One of 10000, 20000, 50000, 100000. Defaults to 10000 ($10). |