PDAM

Payment

API to pay PDAM.

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"    : "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 :

  1. 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.

  1. 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.ACEHBESARPDAMKAB.ACEHTAMIANGPDAMKAB.ACEHUTARA
PDAMKAB.AGAMPDAMKAB.BANDUNGBPDAMKAB.BANGGAI
PDAMKAB.BANGKABARATPDAMKAB.BANTULPDAMKAB.BANYUASIN
PDAMKAB.BATANGHARIPDAMKAB.BEKASIPDAMKAB.BELITUNGTIMUR
PDAMKAB.BENGKAYANGPDAMKAB.BONEPDAMKAB.BONEBOLANGO
PDAMKAB.BULUNGANTANJUNGSELORPDAMKAB.BUTONPDAMKAB.CILACAPNONREGULER
PDAMKAB.DOMPUPDAMKAB.ENREKANGPDAMKAB.GIANYAR
PDAMKAB.GIANYARNONAIRPDAMKAB.GORONTALOPDAMKAB.GORONTALOLIMBOTO
PDAMKAB.GOWAPDAMKAB.GUNUNGKIDULPDAMKAB.HALMAHERAUTARA
PDAMKAB.HULUSUNGAIUTARAAMUNTAIPDAMKAB.JEMBRANAPDAMKAB.KAPUASHULU
PDAMKAB.KARAWANGBPDAMKAB.KEDIRIPDAMKAB.KERINCI
PDAMKAB.KETAPANGPDAMKAB.KOLAKAPDAMKAB.KOLAKAUTARA
PDAMKAB.KOTABARUPULAULAUTPDAMKAB.KUDUSPDAMKAB.KUPANG
PDAMKAB.KUTAIBARATPDAMKAB.KUTAIKERTANEGARAPDAMKAB.LAMANDAU
PDAMKAB.LAMONGANPDAMKAB.LAMPUNGSELATANPDAMKAB.LEBAK
PDAMKAB.LIMAPULUHKOTAPDAMKAB.LOMBOKTIMURPDAMKAB.LUWU
PDAMKAB.LUWUTIMURPDAMKAB.LUWUUTARAPDAMKAB.MAGELANG
PDAMKAB.MAGETANPDAMKAB.MAJALENGKAPDAMKAB.MALINAU
PDAMKAB.MALUKUTENGGARAPDAMKAB.MANGGARAIPDAMKAB.MAROS
PDAMKAB.MEMPAWAHPDAMKAB.MERANGINPDAMKAB.MINAHASAUTARA
PDAMKAB.MUARABUNGOPDAMKAB.MUARAENIMPDAMKAB.MUAROJAMBI
PDAMKAB.MUSIBANYUASINPDAMKAB.NGAWIPDAMKAB.OGANILIR
PDAMKAB.OKUBATURAJAPDAMKAB.OKUSELATANPDAMKAB.PACITAN
PDAMKAB.PADANGPARIAMANPDAMKAB.PAMEKASANPDAMKAB.PANDEGLANG
PDAMKAB.PESSELPDAMKAB.POLMANPDAMKAB.PRABUMULIH
PDAMKAB.PURWAKARTAPDAMKAB.SANGGAUPDAMKAB.SAROLANGUN
PDAMKAB.SERANGPDAMKAB.SERDANGPDAMKAB.SERUYAN
PDAMKAB.SIDRAPPDAMKAB.SIJUNJUNGPDAMKAB.SIKKA
PDAMKAB.SINJAIPDAMKAB.SOLOKPDAMKAB.SRAGEN
PDAMKAB.SUMBAWAPDAMKAB.SUMENEPPDAMKAB.TABALONG
PDAMKAB.TANAHBUMBUPDAMKAB.TANAHDATARPDAMKAB.TANGERANG
PDAMKAB.TANJUNGJABUNGBARATPDAMKAB.TEBOPDAMKAB.TIMORTENGAHUTARA
PDAMKAB.TRENGGALEKPDAMKAB.TUBANPDAMKAB.TULUNGAGUNG
PDAMKAB.WAJOPDAMKOTA.BIMAPDAMKOTA.BLITAR
PDAMKOTA.BONEWATAMPONEPDAMKOTA.BONTANGPDAMKOTA.BUKITTINGGI
PDAMKOTA.CILEGONPDAMKOTA.DAROYPDAMKOTA.DKIPALYJA
PDAMKOTA.GORONTALOPDAMKOTA.JAMBIPDAMKOTA.KANDANGAN
PDAMKOTA.KENDARIPDAMKOTA.KUTAITIMURPDAMKOTA.LANGSA
PDAMKOTA.LUBUKLINGGAUPDAMKOTA.MAGELANGPDAMKOTA.MOJOKERTO
PDAMKOTA.PALOPOPDAMKOTA.PALUPDAMKOTA.PANGKALPINANG
PDAMKOTA.PAREPAREPDAMKOTA.PARIAMANPDAMKOTA.PEKANBARU
PDAMKOTA.PEMATANGSIANTARPDAMKOTA.RANTAUPRAPATPDAMKOTA.SABANG
PDAMKOTA.SAMPITPDAMKOTA.SINGKAWANGPDAMKOTA.TANJUNGBALAI
PDAMKOTA.TANJUNGPINANGPDAMKOTA.TARAKANPDAMKOTA.TARUTUNG
PDAMKOTA.TASIKMALAYAPDAMKOTA.TEBINGTINGGIPDAMKOTA.TEMBILAHAN
PDAMKOTA.TERNATEPDAMKOTA.TOMOHONPDAMKOTA.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.

Video thumbnail

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

Video thumbnail