Documentations for API
| Name | Type | Values | Description |
|---|---|---|---|
| clientSecret | TEXT | Access-Token | Auth2.0 verification |
| Accept | JSON | application/json | application/json |
| Content-Type | JSON | application/json | application/json |
| clientId | TEXT | **** | **** |
| organizationId | TEXT | 223 | Authenticate organization |
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|
{
"resetMpinReq": {
"ProcessingCode": "PC002",
"OS": "Android",
"CNIC": "3740556023007",
"Mobile": "03040200070",
"Type": "F",
"ConfirmLoginPin": "gwWewCW5ydkK0jOppvcNkncaBcTGoqAvhN4emrD\/8DrE845yyAgwAI\/VZ\/6FJqSeoTO91kkxjLkW\nljSFv\/quvlClFWRc03zwEg4mxu8ukmVNKrgTRZOJapzQLs3NkKlHt72P6qMebf6zsHzb9D8XXOZ4\ngQisgW7Ac3zu\/JnF7jCy6uXAmc8ERco2Y+lSN8XGngveYXR4BJDOTpWA6f9xvjLQ478K7+A\/3Ket\npsptXVec94vi+QJDTUfInVkQbyLeyd4Ke5QZdnCwzmga4rrT6C+0QCGw8v9LWo++YNgJPm\/l7+9M\nrJ8SZkuKGre1BmJaZLWjv1\/CCXivpWBE4gJ\/LQ==\n",
"LoginPin": "fkPMD7NrJlyuQoHu7yIJo7s2U9OuEZdDuPfizSTILpUrN4UMCqcOFWMiukxMt6jYFGf0\/VJgzGo2\n+IC3osm03C11cpneogkqND4KvcOd8cOuZAJwJeF69k2ixRKnDZPj6iK6ACmG7wZ4Pr20wdVdsPTh\nukl8m5vc28WMhpmy5ui5iiiDGF6l4nyF1RxxStmo3zV96WLmOEUpY4PK+UdJ2O1CEUL8oC1g0+tp\nNrtamoy9iyEDTLdz4ESlPsOkYTsKFSCcuTUGt9p05tbDPbe9p0CCQg\/MV6B6w\/BEL+n5P0P8QHFj\nBQkZ6mGwbxiKHnPLYoDzTAittEvUfP\/yHNMxQg==\n",
"OTPCode": "123456",
"DeviceId": "DeviceId"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"resetMpinRes": {
"sendOtpResponse": {
"userId": null,
"otpCode": null,
"mobile": "",
"responseMessage": "Success",
"statusCode": "00",
"accessToken": "",
"email": "[email protected]",
"nadraQuestion": true
},
"verifyOtpResponse": null
}
}
{
"resetMpinRes": {
"sendOtpResponse": {
"userId": null,
"otpCode": null,
"mobile": "",
"responseMessage": "Success",
"statusCode": "00",
"accessToken": "",
"email": "[email protected]",
"nadraQuestion": true
},
"verifyOtpResponse": null
}
}
{
"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 |