Inquiry

API to inquiry Television Telkom Vision.

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
TVTLKMV127246500101Success
TVTLKMV127246500103Inquiry - Time Out
TVTLKMV127246500104Inquiry - Invoice Has Been Paid
TVTLKMV127246500105Inquiry - Incorrect Destination Number
TVTLKMV127246500106Payment - Payment Failed
TVTLKMV127246500107Payment - Pending / transaction in process
TVTLKMV127246500108Payment - MISC Error / Biller System Error

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
hpStringTelkom vision 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"      : "TVTLKMV",
  "hp"        : "127246500101",
  "ref_id"    : "09128374657",
  "sign"      : "b0c37e10dda176d1f66b3e9d6a7f8607"
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>TVTLKMV</code>
  <hp>127246500101</hp>
  <ref_id>09128374657</ref_id>
  <sign>b0c37e10dda176d1f66b3e9d6a7f8607</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 balanceYes
descObjectProduct descriptionYes
desc.bill_quantityStringBill quantityYes
desc.product_categoryStringProduct category (Unused)Yes
desc.ppnDoubleTax fee (Unused)Yes
desc.tagihanObjectInvoice dataYes
desc.tagihandetailArrayDetail of invoice per monthYes
desc.tagihan.detail.periodeStringBill period for detailed monthYes
desc.tagihan.detail.nilai_tagihanStringBill amount for detailed monthYes
desc.tagihan.detail.no_refStringReference number for detailed monthYes
{
  "data": {
    "tr_id": 9732314,
    "code": "TVTLKMV",
    "hp": "127246500101",
    "tr_name": "BAITUS MONGJENG",
    "period": "MEI 12",
    "nominal": 99000,
    "admin": 1950,
    "ref_id": "09128374657",
    "response_code": "00",
    "message": "INQUIRY SUCCESS",
    "price": 100950,
    "selling_price": 99950,
    "desc": {
      "bill_quantity": "1",
      "product_category": "",
      "ppn": 0,
      "tagihan": {
        "detail": [
          {
            "periode": "MEI 12",
            "nilai_tagihan": "99000",
            "no_ref": "205A"
          }
        ]
      }
    }
  },
  "meta": []
  }
<?xml version="1.0"?>
<mp>
  <tr_id>9732314</tr_id>
  <code>TVTLKMV</code>
  <hp>127246500101</hp>
  <tr_name>BAITUS MONGJENG</tr_name>
  <period>MEI 12</period>
  <nominal>99000</nominal>
  <admin>1950</admin>
  <ref_id>09128374657</ref_id>
  <response_code>00</response_code>
  <message>INQUIRY SUCCESS</message>
  <price>100950</price>
  <selling_price>99950</selling_price>
  <desc>
    <bill_quantity>1</bill_quantity>
    <product_category></product_category>
    <ppn>0</ppn>
    <tagihan>
      <detail>
        <periode>MEI 12</periode>
        <nilai_tagihan>99000</nilai_tagihan>
        <no_ref>205A</no_ref>
      </detail>
    </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.