Follow these guidelines to design the Airtel transaction flow in your app:
- Check if the customer has already been onboarded on Eko’s platform using the Get Sender Profile API.
- Sender :
If the customer is not registered, the following steps must be completed to verify their details and register them successfully:
2.1 Onboard Customer:
Register the Sender on Eko's platform.
2.2 Generate Sender Aadhaar OTP:
To verify the customer’s Aadhaar number and send a OTP to their registered mobile number.Input the customer's aadhaar number. An OTP will be sent to the customer’s registered mobile number and a unique otp_ref_id will be generated by the API and provided in the response.
2.3 Validate Sender Aadhaar OTP:
To confirm the Aadhaar verification process using the OTP.
Input the OTP received on the customer’s mobile number and provide the otp_ref_id from the previous step for verification. If the OTP is valid, the Aadhaar is verified successfully.
2.4 Biometric eKYC:
To complete the eKYC process using Aadhaar data. Input the otp_ref_id(generated after Aadhaar validation) along with the PID obtained from the Aadhaar biometric device.
The system will authenticate the customer and complete their registration. - Recipients
Once the customer is registered, you can manage recipients for the service. Follow these steps:
If no recipient exists for the customer, add one.
3.1 Add Recipient:
Use the Add Recipient API. Provide recipient details such as name, account number, and IFSC code.
3.2 Get List of Recipients:
To check whether any recipients are already associated with the customer. Use the Get List of Recipients API.
If a recipient exists, select the desired recipient. If no recipient exists, proceed to Add a Recipient (Step 3.1). - Transaction:
To send money to the selected recipient, use the Send OTP API to generate an OTP and the Initiate Transaction API.
4.1 Send Transaction OTP:
To trigger an OTP for transaction authentication. Input the transaction amount and the customer’s mobile number (customer_id). The system will send an OTP to the customer’s registered mobile number.
A unique otp_ref_id will be generated and returned by the API.
4.2 Initiate Transaction:
To authenticate and complete the transaction. Input the otp_ref_id received from the Send OTP step.
Enter the OTP received on the customer’s mobile. Upon successful OTP verification, the transaction is completed.