wdk_create_ln_invoice
Create a BOLT11 Lightning invoice to receive Bitcoin payments through the Lightning Network, with customizable amount in millisatoshis, description, and expiration time.
Instructions
Create a BOLT11 Lightning invoice to receive BTC via Lightning Network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry_sec | No | Invoice expiry in seconds (default: 3600) | |
| amount_msat | No | Amount in millisatoshis. Omit for a zero-amount invoice. | |
| description | No | Invoice description / memo |