IncomingPayment

constructor(id: String, createdAt: Instant, updatedAt: Instant, status: TransactionStatus, amount: CurrencyAmount, resolvedAt: Instant? = null, transactionHash: String? = null, paymentRequestId: EntityId? = 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.

paymentRequestId

The optional payment request for this incoming payment, which will be null if the payment is sent through keysend.