initiate Transfer
open fun initiateTransfer( sourceUri: String?, sourceAccountNumber: String?, destinationUri: String?, destinationAccountNumber: String?, amount: Amount?, onComplete: (isActionDone: Boolean) -> Unit): Boolean
Content copied to clipboard
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
source Uri
URI for the source account that the transfer should be from
source Account Number
The account number to initiate a transfer from
destination Uri
URI for the destination account that the transfer should be to
destination Account Number
The account number to initiate a transfer to
amount
The amount to be transferred
on Complete
The lambda block to invoke to indicate if the action has completed successfully or not