add_funds
Generate a secure checkout link the user opens to add cash to their own balance (the money that funds new cards) via Apple Pay, Google Pay, or a bank transfer (ACH or wire from a US bank account), in USD. Calling this tool moves NO money and initiates NO transfer: it only prepares a single-use hosted payment page — the exact equivalent of the user clicking 'Add funds' in the dashboard. The user personally reviews, authorizes, and completes (or abandons) the payment in their own browser with their own payment method; you never see or handle payment credentials. If a one-time phone verification is needed first, this tool automatically sends the user a code and tells you where it went: ask the user for the code, call verify_phone with it, then call add_funds again.
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_cents": "<amount_cents>"
},
"name": "add_funds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_cents | Yes | Amount to add in cents (e.g. 5000 = $50.00). Typical range: $20.00 to $10,000.00 (2000 to 1000000 cents); the exact range depends on the active funding provider and is returned by the API when the amount is invalid. | |
| payment_method | No | Payment method: apple_pay or google_pay for an instant wallet checkout (ask which one their device has; apple_pay when unknown), or ach / wire when the user wants to pay by bank transfer from their US bank account (ACH arrives in 1-3 business days, wire usually same day; minimum $10). Bank transfers need the user's identity verified first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable result or next step. | |
| amountUsd | No | Amount of the created checkout in USD. | |
| checkoutUrl | No | Single-use payment link to hand the user verbatim (present when a checkout was created). |