Inquiry

API to inquiry PLN Non Taglist Postpaid.

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
PLNNONTAG3225030005901Success
PLNNONTAG3225030005902Success
PLNNONTAG3225030005903Inquiry - Time Out
PLNNONTAG3225030005904Inquiry - Invoice Has Been Paid
PLNNONTAG3225030005905Inquiry - Incorrect Destination Number
PLNNONTAG3225030005906Payment - Payment Failed
PLNNONTAG3225030005907Payment - Pending / transaction in process
PLNNONTAG3225030005908Payment - 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
hpStringPLN Non Taglist 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"        : "PLNNONTAG",
  "hp"          : "3225030005901",
  "ref_id"      : "09128374655",
  "sign"        : "0f32cc44bb9469687ef24b6ea857db06"
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>PLNNONTAG</code>
  <hp>3225030005901</hp>
  <ref_id>09128374655</ref_id>
  <sign>0f32cc44bb9469687ef24b6ea857db06</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
hpStringPLN Non Taglist 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.transaksiStringTransaction informationYes
desc.no_registrasiStringRegistration numberYes
desc.tanggal_registrasiStringRegistration dateYes
{
  "data": {
    "tr_id": 219346108,
    "code": "PLNNONTAG",
    "hp": "3225030005901",
    "tr_name": "JAYUSMAN",
    "period": "",
    "nominal": 696400,
    "admin": 1600,
    "ref_id": "09128374655",
    "response_code": "00",
    "message": "INQUIRY SUCCESS",
    "price": 698000,
    "selling_price": 696200,
    "desc": {
      "transaksi": "PENYAMBUNGAN BARU",
      "no_registrasi": "5392112011703",
      "tanggal_registrasi": "20120524"
    }
  },
  "meta": []
}
<?xml version="1.0"?>
<mp>
  <tr_id>219346108</tr_id>
  <code>PLNNONTAG</code>
  <hp>3225030005901</hp>
  <tr_name>JAYUSMAN</tr_name>
  <period></period>
  <nominal>696400</nominal>
  <admin>1600</admin>
  <ref_id>09128374655</ref_id>
  <response_code>00</response_code>
  <message>INQUIRY SUCCESS</message>
  <price>698000</price>
  <selling_price>696200</selling_price>
  <desc>
    <transaksi>PENYAMBUNGAN BARU</transaksi>
    <no_registrasi>5392112011703</daya>
    <tanggal_registrasi>20120524</lembar_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.