Check Status

API to check status.

Path

MethodPath
POSTapi/v1/bill/check

Request Body

AttributesTypeDescriptionMandatory
commandsStringValue: checkstatusYes
usernameStringYour registered phone numberYes
ref_idStringYour order number / reference IDYes
signStringSignature. Value: md5(username+api_key+'cs')Yes
{
  "commands" : "checkstatus",
  "username" : "123123123",
  "ref_id"   : "091283746520",
  "sign"     : "6bc194c0d23c18a12f5d6919aa72bc30"
}
<?xml version="1.0" ?>
<mp>
  <commands>checkstatus</commands>
  <username>123123123</username>
  <ref_id>091283746520</ref_id>
  <sign>6bc194c0d23c18a12f5d6919aa72bc30</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
datetimeStringTransaction time (Format YmdHis)Yes
hpStringTax object numberYes
tr_nameStringBill account nameYes
periodStringBill periodYes
nominalDoubleBill nominalYes
adminDoubleAdmin feeYes
statusIntegerTransaction status. List of status :
`0:Payment request haven't been received` `1:Payment success` `2:Payment failed` `3:Payment is being process`
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
balanceDoubleClient remaining balanceYes
norefStringBiller reference number (if exist)Yes
ref_idStringYour order number / reference ID ( must unique )Yes
descObject
Notes: If empty return String
Product description (See in each product segment)Yes

Payment Success Response

{
  "data": {},
  "meta": []
}

Payment Request Haven't Been Received Response

{
  "data": {},
  "meta": []
}

Payment Is Being Process Response

{
  "data": {},
  "meta": []
}

Payment Failed Response

{
  "data": {},
  "meta": []
}

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 check status code explanation using Laravel.

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