Payment
API to pay PBB.
Path
Method | Path |
---|---|
POST | api/v1/bill/check |
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
commands | String | Value: pay-pasca | Yes |
username | String | Your registered phone number | Yes |
tr_id | Integer | IAK inquiry ID | Yes |
sign | String | Signature. Value: md5(username+api_key+tr_id) | Yes |
{
"commands" : "pay-pasca",
"username" : "123123123",
"tr_id" : "24462730",
"sign" : "8ad94262a61ac27676a8b2b11fb80ee2"
}
<?xml version="1.0" ?>
<mp>
<commands>pay-pasca</commands>
<username>123123123</username>
<tr_id>24462730</tr_id>
<sign>8ad94262a61ac27676a8b2b11fb80ee2</sign>
</mp>
::
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
tr_id | Integer | IAK inquiry ID | Yes |
code | String | Product code | Yes |
datetime | String | Transaction time (Format YmdHis) | Yes |
hp | String | Tax object number | Yes |
tr_name | String | Bill account name | Yes |
period | String | Bill period | Yes |
nominal | Double | Bill nominal | Yes |
admin | Double | Admin fee | Yes |
response_code | String | Response code. See response code list | Yes |
message | String | Message | Yes |
price | Double | Total price that must be paid (nominal + admin fee) | Yes |
selling_price | Double | Deducted balance (price - commission) | Yes |
balance | Double | Client remaining balance | Yes |
noref | String | Biller reference number (if exist) | No |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
desc | Object | Product description | Yes |
desc.tanggal | Double | Date | Yes |
desc.nop | String | Tax object number | Yes |
desc.tahun_pajak | String | Year of the tax | Yes |
desc.lokasi | String | Asset location | Yes |
desc.kelurahan | String | Village office | Yes |
desc.kecamatan | Double | Districts | Yes |
desc.kab_kota | Double | Districts / city | Yes |
desc.luas_tanah | Double | Wide of surface area | Yes |
desc.luas_gedung | String | Wide of building area | Yes |
desc.jatuh_tempo | String | Due date | Yes |
desc.total_tagihan | Float | Total bill | Yes |
desc.denda | Float | Penalty fee | Yes |
desc.admin | Integer | Admin fee | Yes |
desc.total_bayar | Float | Total payment | Yes |
{
"data": {
"tr_id": 24462730,
"code": "PBBKOT.CIMAHI",
"datetime": "20190916152947",
"hp": "329801092375990000",
"tr_name": "TESTING PBB",
"period": "201909",
"nominal": 203857,
"admin": 5000,
"response_code": "00",
"message": "PAYMENT SUCCESS",
"price": 208857,
"selling_price": 208857,
"balance": 274686,
"noref": "190814738977",
"ref_id": "978994691278",
"desc": {
"tanggal": "2019-08-14 13:57:54",
"nop": "328073000401005610",
"tahun_pajak": "2019",
"lokasi": "KO. GRIYA ASRI CIPAGERAN",
"kelurahan": "CIPAGERAN",
"kecamatan": "CIMAHI UTARA",
"kode_kab_kota": "0023",
"kab_kota": "PEMKOT CIMAHI",
"luas_tanah": "113 M2",
"luas_gedung": "47 M2",
"jatuh_tempo": "31/10/2019",
"total_tagihan": 203857,
"denda": 0,
"admin": 5000,
"total_bayar": 208857
}
},
"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 payment code explanation using Laravel.

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

Table of Contents