Authentication and Authorisation

Aggregator authentication

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

Request Body

Name
Type
Description

password

string

the aggregator's password

email

string

the aggregator's email

{
    "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,
}

Last updated