Payment

API to pay Television 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"    : "9732314",
  "sign"     : "e87a1e5da86ac0d67330527b48f9b8ce"
}
<?xml version="1.0" ?>
<mp>
  <commands>pay-pasca</commands>
  <username>123123123</username>
  <tr_id>9732314</tr_id>
  <sign>e87a1e5da86ac0d67330527b48f9b8ce</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 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",
    "datetime": "20180803171924",
    "hp": "127246500101",
    "tr_name": "BAITUS MONGJENG",
    "period": "MEI 12",
    "nominal": 99000,
    "admin": 1950,
    "response_code": "00",
    "message": "PAYMENT SUCCESS",
    "price": 100950,
    "selling_price": 99950,
    "balance": 997348759,
    "noref": "18141775",
    "ref_id": "09128374657",
    "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>
  <datetime>20170725164058</datetime>
  <hp>127246500101</hp>
  <tr_name>BAITUS MONGJENG</tr_name>
  <period>MEI 12</period>
  <nominal>99000</nominal>
  <admin>1950</admin>
  <response_code>00</response_code>
  <message>PAYMENT SUCCESS</message>
  <price>100950</price>
  <selling_price>99950</selling_price>
  <balance>73176494</balance>
  <no_ref>18141775</no_ref>
  <ref_id>09128374657</ref_id>
  <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 payment code explanation using Laravel.

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