Module lightning_invoice::payment
source · Expand description
Convenient utilities for paying Lightning invoices and sending spontaneous payments.
Enums
- An error that may occur when making a payment.
Functions
- Pays the given
Bolt11Invoice
, retrying if needed based onRetry
. - Pays the given
Bolt11Invoice
with a custom idempotency key, retrying if needed based onRetry
. - Pays the given zero-value
Bolt11Invoice
using the given amount, retrying if needed based onRetry
. - Pays the given zero-value
Bolt11Invoice
using the given amount and custom idempotency key, retrying if needed based onRetry
.