create_invoice_usd
Generate a Lightning invoice denominated in satoshis that credits a specified USD amount to a Blink USD wallet, enabling Stablesats payments.
Instructions
Create a Lightning invoice to receive a specific amount in USD cents (Stablesats). The invoice will be denominated in satoshis but credited as USD.
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": {
"wallet_id": "<wallet_id>",
"amount": "<amount>"
},
"name": "create_invoice_usd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo/description for the invoice | |
| amount | Yes | Amount in cents (USD) to receive | |
| wallet_id | Yes | The USD wallet ID to receive funds | |
| expires_in | No | Invoice expiration time in minutes (default: 5 minutes for USD) | |
| external_id | No | Optional external reference ID for tracking |