WithdrawalRequest
@Serializable
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 the entity was first created.
updatedAt
The date and time when the entity was last updated.
amount
The amount of money that should be withdrawn in this request.
bitcoinAddress
The bitcoin address where the funds should be sent.
status
The current status of this withdrawal request.
estimatedAmount
If the requested amount is -1
(i.e. everything), this field may contain an estimate of the amount for the withdrawal.
completedAt
The time at which this request was completed.
withdrawalId
The withdrawal transaction that has been generated by this request.
Constructors
Link copied to clipboard
constructor(id: String, createdAt: Instant, updatedAt: Instant, amount: CurrencyAmount, bitcoinAddress: String, status: WithdrawalRequestStatus, estimatedAmount: CurrencyAmount? = null, completedAt: Instant? = null, withdrawalId: EntityId? = null)