Add credits
add_creditsStart a credit top-up of $10 to $1,000. THIS SPENDS MONEY once a person pays. Returns a Stripe checkout link that a person must open; the credits arrive after payment and buy_leads then spends them. Needs an API key.
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": {
"amount_usd": "<amount_usd>"
},
"name": "add_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_usd | Yes | Top-up amount in US dollars, 10 to 1000. | |
| idempotency_key | No | Optional. Send the same value when retrying after a timeout so you are never charged twice for one purchase. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_step | Yes | ||
| amount_usd | No | ||
| expires_at | No | ||
| session_id | No | ||
| balance_usd | No | ||
| checkout_url | Yes | A person must open this page to pay. | |
| url_elicitation | No |