Developers

Spotbanc Documentation

Developers > Workflow

Workflow

Spot Banc is a platform that enables financial institutions to render e-money and banking services quickly and efficiently. It provides various services and there are different Api endpoints for the services provided Find below some of the services, with their description, Api endpoints and the flow:

Find below some of the services, with their description, Api endpoints and the flow:

User Management Workflow

The User Management service has Api endpoints for registering a new user, updating user profile amongst other services.

Below is a sequence diagram for registering a customer and editing customer’s profile;

Fig 1.0 Sequence Diagram for registering a new customer

Security Management Workflow

The Security service has api endpoints for logging in and changing passwords amongst others. The login Api is important because it gives the already registered user access to their account. On login, a token is generated; this token is needed to access a lot of services.

 

There are two login channels (1) API login (2) Web Page login (Login via web site) For building websites, the second login channel is used. In this case, all you need to do is to post to a Login Servlet using url https://test.themoneytransferapplication.com/external_login Sample Code for the second login channel;

<form action="https://test.themoneytransferapplication.com/external_login" class="clearfix" 
id="loginForm" target='_top'> 
      <!--- For Send Money Only --> 
      <input id="action" name="action" value="send_money" type="hidden"> 
      <input type="hidden" id="destination_country" name="destination_country" value="" /> 
      <input type="hidden" id="delivery_method" name="delivery_method" value="" /> 
      <input type="hidden" id="sending_currency" name="sending_currency" value="" /> 
      <input type="hidden" id="receiving_currency" name="receiving_currency" value="" /> 
      <input type="hidden" id="send_amount" name="send_amount" value="" /> 
      <input type="hidden" id="receiving_amount" name="receiving_amount" value="" /> 

      <!--- For Wallet Only --> 
      <input type="hidden" id="receiver_wallet_account_number" name="receiver_
      wallet_account_number" value="" /> 
      <input type="hidden" id="receiving_wallet_currency" name="receiving_
      wallet_currency" value="" /> 
      <input type="hidden" id="receiving_wallet_amount" name="receiving_
      wallet_amount" value="" /> 

      <!-- END Hidden Fields --> 
      <div class="message"> </div> 
      <div class="form-group">
</form>

Below is a sequence diagram for the first user login channel and change of password;

Fig 1.1 Sequence Diagram for Security Management

Transaction Management

The transaction management service is a gateway service used to manage transactions such as bank transfer and mobile money transactions.

Below is a sequence diagram for the transaction process

Fig 1.3. Sequence Diagram for Transaction Management

Wallet Management Service

The Wallet Management Service is a gateway service used to manage wallet transaction such as wallet to wallet transfer, wallet to bank transfer etc.

Below is a sequence diagram for the wallet management process;

Fig 1.5. Sequence Diagram for Wallet Management