Inquiry

API to inquiry Multifinance.

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
FNMEGA6391600000Success
FNMEGA6391600001Inquiry - Invoice Has Been Paid
FNMEGA6391600014Inquiry - Incorrect Destination Number
FNMEGA6391600103Inquiry - Time Out
FNMEGA6391601037Payment - Payment Failed
FNMEGA6391601039Payment - Pending / transaction in process
FNMEGA6391601105Payment - MISC Error / Biller System Error
FNMEGA639160XXXXTest other response scenarios in the test case menu.

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"          : "6391600000",
  "ref_id"      : "09128374652",
  "sign"        : "3743ec3e02f9076ea56e2f61be698a8e"
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>FNMEGA</code>
  <hp>6391600000</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 balance (price - commission)Yes
descObjectProduct description, please refer to multifinance objectYes
{
  "data": {
    "tr_id": 9732789,
    "code": "FNMEGA",
    "hp": "6391600000",
    "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>6391600000</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.