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 |
|
| MobileNo | MobileNo | Mandatory | STRING | 11 |
|
| TerminalId | TerminalId | Mandatory | STRING | 4 |
|
| ProductId | ProductId | Mandatory | STRING | 5 |
|
| ConsumerNo | ConsumerNo | Mandatory | STRING | 11 |
|
| Amount | Amount | Mandatory | STRING | 3 |
|
| Reserved1 | Reserved1 | Mandatory | STRING | 2 |
|
{
"BillInquiryRequest": {
"MerchantType": "0088",
"TraceNo": "542455",
"CompanyName": "NOVA",
"DateTime": "20210105201527",
"MobileNo": "xxxxxxxxxxx",
"TerminalId": "NOVA",
"ProductId": "60035",
"ConsumerNo": "xxxxxxxxxxx",
"Amount": "970",
"Reserved1": "01"
}
}
| Name | Description | Parameter Type | Length | Sample Value |
|---|---|---|---|---|
| MerchantType | MerchantType | String | 4 | 0088 |
| TraceNo | TraceNo | String | 6 | 542455 |
| CompanyName | CompanyName | String | 4 | NOVA |
| DateTime | DateTime | String | 14 | 20210105201527 |
| mobileNetwork | mobileNetwork | String | 0 | |
| Amount | Amount | String | 3 | 970 |
| ConsumerNo | ConsumerNo | String | 11 | xxxxxxxxxxx |
| BillPaid | BillPaid | String | 1 | 00 |
| LateBillAmount | LateBillAmount | String | 1 | 5 |
| DueDate | DueDate | String | 10 | 31/12/2022 |
| OverDue | OverDue | String | 1 | 00 |
| ResponseCode | ResponseCode | String | 1 | 00 |
| ResponseDetails | ResponseDetails | object | 14 | ["Successful"] |
{
"BillInquiryResponse": {
"MerchantType": "0088",
"TraceNo": "542455",
"CompanyName": "NOVA",
"DateTime": "20210105201527",
"MobileNetwork": "",
"Amount": "970",
"ConsumerNo": "xxxxxxxxxxx",
"BillPaid": "0",
"LateBillAmount": "5.0",
"DueDate": "31/12/2022",
"OverDue": "0",
"ResponseCode": "00",
"ResponseDetails": ["Successful"]
}
}
{
"BillInquiryResponse": {
"MerchantType": "0088",
"TraceNo": "542455",
"CompanyName": "NOVA",
"DateTime": "20210105201527",
"MobileNetwork": "",
"Amount": "970",
"ConsumerNo": "xxxxxxxxxxx",
"BillPaid": "0",
"LateBillAmount": "5.0",
"DueDate": "31/12/2022",
"OverDue": "0",
"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 |