create_invoice
Create an invoice for purchasing digital products, gift cards, and mobile top-ups using payment methods such as bitcoin, lightning, ethereum, or balance.
Instructions
Create a new invoice for purchasing products with various payment methods
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": {
"products": "<products>",
"payment_method": "<payment_method>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_pay | No | Optional: Automatically pay with balance | |
| products | Yes | Array of products to include in the invoice | |
| webhook_url | No | Optional: URL for webhook notifications | |
| payment_method | Yes | Required payment method. Available methods: balance, lightning, bitcoin, eth_base, usdc_base |