Interwallet Transfer

To receive events from the Finswich Platform

There are two types of webhooks that are used to communicate with the Finswich platform. The outgoing webhook is used to communicate with a merchant when their users want to send funds to another platform (Outgoing Transactions) while the incoming webhook is used when a user from another platform transacts with their own users (Incoming transactions).

FOR OUTGOING TRANSACTIONS

An outgoing transaction is a kind of transaction in which the users on your platform intend to send money on your wallet to other wallets, banks in other countries.

BEFORE INTEGRATION - DO THIS

Before you begin any integration you need to add an outgoing webhook where all request between Finswich & your application will be posted. See Below for Image reference

Setting the outgoing webhook URL

TRANSACTION FLOW

To perform an outgoing transaction on Finswich, there are 4 events that has to take place.

1. Retrieve User Event - The Finswich platform will contact your application via the outgoing webhook to get your user's data.

The data below is sent (Request body) to your outgoing webhook registered on Intrapay.

Here is a sample of the code on your backend

2. Transaction Initiate - Once the Wallet Checkout is opened, the transaction Initiate is trigger when the user want to perform a transaction and they need to authorize the transaction as shown below.

Req body sent from FInswich to your outgoing webhook

Here is a code sample to handle the transaction initiate event on your end

3. Send OTP - At the initiation of the transaction, an OTP request is sent to your application for you to generate an OTP for your user to that they can authorize the payment. Once the user submit the OTP, we will combine the data with the Complete Transaction Payload that will be sent to your application.

Here is a sample code on your end for the send OTP event

4. Complete Transactions - Finswich will send you the payload request with the OTP. You have the sole responsibility to verify the OTP before you issue an authorization for Finswich to honor the request.

Request to your webhook

Sample code for Complete Transaction Event

FOR INCOMING TRANSACTIONS/FUNDING

An incoming transaction is a kind of transaction where users on your platform receives money between into wallet from other wallets, banks or other countries or a funding activity. This is what we refer to as an incoming transactions.

BEFORE INTEGRATION - DO THIS

Before you begin any integration you need to have created an incoming URL endpoint where all request between Finswich & your application will take place for interactions and notifications of incoming transactions. See Below for Image reference

Setting up the incoming webhook URL

TRANSACTION FLOW EVENTS

  1. User Category: this is used to ensure that the recipient user has the right policy setup to receive the incoming transaction

Req Body

Sample Code on third party

Credit Transactions Events -Once there is a credit to your Finswich wallet, the notifications will be posted to your incoming webhook URL. you can use the data to update your user’s wallet balance on your application.

Req Body

Last updated