Documentations for API
| Name | Type | Values | Description |
|---|---|---|---|
| Accept | JSON | application/json | application/json |
| Content-Type | JSON | application/json | application/json |
| clientId | TEXT | ************* | ************* |
| clientSecret | TEXT | Access-Token | Auth2.0 verification |
| organizationId | TEXT | 223 | Authenticate organization |
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|
{
"accountInfoReq": {
"MobileNumber": "03165392185",
"DateTime": "20241297129031",
"Rrn": "20230112332423",
"ChannelId": "Lending",
"TerminalId": "Lending"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"accountInfoRes": {
"DateOfBirth": "1992-12-31 00:00:00.0",
"ResponseDateTime": "20241297129031",
"ResponseCode": "00",
"AccountLevelCode": "Level 1",
"Email": "[email protected]",
"Cnic": "3740522428798",
"Segment": "NOVA",
"Rrn": "20230112332423",
"AccountNumber": "03165392185",
"AccountNatureCode": "CURRENT",
"AccountTitle": "NAZAHAT FATIMA",
"AccountStatusCode": "IN-ACTIVE",
"RegistrationTypeCode": "Customer",
"ResponseDescription": "Successful"
}
}
{
"accountInfoRes": {
"DateOfBirth": "1992-12-31 00:00:00.0",
"ResponseDateTime": "20241297129031",
"ResponseCode": "00",
"AccountLevelCode": "Level 1",
"Email": "[email protected]",
"Cnic": "3740522428798",
"Segment": "NOVA",
"Rrn": "20230112332423",
"AccountNumber": "03165392185",
"AccountNatureCode": "CURRENT",
"AccountTitle": "NAZAHAT FATIMA",
"AccountStatusCode": "IN-ACTIVE",
"RegistrationTypeCode": "Customer",
"ResponseDescription": "Successful"
}
}
{
"messages": "Bad Request - Invalid Access Token",
"errorcode": "4001"
}
{
"messages": "Bad Request - Invalid Request Payload",
"errorcode": "4002"
}
{
"messages": "Bad Request - Invalid Authorization Header",
"errorcode": "4003"
}
{
"messages": "Something Went Wrong",
"errorcode": "4004"
}
{
"messages": "Record Not Found",
"errorcode": "4005"
}
{
"messages": "Invalid Client Id\/Secret",
"errorcode": "4006"
}
{
"messages": "Bad Request - Invalid Access Token",
"errorcode": "4007"
}
| Name | Values | Description |
|---|---|---|
| Content-Type | application/json | Content Type application/json is supported |
| Accept | application/json | Content Type application/json is supported |
| organizationId | xyz | You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organisation ID it returns here. |
| clientId | Enter your verified Client Id | |
| clientSecret | Enter Your Verified Client Secret |