Withdrawal Service
interface WithdrawalService
Interface for withdrawal operations.
Functions
Link copied to clipboard
Confirms a withdraw.
Link copied to clipboard
open fun confirmAsync(withdrawalConfirm: WithdrawalConfirm, cancellationSignal: CancellationSignal?, callback: WalletCallback<Withdrawal>)
Asynchronously confirms a withdraw.
Link copied to clipboard
Creates a withdraw.
Link copied to clipboard
open fun createAsync(withdrawalCreate: WithdrawalCreate, cancellationSignal: CancellationSignal?, callback: WalletCallback<Withdrawal>)
Asynchronously creates a withdraw.
Link copied to clipboard
Retrieves a specific withdraw.
Link copied to clipboard
abstract suspend fun getAll(getWithdrawalsParameters: GetWithdrawalsParameters? = null): WithdrawalList
Retrieves all withdraws. It returns the last 10 withdrawals by default.
Link copied to clipboard
open fun getAllAsync(getWithdrawalsParameters: GetWithdrawalsParameters?, cancellationSignal: CancellationSignal?, callback: WalletCallback<WithdrawalList>)
Asynchronously retrieves all withdraws. It returns the last 10 withdrawals by default.
Link copied to clipboard
open fun getAsync(id: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<Withdrawal>)
Asynchronously retrieves a specific withdraw.
Link copied to clipboard
Retrieves withdraw options information.
Link copied to clipboard
open fun getOptionsAsync(cancellationSignal: CancellationSignal?, callback: WalletCallback<List<PaymentOptionDetails>>)
Asynchronously retrieves withdraw options information.
Link copied to clipboard
Retrieves a preview of a withdraw.
Link copied to clipboard
open fun previewAsync(withdrawalRequest: WithdrawalRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<Withdrawal>)
Asynchronously retrieves a preview of a withdraw.