Create a wallet top-up invoice
top_upAdd funds to the account wallet: creates an unpaid funding invoice in the account currency and returns pay_url, a client-area link where the person pays it. Nothing is charged by this tool; the wallet grows only once the person pays. Agree the amount with the person first. amount_minor is whole minor units (1000 = 10.00). Needs a key with billing:pay and billing:read.
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_minor": "<amount_minor>",
"request_id": "<request_id>"
},
"name": "top_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. | |
| amount_minor | Yes |