pay_invoice
Pay BOLT11 Lightning invoices directly and receive proof of payment, enabling autonomous transactions for API access, resources, and payments without L402 protocol overhead.
Instructions
Pay a Lightning invoice directly and get the preimage as proof of payment. Use this to pay any BOLT11 Lightning invoice without L402 protocol overhead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | BOLT11 Lightning invoice string to pay | |
| max_sats | No | Maximum satoshis allowed to pay. Defaults to 1000 | |
| confirmed | No | Set to true to confirm a payment that requires approval. Use when previous call returned requiresConfirmation=true. |