Payment
API to pay PDAM.
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" : "9732791",
"sign" : "c6836fdee839788a61b917eebb32ec53"
}
<?xml version="1.0" ?>
<mp>
<commands>pay-pasca</commands>
<username>123123123</username>
<tr_id>9732791</tr_id>
<sign>c6836fdee839788a61b917eebb32ec53</sign>
</mp>
::
Response
Loading...
There are 2 types of PDAM response :
- Separated desc.bill.detail for each period
For example when there is PDAM bill 2 periods, then the desc.bill.detail will be 2 index array that contain detail for each period.
- Unified desc.bill.detail for all period
For example when there is PDAM bill 2 periods, then the desc.bill.detail just 1 index array that contain detail for all period. Below table is a list of PDAM products for unified detail for all period:
- | - | - |
---|---|---|
PDAMKAB.ACEHBESAR | PDAMKAB.ACEHTAMIANG | PDAMKAB.ACEHUTARA |
PDAMKAB.AGAM | PDAMKAB.BANDUNGB | PDAMKAB.BANGGAI |
PDAMKAB.BANGKABARAT | PDAMKAB.BANTUL | PDAMKAB.BANYUASIN |
PDAMKAB.BATANGHARI | PDAMKAB.BEKASI | PDAMKAB.BELITUNGTIMUR |
PDAMKAB.BENGKAYANG | PDAMKAB.BONE | PDAMKAB.BONEBOLANGO |
PDAMKAB.BULUNGANTANJUNGSELOR | PDAMKAB.BUTON | PDAMKAB.CILACAPNONREGULER |
PDAMKAB.DOMPU | PDAMKAB.ENREKANG | PDAMKAB.GIANYAR |
PDAMKAB.GIANYARNONAIR | PDAMKAB.GORONTALO | PDAMKAB.GORONTALOLIMBOTO |
PDAMKAB.GOWA | PDAMKAB.GUNUNGKIDUL | PDAMKAB.HALMAHERAUTARA |
PDAMKAB.HULUSUNGAIUTARAAMUNTAI | PDAMKAB.JEMBRANA | PDAMKAB.KAPUASHULU |
PDAMKAB.KARAWANGB | PDAMKAB.KEDIRI | PDAMKAB.KERINCI |
PDAMKAB.KETAPANG | PDAMKAB.KOLAKA | PDAMKAB.KOLAKAUTARA |
PDAMKAB.KOTABARUPULAULAUT | PDAMKAB.KUDUS | PDAMKAB.KUPANG |
PDAMKAB.KUTAIBARAT | PDAMKAB.KUTAIKERTANEGARA | PDAMKAB.LAMANDAU |
PDAMKAB.LAMONGAN | PDAMKAB.LAMPUNGSELATAN | PDAMKAB.LEBAK |
PDAMKAB.LIMAPULUHKOTA | PDAMKAB.LOMBOKTIMUR | PDAMKAB.LUWU |
PDAMKAB.LUWUTIMUR | PDAMKAB.LUWUUTARA | PDAMKAB.MAGELANG |
PDAMKAB.MAGETAN | PDAMKAB.MAJALENGKA | PDAMKAB.MALINAU |
PDAMKAB.MALUKUTENGGARA | PDAMKAB.MANGGARAI | PDAMKAB.MAROS |
PDAMKAB.MEMPAWAH | PDAMKAB.MERANGIN | PDAMKAB.MINAHASAUTARA |
PDAMKAB.MUARABUNGO | PDAMKAB.MUARAENIM | PDAMKAB.MUAROJAMBI |
PDAMKAB.MUSIBANYUASIN | PDAMKAB.NGAWI | PDAMKAB.OGANILIR |
PDAMKAB.OKUBATURAJA | PDAMKAB.OKUSELATAN | PDAMKAB.PACITAN |
PDAMKAB.PADANGPARIAMAN | PDAMKAB.PAMEKASAN | PDAMKAB.PANDEGLANG |
PDAMKAB.PESSEL | PDAMKAB.POLMAN | PDAMKAB.PRABUMULIH |
PDAMKAB.PURWAKARTA | PDAMKAB.SANGGAU | PDAMKAB.SAROLANGUN |
PDAMKAB.SERANG | PDAMKAB.SERDANG | PDAMKAB.SERUYAN |
PDAMKAB.SIDRAP | PDAMKAB.SIJUNJUNG | PDAMKAB.SIKKA |
PDAMKAB.SINJAI | PDAMKAB.SOLOK | PDAMKAB.SRAGEN |
PDAMKAB.SUMBAWA | PDAMKAB.SUMENEP | PDAMKAB.TABALONG |
PDAMKAB.TANAHBUMBU | PDAMKAB.TANAHDATAR | PDAMKAB.TANGERANG |
PDAMKAB.TANJUNGJABUNGBARAT | PDAMKAB.TEBO | PDAMKAB.TIMORTENGAHUTARA |
PDAMKAB.TRENGGALEK | PDAMKAB.TUBAN | PDAMKAB.TULUNGAGUNG |
PDAMKAB.WAJO | PDAMKOTA.BIMA | PDAMKOTA.BLITAR |
PDAMKOTA.BONEWATAMPONE | PDAMKOTA.BONTANG | PDAMKOTA.BUKITTINGGI |
PDAMKOTA.CILEGON | PDAMKOTA.DAROY | PDAMKOTA.DKIPALYJA |
PDAMKOTA.GORONTALO | PDAMKOTA.JAMBI | PDAMKOTA.KANDANGAN |
PDAMKOTA.KENDARI | PDAMKOTA.KUTAITIMUR | PDAMKOTA.LANGSA |
PDAMKOTA.LUBUKLINGGAU | PDAMKOTA.MAGELANG | PDAMKOTA.MOJOKERTO |
PDAMKOTA.PALOPO | PDAMKOTA.PALU | PDAMKOTA.PANGKALPINANG |
PDAMKOTA.PAREPARE | PDAMKOTA.PARIAMAN | PDAMKOTA.PEKANBARU |
PDAMKOTA.PEMATANGSIANTAR | PDAMKOTA.RANTAUPRAPAT | PDAMKOTA.SABANG |
PDAMKOTA.SAMPIT | PDAMKOTA.SINGKAWANG | PDAMKOTA.TANJUNGBALAI |
PDAMKOTA.TANJUNGPINANG | PDAMKOTA.TARAKAN | PDAMKOTA.TARUTUNG |
PDAMKOTA.TASIKMALAYA | PDAMKOTA.TEBINGTINGGI | PDAMKOTA.TEMBILAHAN |
PDAMKOTA.TERNATE | PDAMKOTA.TOMOHON | PDAMKOTA.WISATABATU |
PDAMKOTA.YOGYAKARTA | - | - |
Other than above table is separated detail
Separated Detail Response
{ "data": {}, "meta": [] }
Unified Detail 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 payment code explanation using Laravel.

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

Table of Contents