Account Opening L1

Documentations

Documentations for API

End Points

https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2

Http Method

POST

Header

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

Request Parameters

Name Description Required Parameter Type Length Sample Value
ProcessingCode ProcessingCode Mandatory STRING 14 AccountOpe
MerchantType MerchantType Mandatory STRING 4 0088
TraceNo TraceNo Mandatory STRING 6 123456
CompanyName CompanyName Mandatory STRING 4 NOVA
DateTime DateTime Mandatory STRING 14 2021102211
CNIC CNIC Mandatory STRING 13 xxxxxxxxxx
FingerIndex FingerIndex Mandatory STRING 1 1
FingerTemplate FingerTemplate Mandatory STRING 500 Rk1SACAyMA
CNICIssuanceDate CNICIssuanceDate Mandatory STRING 8 20191028
MobileNo MobileNo Mandatory STRING 11 xxxxxxxxxx
MobileNetwork MobileNetwork Mandatory STRING 5 UFONE
EmailId EmailId Mandatory STRING 19 xxxxxxxxxx

Sample Request

{
    "AccOpenL1Request": {
        "processingCode": "AccountOpening",
        "merchantType": "0088",
        "traceNo": "123456",
        "companyName": "NOVA",
        "dateTime": "20211022111230",
        "cnic": "xxxxxxxxxxxxx",
        "fingerIndex": "1",
        "fingerTemplate": "Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ\/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR\/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4CsAKfuT4CJAKrhT4DbAK9YT4DJALZrT0CHAMLfT4CyAMLrT0DEAM5nT0DbAOJqT0BUAO9bT0CCAPjpT0CDAQJiT4C4AQRsTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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cnicIssuanceDate": "20191028",
        "mobileNo": "xxxxxxxxxxx",
        "mobileNetwork": "UFONE",
        "emailId": "xxxxxxxxxx@jsbl.com"
    }
}

Response Parameters

Name Description Parameter Type Length Sample Value
processingCode processingCode String 14 AccountOpening
MerchantType MerchantType String 4 0088
TraceNo TraceNo String 6 706055
CompanyName CompanyName String 4 NOVA
DateTime DateTime String 14 20211022111230
ResponseCode ResponseCode String 1 00
ResponseDetails ResponseDetails object 14 ["Successful"]
citizenNo citizenNo String 13 5350403468539
consumerName consumerName String 9 Test Data
accountTitle accountTitle String 9 Test Data
birthPlace birthPlace String 9 Test Data
presentAddress presentAddress String 9 Test Data
dateOfBirth dateOfBirth String 9 Test Data
gender gender String 9 Test Data
motherName motherName String 9 Test Data
expiryDate expiryDate String 5 47148

Response Sample

{
    "processingCode": "AccountOpening",
    "merchantType": "0088",
    "traceNo": "111488",
    "companyName": "NOVA",
    "dateTime": "20211022111230",
    "responseCode": "00",
    "responseDetails": [
        "Successful"
    ],
    "citizenNo": "xxxxxxxxxxxxx",
    "consumerName": "xxxxxxxxxxx",
    "accountTitle": "xxxxxxxxxxx",
    "birthPlace": "xxxxxxxxxxxx",
    "presentAddress": "xxxxxxxxxx",
    "dateOfBirth": "xxxx-xx-xx",
    "gender": "male",
    "motherName": "xxxxxxxx",
    "expiryDate": "xxxx-xx-xx"
}
curl --location --request POST 'https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'clientId: 364E9806o51K9' \
--header 'clientSecret: eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA' \
--header 'organizationId: 223' \
--data-raw '{
"AccOpenL1Request": {
"processingCode": "AccountOpening",
"merchantType": "0088",
"traceNo": "123456",
"companyName": "NOVA",
"dateT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\/\/89HW1FgP9mNB8dHQwZZA5QHP\/\/HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"cnicIssuanceDate": "20191028",
"mobileNo": "xxxxxxxxxxx",
"mobileNetwork": "UFONE",
"emailId": "xxxxxxxxxx@jsbl.com"
}
}'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2',
'headers': {
'Content-Type': 'application/json',
'Accept': 'application/json',
'clientId': '364E9806o51K9',
'clientSecret': 'eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA',
'organizationId': '223'
},
body: JSON.stringify({
"AccOpenL1Request": {
"processingCode": "AccountOpening",
"merchantType": "0088",
"traceNo": "123456",
"companyName": "NOVA",
"dateTime": "20211022111230",
"cnic": "xxxxxxxxxxxxx",
"fingerIndex": "1",
"fingerTemplate": "Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4C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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"cnicIssuanceDate": "20191028",
"mobileNo": "xxxxxxxxxxx",
"mobileNetwork": "UFONE",
"emailId": "xxxxxxxxxx@jsbl.com"
}
})

};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});


$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => 'https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"AccOpenL1Request": {
"processingCode": "AccountOpening",
"merchantType": "0088",
"traceNo": "123456",
"companyName": "NOVA",
"dateTime": "20211022111230",
"cnic": "xxxxxxxxxxxxx",
"fingerIndex": "1",
"fingerTemplate": "Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ\\/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR\\/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4CsAKfuT4CJAKrhT4DbAK9YT4DJALZrT0CHAMLfT4CyAMLrT0DEAM5nT0DbAOJqT0BUAO9bT0CCAPjpT0CDAQJiT4C4AQRsTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"cnicIssuanceDate": "20191028",
"mobileNo": "xxxxxxxxxxx",
"mobileNetwork": "UFONE",
"emailId": "xxxxxxxxxx@jsbl.com"
}
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'clientId: 364E9806o51K9',
'clientSecret: eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA',
'organizationId: 223'
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
require "uri"
require "json"
require "net/http"

url = URI("https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["Accept"] = "application/json"
request["clientId"] = "364E9806o51K9"
request["clientSecret"] = "eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA"
request["organizationId"] = "223"
request.body = JSON.dump({
"AccOpenL1Request": {
"processingCode": "AccountOpening",
"merchantType": "0088",
"traceNo": "123456",
"companyName": "NOVA",
"dateTime": "20211022111230",
"cnic": "xxxxxxxxxxxxx",
"fingerIndex": "1",
"fingerTemplate": "Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4CsAKfuT4CJAKrhT4DbAK9YT4DJALZrT0CHAMLfT4CyAMLrT0DEAM5nT0DbAOJqT0BUAO9bT0CCAPjpT0CDAQJ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"cnicIssuanceDate": "20191028",
"mobileNo": "xxxxxxxxxxx",
"mobileNetwork": "UFONE",
"emailId": "xxxxxxxxxx@jsbl.com"
}
})

response = http.request(request)
puts response.read_body
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"AccOpenL1Request\": {\r\n \"processingCode\": \"AccountOpening\",\r\n \"merchantType\": \"0088\",\r\n \"traceNo\": \"123456\",\r\n \"companyName\": \"NOVA\",\r\n \"dateTime\": \"20211022111230\",\r\n \"cnic\": \"xxxxxxxxxxxxx\",\r\n \"fingerIndex\": \"1\",\r\n \"fingerTemplate\": \"Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ\\/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR\\/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4CsAKfuT4CJAKrhT4DbAK9YT4DJALZrT0CHAMLfT4CyAMLrT0DEAM5nT0DbAOJqT0BUAO9bT0CCAPjpT0CDAQJiT4C4AQRsTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXh\\/\\/fnL\\/NgiQX21cjY9qSRdscyd93HFP\\/wI2Wmw0zyLaLEM8FzwwEf94Wv8VGXwaKSIrylZMaUouMEL\\/Gz3\\/KRJkSWpBNG0lVTklZQw+\\/0lIOiIO\\/4pZvRH\\/NBs7LzslLf85bv8jKoAbqEgL\\/yk\\/HjqFLUP\\/MCz\\/Iyqcf0SXKChBif91Slc4\\/4ZK\\/y1XQ3h\\/EAmhY5NWg2NbG7p4RNRQJRZ6foY8s2TqMnNHPC7\\/FmLGYyiOF+cvWKIovTV7TBcxFWdn\\/0IHGysJEhjYbZuGYk05Qt2UdIVEHyAzMHYopzgOfjvWEUH\\/s3D\\/cRQYYiwUG\\/8tR5t8lDYaqmBa\\/zobRi4fZEH\\/QsQ0 \\/\\/8wHP9IXv8eDhslAVHLW2KsW1U4I03LXyj\\/LDkdTByFEv+CR\\/9D3j8nfDlG\\/y4uLxgfQB\\/mO2+H5G+bJv9gcf8vVUhwLQgin08tHFC2TST\\/QCL\\/Si02GFxDfP9UZpOiSBAaZlJx\\/3VIKQgSaAuxLD96\\/+MbQFtGXP8GJRUsGR8fShc7SP\\/\\/eyFTLzD\\/hykdLQIiHe8jsEyz\\/3skghMxsk0xBDZoKxtVFLwx\\/\\/89HW1FgP9mNB8dHQwZZA5QHP\\/\\/HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\",\r\n \"cnicIssuanceDate\": \"20191028\",\r\n \"mobileNo\": \"xxxxxxxxxxx\",\r\n \"mobileNetwork\": \"UFONE\",\r\n \"emailId\": \"xxxxxxxxxx@jsbl.com\"\r\n }\r\n}");
Request request = new Request.Builder()
.url("https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("clientId", "364E9806o51K9")
.addHeader("clientSecret", "eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA")
.addHeader("organizationId", "223")
.build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://z-sandbox.jsbl.com/zconnect/api/v2/accountopeningl1-blb2");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "application/json");
request.AddHeader("clientId", "364E9806o51K9");
request.AddHeader("clientSecret", "eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2OTI2MzcxOTl9.0s3evOaGFm6uyRxSioiXlOffHbZTDIB1zB1xl3ck_IIfxSrsARI9tPiooIOVjVv9rQqUInqtk1odcWtk8V3rFA");
request.AddHeader("organizationId", "223");
var body = @"{
" + "\n" +
@" ""AccOpenL1Request"": {
" + "\n" +
@" ""processingCode"": ""AccountOpening"",
" + "\n" +
@" ""merchantType"": ""0088"",
" + "\n" +
@" ""traceNo"": ""123456"",
" + "\n" +
@" ""companyName"": ""NOVA"",
" + "\n" +
@" ""dateTime"": ""20211022111230"",
" + "\n" +
@" ""cnic"": ""xxxxxxxxxxxxx"",
" + "\n" +
@" ""fingerIndex"": ""1"",
" + "\n" +
@" ""fingerTemplate"": ""Rk1SACAyMAAAAACuEjQBAAFoAMUAxQEAAABPGEBOADSET4C5AERsT0BtAEZ\/T4C2AE3mT0BcAGKHT0DQAHTdT4B4AIR\/T0CGAIL2T0C0AI9gT4DJAJ1VT0BrAKCfT0C2AKFsT4CsAKfuT4CJAKrhT4DbAK9YT4DJALZrT0CHAMLfT4CyAMLrT0DEAM5nT0DbAOJqT0BUAO9bT0CCAPjpT0CDAQJiT4C4AQRsTwAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="",
" + "\n" +
@" ""cnicIssuanceDate"": ""20191028"",
" + "\n" +
@" ""mobileNo"": ""xxxxxxxxxxx"",
" + "\n" +
@" ""mobileNetwork"": ""UFONE"",
" + "\n" +
@" ""emailId"": ""xxxxxxxxxx@jsbl.com""
" + "\n" +
@" }
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Response Code Details

{
    "processingCode": "AccountOpening",
    "merchantType": "0088",
    "traceNo": "111488",
    "companyName": "NOVA",
    "dateTime": "20211022111230",
    "responseCode": "00",
    "responseDetails": [
        "Successful"
    ],
    "citizenNo": "xxxxxxxxxxxxx",
    "consumerName": "xxxxxxxxxxx",
    "accountTitle": "xxxxxxxxxxx",
    "birthPlace": "xxxxxxxxxxxx",
    "presentAddress": "xxxxxxxxxx",
    "dateOfBirth": "xxxx-xx-xx",
    "gender": "male",
    "motherName": "xxxxxxxx",
    "expiryDate": "xxxx-xx-xx"
}
{
    "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"
}

Try out yourself

Security

X-IBM-Client-Id(apiKey located in header)
X-IBM-Client-Secret(apiKey located in header)
1c48aa28-2614-486f-aa2c-cbc86cc7ab51

Header Parameter

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

Request Body

Response Body