Documentations for API
| Name | Type | Values | Description |
|---|---|---|---|
| Accept | JSON | application/json | application/json |
| Content-Type | JSON | application/json | application/json |
| clientId | TEXT | ************* | ************* |
| clientSecret | TEXT | Access-Token | Auth2.0 verification |
| organizationId | TEXT | 223 | Authenticate organization |
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|
{
"debitCardDetailInqReq": {
"traceNo": "500116",
"dateTime": "20210105201527",
"transmissionDateTime": "20170427155000",
"stan": "531323",
"cnic": "4220152166036",
"branchCode": "9001",
"accountNumber": "alvNlu0kPbNmg\/4YhEG4mw==",
"cardTypeCode": "06",
"cardProdCode": "1",
"cif": "SUBbW5\/B2RWp+c1\/JsHFIA==",
"cardNumber": "wQU4rVKliRIMmgqbRUzeUK8MK+m0koaUnE8oSCijGg0="
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"debitCardDetailInqRes": {
"dateTime": "20210105201527",
"data": {
"CCIMessageResponse": {
"Header": {
"Transmission_Date_Time": "20170427155000",
"Message_Type": "0210",
"UserId": "yvjPPWYkxwxz0wDhTygFSw==",
"STAN": "531323",
"Transaction_Code": "404",
"Password": "UAfNMk\/zZrwxYtrM7mY22g=="
},
"Body": {
"Response": {
"CardNumber": "wQU4rVKliRIMmgqbRUzeUK8MK+m0koaUnE8oSCijGg0=",
"CIF": "SUBbW5\/B2RWp+c1\/JsHFIA==",
"CreationDate": "3\/30\/2008 2:45:49 PM",
"Response_Code": "00|Success",
"CardType": "sPxAiSYaE4OHAYQ2xK5MIe\/z8rzyvUdbX2UuYoQuva8=",
"CardStatus": "003",
"CardTitle": "rc\/nRF2s136tYbwmYSTRyXtg1PN+zpkVfgiLEUCFZjU=",
"AccountNumber": "alvNlu0kPbNmg\/4YhEG4mw=="
}
}
}
},
"processingCode": "Inquiry",
"traceNo": "500116",
"merchantType": "0088",
"responseCode": "00"
}
}
{
"debitCardDetailInqRes": {
"dateTime": "20210105201527",
"data": {
"CCIMessageResponse": {
"Header": {
"Transmission_Date_Time": "20170427155000",
"Message_Type": "0210",
"UserId": "yvjPPWYkxwxz0wDhTygFSw==",
"STAN": "531323",
"Transaction_Code": "404",
"Password": "UAfNMk\/zZrwxYtrM7mY22g=="
},
"Body": {
"Response": {
"CardNumber": "wQU4rVKliRIMmgqbRUzeUK8MK+m0koaUnE8oSCijGg0=",
"CIF": "SUBbW5\/B2RWp+c1\/JsHFIA==",
"CreationDate": "3\/30\/2008 2:45:49 PM",
"Response_Code": "00|Success",
"CardType": "sPxAiSYaE4OHAYQ2xK5MIe\/z8rzyvUdbX2UuYoQuva8=",
"CardStatus": "003",
"CardTitle": "rc\/nRF2s136tYbwmYSTRyXtg1PN+zpkVfgiLEUCFZjU=",
"AccountNumber": "alvNlu0kPbNmg\/4YhEG4mw=="
}
}
}
},
"processingCode": "Inquiry",
"traceNo": "500116",
"merchantType": "0088",
"responseCode": "00"
}
}
{
"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 |