nwc_pay_lnurl
Pay a raw LNURL-pay endpoint (bech32 lnurl1... string) to send satoshis. Decodes the LNURL, resolves the pay request, and applies safety checks: allowlist, budget cap, optional confirmation.
Instructions
Pay a raw LNURL-pay endpoint (bech32 lnurl1... string). Decodes the LNURL, resolves the pay request, then runs the safety pipeline (read-only gate, allowlist check on the LNURL, budget cap, optional two-step confirmation). Use nwc_pay_lightning_address when you have a name@domain.tld instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lnurl | Yes | A raw LNURL string (bech32, starts with lnurl1...; an optional lightning: prefix is stripped). | |
| comment | No | Optional comment, only sent if the endpoint advertises LUD-12 comment support. | |
| amount_sats | Yes | Amount to send in satoshis. Must fall within the endpoint's [min, max] range. |