Create an invoice
create_invoiceCreates an on-chain crypto invoice with a specified amount, payment currency, and network, returning an invoice ID to bill in crypto or USD and track payment.
Instructions
Create an on-chain invoice (a "request") for a specific amount, currency and network. paymentCurrency picks the token and network, e.g. "USDC-base", "USDC-mainnet", "ETH-sepolia-sepolia" (use find_currency to look IDs up). invoiceCurrency is what the amount is denominated in; it defaults to paymentCurrency, or use "USD" to bill a dollar amount paid in crypto. Returns the invoice ID.
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": "<amount>",
"paymentCurrency": "<paymentCurrency>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | No | Wallet that gets paid. Defaults to REQUEST_PAYEE. | |
| payer | No | Wallet expected to pay (optional). | |
| amount | Yes | ||
| reference | No | Your own note or invoice number, e.g. "INV-042 website". | |
| invoiceCurrency | No | ||
| paymentCurrency | Yes |