End to end SMS encrypted money transfer logic. All users registered on LOKDON would have
Form input data for initiating the SMS based money transfer are recipient email, recipient phone number and amount sent.
String receiverEmail = CipherControl.getInstance().encryptGenericData(recv_email);
String userPhoneNumber = CipherControl.getInstance().encryptGenericData(number);
String userSendEmail = CipherControl.getInstance().encryptGenericData(send_email);
String sentAmount = CipherControl.getInstance().encryptGenericData(amount);
All data above would be sent as a POST request to this API url For creating a session and profile of transaction.
M3Pin is stripped out by a POST request of these parameters
To this API url
On a success response, the session ID from the create session API, sent amount, recipient email, M3Pin of the recipient, all encrypted are sent as SMS string to the receiver phone number with a keyword CDR for the first leg. All messages are encrypted and unreadable except with the LOKDON app.
The receiver will decrypt the entire message after M3PIN of the receiver is extracted and decrypted to M2PIN. Thereafter, the receiver will read messages list from the LOKDON application (after M2PIN of receiver is matched) the receiver finds the message sent from the sender clearly decrypted by now, recipient takes further step to click on the reply button. Now the logic behind the reply click are as follows:
This leg is handled by the sender after a successful confirm message is sent from the recipient all in app
POST params receiver email, phone number, sender email, sent amount, sent phone all encrypted with our algorithm.
On success a wallet object response is returned with data values related to the successful wallet to wallet cloud transfer