Pay Lightning Invoice
pay_invoicePay a BOLT11 Lightning invoice with a max-sats safety limit; returns the payment preimage on success.
Instructions
Pay a BOLT11 Lightning invoice. Returns the payment preimage on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | BOLT11 Lightning invoice string (starts with lnbc…) | |
| maxSats | No | Maximum sats to pay (safety limit). Defaults to LIGHTNING_MAX_SATS env or 1000. |