Payment

API to pay Television Non Telkom Vision.

Path

MethodPath
POSTapi/v1/bill/check

Request Body

AttributesTypeDescriptionMandatory
commandsStringValue: pay-pascaYes
usernameStringYour registered phone numberYes
tr_idIntegerIAK inquiry IDYes
signStringSignature. Value: md5(username+api_key+tr_id)Yes
{
  "commands" : "pay-pasca",
  "username" : "123123123", 
  "tr_id"    : "9732793",
  "sign"     : "076d19deca1256870ca9eb048dbfd9d8"
}
<?xml version="1.0" ?>
<mp>
  <commands>pay-pasca</commands>
  <username>123123123</username>
  <tr_id>9732793</tr_id>
  <sign>076d19deca1256870ca9eb048dbfd9d8</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
datetimeStringTransaction time (Format YmdHis)Yes
hpStringPLN postpaid customer numberYes
tr_nameStringBill account nameYes
periodStringBill periodYes
nominalDoubleBill nominalYes
adminDoubleAdmin feeYes
response_codeStringResponse code. See response code listYes
messageStringMessageYes
priceDoubleTotal price that must be paid (nominal + admin fee)Yes
selling_priceDoubleDeducted balanceYes
balanceDoubleClient remaining balanceYes
norefStringBiller reference number (if exist)No
ref_idStringYour order number / reference ID ( must unique )Yes
descObjectProduct descriptionYes
desc.bill_quantityStringBill quantityYes
desc.product_categoryStringProduct categoryYes
desc.ppnDoubleTax feeYes
desc.tagihanObject- (Unused)Yes
{
  "data": {
    "tr_id": 9732793,
    "code": "TVBIG",
    "datetime": "20180803171903",
    "hp": "1072161401",
    "tr_name": "Mr. syahrun as",
    "period": "",
    "nominal": 138499,
    "admin": 0,
    "response_code": "00",
    "message": "PAYMENT SUCCESS",
    "price": 138499,
    "selling_price": 137399,
    "balance": 997448709,
    "noref": "339062465",
    "ref_id": "09128374656",
    "desc": {
      "bill_quantity": "1",
      "product_category": "",
      "ppn": 0,
      "tagihan": {
        "detail": []
      }
    }
  },
  "meta": []
  }
<?xml version="1.0"?>
<mp>
  <tr_id>9732793</tr_id>
  <code>TVBIG</code>
  <datetime>20170725155717</datetime>
  <hp>1072161401</hp>
  <tr_name>Mr. syahrun as</tr_name>
  <period></period>
  <nominal>138499</nominal>
  <admin>0</admin>
  <ref_id>1500972821</ref_id>
  <response_code>00</response_code>
  <message>PAYMENT SUCCESS</message>
  <price>138499</price>
  <selling_price>137499</selling_price>
  <balance>997448709</balance>
  <no_ref>339062465</no_ref>
  <ref_id>09128374656</ref_id>
  <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 payment code explanation using Laravel.

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