UI - API Mapping
1. CreateLoanApplication Request
This API is called when ShareInvoices Button in the below screen is clicked

2. ConsentHandle Request
For first time users, this API is called during the creating AA account loading screen

3. ConsentStatus Request
This API is called once the user approves the consent request on the LSP app by clicking on Allow Button.

4. Generate Offers Request
This API is called immediately after the ConsentStatusResponse is received from the lender. This API is called during the load screen - Sharing Financial Information with Lenders

5. AcceptOffer Request and TriggerOTPRequest
This API is invoked when the user clicks on I agree in the Loan Agreement page.

6. Verify OTP Request
This API gets invoked when the user manually enters the OTP/ OTP is autoread by Sahay and submitted.

7. SetRepaymentPlan Request and setRepaymentPlanStatus Response
This API is invoked by the LSP once the user clicks on the setAutoRepayment option.

8.ConsentHandle Request (For Monitoring)
This API is invoked once the OTP submission is done.
9. ConsentStatus Request (For Monitoring)
This API is invoked once the user has approved the monitoring consent on the UI by clicking on Allow button

10. GrantLoan Request
This API gets called once the repayment is set and the loader screen - processing your loan appears

11. TriggerDisbursement Request
This API gets called once the grantLoanResponse is received from the lender. It happens on the same loader screen where grantLoan is called.
12. Disbursement Successful
After the loan is disbursed succesfully. The Success message is loaded in the screen.

Updated about 3 years ago