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 |
|---|
{
"verifySecurityQuestionsReq": {
"LoginToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjoiVC9jc24wUWk5MlNuT0lBcmdxejBYei9kTERWRXBZblhqYkRpMC9iaFE2aFVCOFhPSmlMRldnWlJPSll2dWw5QzJJZnlQb3RvdWdqR2JLamFmbk1xZnl0WW1yVURsTzBSNFY2cG9NdzNVZmFUeE5sU2R1TTdWUzNaYUpxVjYzK0trQjM5eVE2TXJleG92c0hDQUthcjlVdkpsYVFwOVpGU2NSUlBMSkNQVDhrNEUwYXBHa3ZiK1I4UDdRMU90d0o3Rm1lemZJTm1pUmZVL3VWdFFYYlJZKyt0Um8yNDh5alFxc2NYeDc1WVBBeldYYlJzc3lreHM3OVZKVjQxay9VSGJCeFRibjNETkNoNjlhOVpvaGVvclhudERFdmRtUE0vODJqSUxkTU5BdXM9IiwibmJmIjoxNzQ5MDIzNDczLCJleHAiOjE5MjkwMjM0NzMsImlhdCI6MTc0OTAyMzQ3MywiaXNzIjoiWmluZGlnaUJhY2tlbmQiLCJhdWQiOiJaaW5kaWdpQXBwIn0.Lo6oHdofF_PeJKLQb8WYWInGeW2dgJHjPpsvo2NjCrs",
"DeviceID": "DeviceID",
"QuestionID": 1,
"Answer": "KASRAT ZAHIR",
"MobileNumber": "03458542952",
"MPin": "gwWewCW5ydkK0jOppvcNkncaBcTGoqAvhN4emrD\/8DrE845yyAgwAI\/VZ\/6FJqSeoTO91kkxjLkW\nljSFv\/quvlClFWRc03zwEg4mxu8ukmVNKrgTRZOJapzQLs3NkKlHt72P6qMebf6zsHzb9D8XXOZ4\ngQisgW7Ac3zu\/JnF7jCy6uXAmc8ERco2Y+lSN8XGngveYXR4BJDOTpWA6f9xvjLQ478K7+A\/3Ket\npsptXVec94vi+QJDTUfInVkQbyLeyd4Ke5QZdnCwzmga4rrT6C+0QCGw8v9LWo++YNgJPm\/l7+9M\nrJ8SZkuKGre1BmJaZLWjv1\/CCXivpWBE4gJ\/LQ==\n",
"CNIC": "1710281327445"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"verifySecurityQuestionsRes": {
"ShouldLogin": true,
"AskQuestion": false,
"Token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjoiNVpjOW10RUhvNDFlOXVzRXJXZ1VBdzlaRHZuLzVPZDM5Y2RnU3MrMW1EZ29HR1Y3QytOR0ZuL01yWWExWTBpZTUzbldEQ2tERDJoRTdBYnRRVFlUZDhUNHp4bVFWamNCN2NNUUtVQ2txUzFtcHZyWCtsOFZOS25VeHR2S20xazluU1Q0ZUVFSnFYOEJ1bVBsWWtkYUZsUEJXblE0UDdmV3k4WmpPV0JhNTc2dXlsc3dXUkFZbzFDTTh3cEpvdHRSd2RUeHkzeGxmNk83UWZpNThNb1BCRHdWUFJwSmwwTUJnUmFISkZ6SVh6RXNFMi9aYTVOY2liaW1wR3paeVFObDdRK1cwUlJ0akdEc1ZEZ3JwYWpLM3JLbUhscjRSM3FqaU9HZzViV2g1KzA9IiwibmJmIjoxNzQyODg1MTM2LCJleHAiOjE3NDI4ODY5MzYsImlhdCI6MTc0Mjg4NTEzNiwiaXNzIjoiWmluZGlnaUJhY2tlbmQiLCJhdWQiOiJaaW5kaWdpQXBwIn0.h9ew_oJ11CtuaOa9EC_3UqWl__2oO9n8EUDhrNGO7j4",
"ResponseCode": "100",
"ResponseDescription": "Your identification verification is completed successfully. You can now start using your account.",
"welcome": {
"show": true,
"referrCodeEnabled": true,
"codeLength": 5,
"errorMessage": "Invalid Code"
}
}
}
{
"verifySecurityQuestionsRes": {
"ShouldLogin": true,
"AskQuestion": false,
"Token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjoiNVpjOW10RUhvNDFlOXVzRXJXZ1VBdzlaRHZuLzVPZDM5Y2RnU3MrMW1EZ29HR1Y3QytOR0ZuL01yWWExWTBpZTUzbldEQ2tERDJoRTdBYnRRVFlUZDhUNHp4bVFWamNCN2NNUUtVQ2txUzFtcHZyWCtsOFZOS25VeHR2S20xazluU1Q0ZUVFSnFYOEJ1bVBsWWtkYUZsUEJXblE0UDdmV3k4WmpPV0JhNTc2dXlsc3dXUkFZbzFDTTh3cEpvdHRSd2RUeHkzeGxmNk83UWZpNThNb1BCRHdWUFJwSmwwTUJnUmFISkZ6SVh6RXNFMi9aYTVOY2liaW1wR3paeVFObDdRK1cwUlJ0akdEc1ZEZ3JwYWpLM3JLbUhscjRSM3FqaU9HZzViV2g1KzA9IiwibmJmIjoxNzQyODg1MTM2LCJleHAiOjE3NDI4ODY5MzYsImlhdCI6MTc0Mjg4NTEzNiwiaXNzIjoiWmluZGlnaUJhY2tlbmQiLCJhdWQiOiJaaW5kaWdpQXBwIn0.h9ew_oJ11CtuaOa9EC_3UqWl__2oO9n8EUDhrNGO7j4",
"ResponseCode": "100",
"ResponseDescription": "Your identification verification is completed successfully. You can now start using your account.",
"welcome": {
"show": true,
"referrCodeEnabled": true,
"codeLength": 5,
"errorMessage": "Invalid Code"
}
}
}
{
"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 |