Inquiry
API to inquiry Internet Non Telkom Speedy and Telkom PSTN.
Path
Method | Path |
---|---|
POST | api/v1/bill/check |
Test Case
Code | Number | Response |
---|---|---|
CBN | 01920000 | Success |
CBN | 01920001 | Inquiry - Invoice Has Been Paid |
CBN | 01920014 | Inquiry - Incorrect Destination Number |
CBN | 01920103 | Inquiry - Time Out |
CBN | 01921037 | Payment - Payment Failed |
CBN | 01921039 | Payment - Pending / transaction in process |
CBN | 01921105 | Payment - MISC Error / Biller System Error |
CBN | 0192XXXX | Test other response scenarios in the test case menu. |
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
commands | String | Value: inq-pasca | Yes |
username | String | Your registered phone number | Yes |
code | String | Product Code. You can get list of product code in pricelist api or from pricelist here | Yes |
hp | String | Gas negara customer number | Yes |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
sign | String | Signature. Value: md5(username+api_key+ref_id) | Yes |
{
"commands" : "inq-pasca",
"username" : "123123123",
"code" : "CBN",
"hp" : "01920000",
"ref_id" : "578912993899",
"sign" : "01a6e0b7880edc11d155ca2e79c02899"
}
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
tr_id | Integer | IAK inquiry ID | Yes |
code | String | Product code | Yes |
hp | String | Internet customer number | Yes |
tr_name | String | Bill account name | Yes |
period | String | Bill period | Yes |
nominal | Double | Bill nominal | Yes |
admin | Double | Admin fee | Yes |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
response_code | String | Response code. See response code list | Yes |
message | String | Message | Yes |
price | Double | Total price that must be paid (nominal + admin fee) | Yes |
selling_price | Double | Deducted balance (price - commission) | Yes |
desc | Object | Product description | Yes |
desc.product_desc | String | Product detail description | Yes |
{
"data": {
"tr_id": 24462351,
"code": "CBN",
"hp": "01920000",
"tr_name": "Budi",
"period": "201905",
"nominal": 30000,
"admin": 0,
"ref_id": "578912993899",
"response_code": "00",
"message": "INQUIRY SUCCESS",
"price": 30000,
"selling_price": 29000,
"desc": {
"product_desc": "CBN Anywhere Basic"
}
},
"meta": []
}
Live Testing
Request URL
https://testpostpaid.mobilepulsa.net/api/v1/bill/check
Request Method
Request Header
Content-Type: application/json
Body
Result
Tutorial Video
You can see this video for inquiry code explanation using Laravel.

Or you can see this video for inquiry code explanation using PHP.

Table of Contents