create-invoice
Generate a Bolt11 Lightning invoice with a custom amount, description, expiry, and webhook callback to receive Bitcoin payments.
Instructions
Create a bolt11 invoice with a specified amount and description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | The description of the invoice (max. 128 characters). Either description or descriptionHash must be provided. | |
| descriptionHash | No | SHA256 hash of the description. Use instead of description. | |
| amountSat | No | The amount requested by the invoice, in satoshi. If not set, the invoice can be paid by any amount. | |
| expirySeconds | No | The invoice expiry in seconds, by default 3600 (1 hour). | |
| externalId | No | A custom identifier. Use that to link the invoice to an external system. | |
| webhookUrl | No | A webhook url that will be notified when this specific payment has been received. |