Transfer Flows
Learn about the different transfer flow that is available with ZWITCH.
Currently, we support 2 types of transfers from virtual accounts:
- Asynchronous Transfers
- Synchronous Transfers
Synchronous Transfer
In the synchronous flow, transfers are immediately sent to the bank for processing. The status returned in the response is from the bank.
Since the request is directly sent to the bank, it could take you slightly longer to receive the response in the synchronous flow compared to the asynchronous flow. takes slightly longer to respond makes a bank call
To initiate a asynchronous transfer, pass false
against the async
in the request body. By default, transfer initiated using ZWITCH APIs are synchronous transfers.
Asynchronous Transfer
Unlike the synchronous flow, in the asynchronous flow, transfers are not immediately sent to the bank for processing. Instead they are added to the transfers queue and picked up for processing in the next available slot.
The asynchronous flow returns a response quicker than the synchronous flow. This is beneficial when an account holders wants to initiate a large number of transfers over a short time.
To initiate a asynchronous transfer, pass true
against the async
in the request body.
Updated over 2 years ago