Documentations for API
| Name | Type | Values | Description |
|---|---|---|---|
| Accept | JSON | application/json | |
| Content-Type | JSON | application/json | |
| clientId | String | ************* | |
| clientSecret | String | Access-Token | Auth2.0 verification |
| organizationId | String | 223 | Authenticate organization |
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|---|---|---|---|---|
| MerchantType | MerchantType | Mandatory | STRING | 4 |
|
| TraceNo | TraceNo | Mandatory | STRING | 6 |
|
| CNIC | CNIC | Mandatory | STRING | 13 |
|
| MobileNo | MobileNo | Mandatory | STRING | 11 |
|
| CompanyName | CompanyName | Mandatory | STRING | 4 |
|
| DateTime | DateTime | Mandatory | STRING | 14 |
|
| CnicIssuanceDate | CnicIssuanceDate | Mandatory | STRING | 8 |
|
| MobileNetwork | MobileNetwork | Mandatory | STRING | 5 |
|
| EmailId | EmailId | Mandatory | STRING | 25 |
|
{
"AccountOpeningRequest": {
"MerchantType": "0088",
"TraceNo": "000011",
"CNIC": "xxxxxxxxxxxxx",
"MobileNo": "xxxxxxxxxxx",
"CompanyName": "NOVA",
"DateTime": "20220117115415",
"CnicIssuanceDate": "20151116",
"MobileNetwork": "UFONE",
"EmailId": "[email protected]"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|---|---|---|---|
| MerchantType | MerchantType | String | 4 | 0088 |
| TraceNo | TraceNo | String | 5 | 00011 |
| CompanyName | CompanyName | String | 4 | NOVA |
| DateTime | DateTime | String | 14 | 20220117115415 |
| MobileNetwork | MobileNetwork | String | 5 | UFONE |
| ResponseCode | ResponseCode | String | 2 | 00 |
| ResponseDetails | ResponseDetails | object | 14 | ["Successful"] |
{
"AccountOpeningResponse": {
"MerchantType": "0088",
"TraceNo": "000011",
"CompanyName": "NOVA",
"DateTime": "20220117115415",
"MobileNetwork": "UFONE",
"ResponseCode": "00",
"ResponseDetails": ["Successful"]
}
}
{
"AccountOpeningResponse": {
"MerchantType": "0088",
"TraceNo": "000011",
"CompanyName": "NOVA",
"DateTime": "20220117115415",
"MobileNetwork": "UFONE",
"ResponseCode": "00",
"ResponseDetails": ["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 |