Inquiry

API to inquiry BPJS Kesehatan Bukan Pemberi Upah (BPU).

Path

MethodPath
POSTapi/v1/bill/check

Test Case

CodeNumberResponse
BPJSTK8102051011270000Success
BPJSTK8102051011270001Inquiry - Invoice Has Been Paid
BPJSTK8102051011270014Inquiry - Incorrect Destination Number
BPJSTK8102051011270103Inquiry - Time Out
BPJSTK8102051011271037Payment - Payment Failed
BPJSTK8102051011271039Payment - Pending / transaction in process
BPJSTK8102051011271105Payment - MISC Error / Biller System Error
BPJSTK810205101127XXXXTest 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
hpStringNIKYes
ref_idStringYour order number / reference ID ( must unique )Yes
signStringSignature. Value: md5(username+api_key+ref_id)Yes
monthIntegerNumber of month you're willing to payYes
{
  "commands" : "inq-pasca",
  "username" : "123123123",
  "code"     : "BPJSTK",
  "hp"       : "8102051011270000",
  "ref_id"   : "091283746511",
  "sign"     : "6515c5094421834a85ed9ac7a0fe443b",
  "month"    : 1
}
<?xml version="1.0" ?>
<mp>
  <commands>inq-pasca</commands>
  <username>123123123</username>
  <code>BPJSTK</code>
  <hp>8102051011270000</hp>
  <ref_id>091283746511</ref_id>
  <sign>6515c5094421834a85ed9ac7a0fe443b</sign>
  <month>1</month>
</mp>

Response

Loading...
{
  "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 inquiry code explanation using Laravel.

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