Developers > Workflow
MTA provides a comprehensive solution to manage and automate every aspect of a money transfer business. It provides various services and there are different Api endpoints for the services provided. The services include:
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;
http://test.themoneytransferapplication.com/web services/api/v6/services/usermanagement/profile-edit
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;
https://test.themoneytransferapplication.com/web services/api/v6/services/securitymanagement/login
Bill Payment Workflow
The Bill payment service can be used for bill payment transactions; it can be used to view billers, products and to select a product to be paid for. Below is a sequence diagram for the bill payment process;
https://test.themoneytransferapplication.com/web services/api/v6/services/billpayment/fetchservicesbycountry1/NGA
https://test.themoneytransferapplication.com/web services/api/v6/services/billpayment/fetchoperatorsbycountry1/data
https://test.themoneytransferapplication.com/web-services/api/v6/services/billpayment/fetchcountrysproducts3/data/airtel
https://test.themoneytransferapplication.com/web services/api/v6/services/billpayment/orderproduct
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
Merchant Products Web Service
The Merchant Products Service is a gateway service used to manage merchant payment product platform. Below is a sequence diagram for the merchant product process;
http://test.themoneytransferapplication.com/web services/api/v6/services/merchantpayment/paymentreq/11
http://test.themoneytransferapplication.com/web services/api/v6/services/merchantpayment/listmymerchantpayments?from_date=2001-02 06T09%3A54%3A23.911Z&to_date=2020-02-18T19%3A54%3A23.911Z
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;
Quote Service
The Quote Service can be used to get the quote for a transaction. To get a quote you need to pass in the amount, destination country, sending, receiving currency and delivery method.
Sequence Diagram to get Quote for Bank Transfer, Mobile Money
Sequence Diagram to get Quote for Bill Payment
Activity Diagram to get Quote for Airtime
http://test.themoneytransferapplication.com/web-services/api/v6/services/ quote/supporteddestination-countries/GBR
http://test.themoneytransferapplication.com/web-services/api/v6/services/quote/supported-delivery-methods/GBR/NGA
http://test.themoneytransferapplication.com/web-services/api/v6/services/quote /supportedcurrencies/GBR/NGA/ACCOUNTPAYMENT
http://test.themoneytransferapplication.com/web-services/api/v6/services/ quote/supporteddelivery-currencies/GBR/NGA/ACCOUNTPAYMENT/GBP
http://test.themoneytransferapplication.com/web-services/api/v6/services/ quote/supportedservices/GBR
https://test.themoneytransferapplication.com//apidoc/index.xhtml#/ Quote%20management%20service/callQuote