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 |
|
| DateTime | DateTime | Mandatory | STRING | 14 |
|
| CompanyName | CompanyName | Mandatory | STRING | 4 |
|
| Reserved1 | Reserved1 | Mandatory | STRING | 2 |
|
| Reserved2 | Reserved2 | Mandatory | STRING | 2 |
|
| TransactionType | TransactionType | Mandatory | STRING | 2 |
|
{
"VerifyAccLinkAccRequest": {
"MerchantType": "0088",
"TraceNo": "000009",
"CNIC": " xxxxxxxxxxxxx ",
"MobileNo": " xxxxxxxxxxx ",
"DateTime": "20210105201527",
"CompanyName": "NOVA",
"Reserved1": "01",
"Reserved2": "01",
"TransactionType": "02"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|---|---|---|---|
| MerchantType | MerchantType | String | 4 | 0088 |
| TraceNo | TraceNo | String | 4 | 0009 |
| CompanyName | CompanyName | String | 4 | NOVA |
| DateTime | DateTime | String | 14 | 20210105201527 |
| AccountStatus | AccountStatus | String | 1 | 1 |
| AccountTitle | AccountTitle | String | 21 | MUHAMMAD ARSALAN KHAN |
| AccountType | AccountType | String | 2 | L0 |
| Cnic | Reserved2 | String | 13 | xxxxxxxxxxxxx |
| IsPinSet | IsPinSet | String | 1 | 00 |
| MobileNumber | MobileNumber | String | 11 | xxxxxxxxxxx |
| ResponseCode | ResponseCode | String | 1 | 00 |
| ResponseDetails | ResponseDetails | object | 18 | ["Account exists"] |
{
"VerifyAccLinkAccResponse": {
"MerchantType": "0088",
"TraceNo": "000009",
"CompanyName": "NOVA",
"DateTime": "20210105201527",
"AccountStatus": "1",
"AccountTitle": "MUHAMMAD ARSALAN KHAN",
"AccountType": "L0",
"Cnic": "xxxxxxxxxxxxx",
"IsPinSet": "0",
"MobileNumber": "xxxxxxxxxxx",
"ResponseCode": "00",
"ResponseDetails": ["Account exists"]
}
}
{
"VerifyAccLinkAccResponse": {
"MerchantType": "0088",
"TraceNo": "000009",
"CompanyName": "NOVA",
"DateTime": "20210105201527",
"AccountStatus": "1",
"AccountTitle": "MUHAMMAD ARSALAN KHAN",
"AccountType": "L0",
"Cnic": "xxxxxxxxxxxxx",
"IsPinSet": "0",
"MobileNumber": "xxxxxxxxxxx",
"ResponseCode": "00",
"ResponseDetails": ["Account exists"]
}
}
{
"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 |