Outgoing Payment
fun OutgoingPayment(id: UUID, amount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details)
Content copied to clipboard
Create an outgoing payment in a pending status, without any parts yet.
fun OutgoingPayment(id: UUID, recipientAmount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details, parts: List<OutgoingPayment.Part>, status: OutgoingPayment.Status, createdAt: Long = currentTimestampMillis())
Content copied to clipboard
Parameters
id
internal payment identifier.
recipient Amount
total amount that will be received by the final recipient. Note that, depending on the type of the payment, it may or may not contain the fees. See the amount and fees fields for details.
recipient
final recipient nodeId.
details
details that depend on the payment type (normal payments, swaps, etc).
parts
list of partial child payments that have actually been sent.
status
current status of the payment.