Inquiry

API to inquiry Television Non Telkom Vision.

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
TVBIG1072160000Success
TVBIG1072160001Inquiry - Invoice Has Been Paid
TVBIG1072160014Inquiry - Incorrect Destination Number
TVBIG1072160103Inquiry - Time Out
TVBIG1072161037Payment - Payment Failed
TVBIG1072161039Payment - Pending / transaction in process
TVBIG1072161105Payment - MISC Error / Biller System Error
TVBIG107216XXXXTest other response scenarios in the test case menu.

Request Body

AttributesTypeDescriptionMandatory
commandsStringValue: inq-pascaYes
usernameStringYour registered phone numberYes
codeStringProduct Code. You can get list of product code in pricelist api or from pricelist hereYes
hpStringTelevision customer numberYes
ref_idStringYour order number / reference ID ( must unique )Yes
signStringSignature. Value: md5(username+api_key+ref_id)Yes
{
  "commands"  : "inq-pasca",
  "username"  : "123123123",
  "code"      : "TVBIG",
  "hp"        : "1072160000",
  "ref_id"    : "09128374656",
  "sign"      : "15011812f64ce888747de76059aa0b20"
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>TVBIG</code>
  <hp>1072160000</hp>
  <ref_id>09128374656</ref_id>
  <sign>15011812f64ce888747de76059aa0b20</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
hpStringTelevision customer numberYes
tr_nameStringBill account nameYes
periodStringBill periodYes
nominalDoubleBill nominalYes
adminDoubleAdmin feeYes
ref_idStringYour order number / reference ID ( must unique )Yes
response_codeStringResponse code. See response code listYes
messageStringMessageYes
priceDoubleTotal price that must be paid (nominal + admin fee)Yes
selling_priceDoubleDeducted balance (price - commission)Yes
descObjectProduct descriptionYes
desc.bill_quantityStringBill quantityYes
desc.product_categoryStringProduct categoryYes
desc.ppnDoubleTax feeYes
desc.tagihanObject- (Unused)Yes
{
  "data": {
    "tr_id": 9732793,
    "code": "TVBIG",
    "hp": "1072160000",
    "tr_name": "Mr. syahrun as",
    "period": "",
    "nominal": 138499,
    "admin": 0,
    "ref_id": "09128374656",
    "response_code": "00",
    "message": "INQUIRY SUCCESS",
    "price": 138499,
    "selling_price": 137399,
    "desc": {
      "bill_quantity": "1",
      "product_category": "",
      "ppn": 0,
      "tagihan": {
        "detail": []
      }
    }
  },
  "meta": []
}
<?xml version="1.0"?>
<mp>
  <tr_id>9732793</tr_id>
  <code>TVBIG</code>
  <hp>1072160000</hp>
  <tr_name>Mr. syahrun as</tr_name>
  <period></period>
  <nominal>138499</nominal>
  <admin>0</admin>
  <ref_id>09128374656</ref_id>
  <response_code>00</response_code>
  <message>INQUIRY SUCCESS</message>
  <price>138499</price>
  <selling_price>137499</selling_price>
  <desc>
    <bill_quantity>1</bill_quantity>
    <product_category></product_category>
    <ppn>0</ppn>
    <tagihan/>
  </desc>
</mp>

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.