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 |
|
| CompanyName | CompanyName | Mandatory | STRING | 4 |
|
| DateTime | DateTime | Mandatory | STRING | 14 |
|
| TransactionType | TransactionType | Mandatory | STRING | 2 |
|
| MobileNo | MobileNo | Mandatory | STRING | 11 |
|
| CNIC | CNIC | Mandatory | STRING | 13 |
|
| Reserved1 | Reserved1 | Mandatory | STRING | 2 |
|
| OtpPin | OtpPin | Optional | STRING | 0 |
|
{
"LinkAccountRequest": {
"MerchantType": "0088",
"TraceNo": "000001",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"TransactionType": "01",
"MobileNo": "***********",
"Cnic": "*************",
"Reserved1": "01",
"OtpPin": "01"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|---|---|---|---|
| MerchantType | MerchantType | String | 4 | 0088 |
| TraceNo | TraceNo | String | 6 | 000001 |
| CompanyName | CompanyName | String | 4 | NOVA |
| DateTime | DateTime | String | 14 | 20170706121213 |
| AccountTitle | AccountTitle | String | 21 | MUHAMMAD ARSALAN KHAN |
| AccountType | AccountType | 8 | Level 0 | |
| ResponseCode | ResponseCode | String | 1 | 00 |
| ResponseDetails | ResponseDetails | object | 14 | ["Successful"] |
{
"LinkAccountResponse": {
"MerchantType": "0088",
"TraceNo": "000001",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"AccountTitle": "MUHAMMADARSALANKHAN",
"AccountType": "Level0",
"ResponseCode": "00",
"ResponseDetails": ["Successful"]
}
}
{
"LinkAccountResponse": {
"MerchantType": "0088",
"TraceNo": "000001",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"AccountTitle": "MUHAMMADARSALANKHAN",
"AccountType": "Level0",
"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 |