nwc_multi_pay_invoice
Pay multiple bolt11 invoices in one call, with independent safety checks and upfront budget sum validation. Failing any pre-check or budget cap rejects the entire batch before any payment.
Instructions
Pay multiple bolt11 invoices sequentially in one tool call. Each invoice is decoded and safety-checked independently; the batch sum is checked against the daily and total budget caps upfront. If any pre-check or sum check fails, no payments are sent. Execution is per-invoice — a failure mid-batch does not roll back already-settled invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoices | Yes | Array of invoices to pay sequentially. Each is decoded + safety-checked independently. The batch's *sum* is checked against the daily budget before any payment runs; if the sum would exceed the cap, the entire batch is rejected before any HTLC is sent. |