OutgoingPayment
constructor(id: String, createdAt: Instant, updatedAt: Instant, status: TransactionStatus, amount: CurrencyAmount, resolvedAt: Instant? = null, transactionHash: String? = null, fees: CurrencyAmount? = null, paymentRequestData: PaymentRequestData? = null, failureReason: PaymentFailureReason? = null, failureMessage: RichText? = null)
Parameters
id
The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.
createdAt
The date and time when this transaction was initiated.
updatedAt
The date and time when the entity was last updated.
status
The current status of this transaction.
amount
The amount of money involved in this transaction.
resolvedAt
The date and time when this transaction was completed or failed.
transactionHash
The hash of this transaction, so it can be uniquely identified on the Lightning Network.
fees
The fees paid by the sender node to send the payment.
paymentRequestData
The data of the payment request that was paid by this transaction, if known.
failureReason
If applicable, the reason why the payment failed.
failureMessage
If applicable, user-facing error message describing why the payment failed.