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 |
|
| TerminalId | TerminalId | Mandatory | STRING | 4 |
|
| ReceiverMobileNumber | ReceiverMobileNumber | Mandatory | STRING | 11 |
|
| MobileNo | MobileNo | Mandatory | STRING | 11 |
|
| Amount | Amount | Mandatory | STRING | 3 |
|
| Reserved1 | Reserved1 | Mandatory | STRING | 2 |
|
{
"w2wpiRequest": {
"MerchantType": "0088",
"TraceNo": "000019",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"TerminalId": "NOVA",
"ReceiverMobileNumber": "xxxxxxxxxxx",
"MobileNo": "xxxxxxxxxxx",
"Amount": "100",
"Reserved1": "01"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|---|---|---|---|
| MerchantType | MerchantType | String | 4 | 0088 |
| TraceNo | TraceNo | String | 5 | 00019 |
| CompanyName | CompanyName | String | 4 | NOVA |
| DateTime | DateTime | String | 14 | 20170706121213 |
| CustomerMobile | CustomerMobile | String | 11 | xxxxxxxxxxx |
| TransactionProcessingAmount | TransactionProcessingAmount | String | 1 | 00 |
| CommissionAmount | CommissionAmount | String | 1 | 00 |
| TotalAmount | TotalAmount | String | 3 | 100 |
| TransactionAmount | TransactionAmount | String | 3 | 100 |
| ReceiverMobileNumber | ReceiverMobileNumber | String | 11 | xxxxxxxxxxx |
| RecieverAccountTitle | RecieverAccountTitle | String | 21 | MUHAMMAD ARSALAN KHAN |
| ResponseCode | ResponseCode | String | 1 | 00 |
| ResponseDetails | ResponseDetails | object | 14 | ["Successful"] |
{
"w2wpiResponse": {
"MerchantType": "0088",
"TraceNo": "000019",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"CustomerMobile": "xxxxxxxxxxx",
"TransactionProcessingAmount": "0.00",
"CommissionAmount": "0.0",
"TotalAmount": "100.0",
"TransactionAmount": "100.0",
"ReceiverMobileNumber": "xxxxxxxxxxx",
"RecieverAccountTitle": "MUHAMMADARSALANKHAN",
"ResponseCode": "00",
"ResponseDetails": ["Successful"]
}
}
{
"w2wpiResponse": {
"MerchantType": "0088",
"TraceNo": "000019",
"CompanyName": "NOVA",
"DateTime": "20170706121213",
"CustomerMobile": "xxxxxxxxxxx",
"TransactionProcessingAmount": "0.00",
"CommissionAmount": "0.0",
"TotalAmount": "100.0",
"TransactionAmount": "100.0",
"ReceiverMobileNumber": "xxxxxxxxxxx",
"RecieverAccountTitle": "MUHAMMADARSALANKHAN",
"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 |