initiateTransfer

open fun initiateTransfer(    sourceUri: String?,     sourceAccountNumber: String?,     destinationUri: String?,     destinationAccountNumber: String?,     amount: Amount?,     onComplete: (isActionDone: Boolean) -> Unit): Boolean

Handle action where the user wants to make a transfer. This corresponds to InsightAction.Type.CREATE_TRANSFER action type.

Return

true if the action will be handled, false otherwise

Parameters

sourceUri

URI for the source account that the transfer should be from

sourceAccountNumber

The account number to initiate a transfer from

destinationUri

URI for the destination account that the transfer should be to

destinationAccountNumber

The account number to initiate a transfer to

amount

The amount to be transferred

onComplete

The lambda block to invoke to indicate if the action has completed successfully or not