Payment

API to pay Multifinance.

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"    : "9732789",
  "sign"     : "e4fe9e9c8ba737d6897e7f15bb1380a0"
}
<?xml version="1.0" ?>
<mp>
  <commands>pay-pasca</commands>
  <username>123123123</username>
  <tr_id>9732789</tr_id>
  <sign>e4fe9e9c8ba737d6897e7f15bb1380a0</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
datetimeStringTransaction time (Format YmdHis)Yes
hpStringContract 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 description, please refer to multifinance objectYes
{
  "data": {
    "tr_id": 9732789,
    "code": "FNMEGA",
    "datetime": "20180803171802",
    "hp": "6391601201",
    "tr_name": "ABDUL SAMID HARAHAP",
    "period": "005",
    "nominal": 661000,
    "admin": 0,
    "response_code": "00",
    "message": "PAYMENT SUCCESS",
    "price": 661000,
    "selling_price": 660500,
    "balance": 998506398,
    "noref": "49911296",
    "ref_id": "09128374652",
    "desc": {
      "misc_fee": 0,
      "item_name": "HONDA VARIO TECHNO 125 PGM FI NON CBS",
      "no_rangka": "MH1JFB111CK196426",
      "no_pol": "B6213UWX",
      "tenor": "030",
      "installment": 657695,
      "penalty_bill": 3305,
      "max_payment": 0,
      "last_paid_due_date": "14 Dec 12",
      "id_ref": "514367"
    }
  },
  "meta": []
}
<?xml version="1.0"?>
<mp>
  <tr_id>9732789</tr_id>
  <code>FNMEGA</code>
  <datetime>20170725134000</datetime>
  <hp>6391601201</hp>
  <tr_name>ABDUL SAMID HARAHAP</tr_name>
  <period>005</period>
  <nominal>661000</nominal>
  <admin>0</admin>
  <response_code>00</response_code>
  <message>PAYMENT SUCCESS</message>
  <price>661000</price>
  <selling_price>660500</selling_price>
  <balance>74578043</balance>
  <noref>49911296</noref>
  <ref_id>09128374652</ref_id>
  <desc>
    <misc_fee>0</misc_fee>
    <item_name>HONDA VARIO TECHNO 125 PGM FI NON CBS</item_name>
    <no_rangka>MH1JFB111CK196426</no_rangka>
    <no_pol>B6213UWX</no_pol>
    <tenor>030</tenor>
    <installment>657695</installment>
    <penalty_bill>3305</penalty_bill>
    <max_payment>0</max_payment>
    <last_paid_due_date>14 Dec 12</last_paid_due_date>
    <id_ref>514367</id_ref>
  </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.