Payment

API to pay Member Church Offerings.

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

Response

AttributesTypeDescriptionMandatory
tr_idIntegerIAK inquiry IDYes
codeStringProduct codeYes
datetimeStringTransaction time (Format YmdHis)Yes
hpStringCustom Denom payment codeYes
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 descriptionYes
{
  "data": {
    "tr_id": 131024523,
    "code": "MEMBER.IAK_Church-Perpuluhan_2022",
    "datetime": "20231027153245",
    "hp": "1001",
    "tr_name": "TESTING CHURCH",
    "period": "202310",
    "nominal": 100000,
    "admin": 800,
    "response_code": "00",
    "message": "PAYMENT SUCCESS",
    "price": 100800,
    "selling_price": 100350,
    "balance": 999899650,
    "noref": "f08ff5e3-8543-42a1-b885-04b9f1b521d4",
    "ref_id": "0897654321",
    "desc": []
  },
  "meta": []
}
<?xml version="1.0"?>
<mp>
  <tr_id>131024523</tr_id>
  <code>MEMBER.IAK_Church-Perpuluhan_2022</code>
  <datetime>20231027153245</datetime>
  <hp>1001</hp>
  <tr_name>TESTING CHURCH</tr_name>
  <period>202310</period>
  <nominal>100000</nominal>
  <admin>800</admin>
  <response_code>00</response_code>
  <message>PAYMENT SUCCESS</message>
  <price>100800</price>
  <selling_price>100350</selling_price>
  <balance>999899650</balance>
  <noref>f08ff5e3-8543-42a1-b885-04b9f1b521d4</noref>
  <ref_id>0897654321</ref_id>
</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.