botwallet_pay
Send payments to merchants or bots using USDC on Solana. Specify recipient and amount for direct payments, or use a payment request ID for paylinks. Payments complete immediately within spending limits or require owner approval for larger amounts.
Instructions
Make a payment to a merchant or bot. Specify to + amount for direct payments, or payment_request_id to pay a specific paylink. If the payment is within your guard rails, it completes immediately via FROST threshold signing and returns your new balance. If it requires owner approval, returns needs_approval: true with a transaction_id — check botwallet_events for the approval result, then call botwallet_confirm_payment. Always call botwallet_can_i_afford first if unsure about your balance.
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": "botwallet_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient username (required unless using payment_request_id) | |
| amount | No | Amount in USD (required unless using payment_request_id) | |
| payment_request_id | No | Pay a specific paylink by ID (alternative to to+amount) | |
| note | No | Note visible to recipient | |
| reference | No | Your internal reference for tracking | |
| idempotency_key | No | Unique key to prevent duplicate payments on retry. Auto-generated if omitted. |