Inquiry

API to inquiry Multifinance.

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
FNMEGA6391601201Success
FNMEGA6391601203Inquiry - Time Out
FNMEGA6391601204Inquiry - Invoice Has Been Paid
FNMEGA6391601205Inquiry - Incorrect Destination Number
FNMEGA6391601206Payment - Payment Failed
FNMEGA6391601207Payment - Pending / transaction in process
FNMEGA6391601208Payment - 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
hpStringContract 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"        : "FNMEGA",
  "hp"          : "6391601201",
  "ref_id"      : "09128374652",
  "sign"        : "3743ec3e02f9076ea56e2f61be698a8e"
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>FNMEGA</code>
  <hp>6391601201</hp>
  <ref_id>09128374652</ref_id>
  <sign>3743ec3e02f9076ea56e2f61be698a8e</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
hpStringGas negara 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 description, please refer to multifinance objectYes
{
  "data": {
    "tr_id": 9732789,
    "code": "FNMEGA",
    "hp": "6391601201",
    "tr_name": "ABDUL SAMID HARAHAP",
    "period": "005",
    "nominal": 661000,
    "admin": 0,
    "ref_id": "09128374652",
    "response_code": "00",
    "message": "INQUIRY SUCCESS",
    "price": 661000,
    "selling_price": 660500,
    "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>
  <hp>6391601201</hp>
  <tr_name>ABDUL SAMID HARAHAP</tr_name>
  <period>005</period>
  <nominal>661000</nominal>
  <admin>0</admin>
  <ref_id>09128374652</ref_id>
  <response_code>00</response_code>
  <message>INQUIRY SUCCESS</message>
  <price>661000</price>
  <selling_price>660500</selling_price>
  <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 inquiry code explanation using Laravel.

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