Last updated 1 year ago
POST api/v2/client/loans/borrower/2
POST
api/v2/client/loans/borrower/2
This endpoint is the entry point for aggregators. It returns a tokn which would be sent as an authorisation token header for subsequent api calls
{ "email": "aggregator@aggregator.com", "token": "f63746d549b86d791b35503f6c4287e5da6ea8d9bfa00b9f90d11feab12a9a7e", "user_type": "aggregator", "first_name": "aggregator_first_name", "last_name": "aggregator_last_name", "biz_name": "aggregator_business_name", "roleTypes": [], "status_code": 200, "message": "Login Successful.", "ForceChangeOfPassword": false, "status": true, }
{ "message": "Invalid username or password ", "status": false, "status_code": 400 }
password
string
the aggregator's password
email
the aggregator's email