PayInvoiceInput

@Serializable
data class PayInvoiceInput(val encodedInvoice: String, val timeoutSecs: Int, val maximumFeesMsats: Long, val amountMsats: Long? = null)

Parameters

encodedInvoice

The invoice you want to pay (as defined by the BOLT11 standard).

timeoutSecs

The timeout in seconds that we will try to make the payment.

maximumFeesMsats

The maximum amount of fees that you want to pay for this payment to be sent, expressed in msats.

amountMsats

The amount you will pay for this invoice, expressed in msats. It should ONLY be set when the invoice amount is zero.

Constructors

Link copied to clipboard
constructor(encodedInvoice: String, timeoutSecs: Int, maximumFeesMsats: Long, amountMsats: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val amountMsats: Long? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard