Outgoing Payment
An outgoing payment sent by this node. The payment may be split in multiple parts, which may fail, be retried, and then either succeed or fail.
Parameters
internal payment identifier.
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.
final recipient nodeId.
details that depend on the payment type (normal payments, swaps, etc).
list of partial child payments that have actually been sent.
current status of the payment.
Constructors
Create an outgoing payment in a pending status, without any parts yet.
Types
A child payment for closing a channel through an on-chain transaction.
A child payment sent by this node (partial payment of the total amount). This payment has a status and can fail.
Functions
Absolute time in milliseconds since UNIX epoch when the payment was completed.