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 |
|---|
{
"changeEmailReq": {
"ProcessingCode": "PC003",
"LoginToken": "eyJhbGciOiJIUzI1NiI",
"DeviceId": "123456789",
"CustomerId": "",
"Email": "[email protected]",
"MobileNo": "03040200070",
"OS": "Android",
"IsUserBvsExempted": false,
"OTPCode": "",
"CNIC": "3740556023007",
"FirebaseToken": "cQCRkEg9QZuntHdhLXTZWj:APA91bFHsnf11S3HQWZgTMadGMa1Z0NVkvz6av8pA0tcu6gVGM0Jt--A9GiuEMiMVtsFAruN21VtunSmLG9RLsvEUsckG9jRUNIRvwiV9a0QRDSHRYe3YME",
"MaillingAddress": "Pakistan",
"Fingerprints": [
{
"index": "",
"template": ""
}
],
"IMEI": "088c9165a8a18f9c",
"LATITUDE": "33.6157505",
"LONGITUDE": "73.1685406",
"AreaName": "Punjab"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"changeEmailRes": {
"customerInfoResponse": null,
"bioVerficationResponse": {
"responseCode": "00",
"responseDescription": "Successful",
"token": "",
"coolingOffStatus": true,
"coolingOffTime": null,
"coolingOffText": "Your email will be updated within 13 minutes",
"coolingOffTimeLeft": "Time Left: 13 minutes"
},
"verifyOtpResponse": null
}
}
{
"changeEmailRes": {
"customerInfoResponse": null,
"bioVerficationResponse": {
"responseCode": "00",
"responseDescription": "Successful",
"token": "",
"coolingOffStatus": true,
"coolingOffTime": null,
"coolingOffText": "Your email will be updated within 13 minutes",
"coolingOffTimeLeft": "Time Left: 13 minutes"
},
"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 |