Bank Transfer
How Interwallet Transfer works (step by step flow)
Last updated
How Interwallet Transfer works (step by step flow)
Last updated
SOURCE APP SIDE: The source app is the app trying to do the wallet transfer
Initiate a Transfer
Communication is sent to the merchants endpoint(Outgoing transaction webhook)
Below is a screen showing where the Finswich merchant sets their transaction or settlement webhook for a registered app
PAYLOAD sent to the merchant's backend to initiate a bank transfer and debit their end user
200 RESPONSE structure expected
If the response returned is not in the 200 range or response.status != “success”, the transaction process is terminated immediately and that transaction reference becomes invalid.
If user_category is returned then we automatically run an internal policy check using the category sent. If the policy check fails, we call their policy notification API or Email and notify the merchant and then the transaction process is terminated.
Its advisable to store this transaction (txn_reference) as it will be used to complete the remaining steps
Trigger OTP
Payload sent to source app to trigger sending OTP to the user endpoint = source app transaction webhook
200 response structure
If the response returned is not 200 or the response.status != “success”, we do not terminate the txn. If the call to this endpoint is successful, we respond back to the client informing them that an OTP has been sent to their phone number This is the same endpoint and payload called when the user clicks the OTP resend button This transaction ref is valid for only 60minutes.
Complete Transfer (for merchant to verify OTP received by their user and start the real process of transferring funds from the originator app to the destination bank account )
Payload sent to source app to complete transfer endpoint = source app transaction webhook
Here the merchant verifies the OTP. If verification is succesful merchant proceeds to truly complete the transaction by communicating with the Finswich Transfer endpoint.
200 response structure
If the response is 200 Ok, this means the txn was successful
3b. Calling the Finswich Transfer API for Payment Termination
On the originator app’s end, when they receive the complete transaction event and has verified the OTP, they would call Finswich’s transfer API to actually make the transfer. The Finswich transfer API handles the movement of money from the source merchant's app to the recipient bank account.
This is what the endpoint and the payload will look like:
endpoint (prod) = https://finswich-api.fuspay.finance/api/v1/app-transfer/wallet
endpoint (staging) = https://finswichstaging.instance.exchange/api/v1/app-transfer/wallet
method = POST
Sample Request
Sample Response
200 OK
400 response structure
If a 200 response is returned and response.status == “success” this means the source app’s wallet been debited.
SETTLEMENT/BENEFICIARY'S END If the above transaction was successful FInswich sends the money to the recipient bank account using the payment termination API
200 response expected
If any request to the beneficiary fails, it is retried 4 times