Biller Espay

Tagihan Air PDAM

Espay menyediakan API untuk memproses pembayaran Tagihan Air PDAM. Mekanisme yang digunakan adalah Inquiry-Based Payment, di mana Anda harus melakukan Bill Inquiry sebelum melakukan pembayaran.

Pertama, kirim permintaan ke layanan Bill Inquiry dengan menyertakan nomor pelanggan. Sistem akan menampilkan detail transaksi Anda. Setelah itu, untuk melanjutkan pembayaran, kirim permintaan ke layanan Bill Payment dengan menyertakan data yang diperoleh dari Bill Inquiry.

Unduh koleksi Postman – PDAM di sini

Kode Produk

Data Pendukung - Bill Inquiry

Parmeter Permintaan

Tidak ada data pendukung.

Parameter Respons

Parameter Tipe Mandatory Keterangan
data
...
...
....
  bill_amount
...
...
...
  bill_date
...
...
...
  bill_total
...
...
...
  cubication
...
...
...
  customer_id
...
...
...
  customer_name
...
...
...
  penalty
...
...
...
  provider_code
...
...
...
  ref_no
...
...
...
bankFee
...
...
...
barcode_fee
...
...
...
receipt
...
...
...
  field
...
...
...
  value
...
...
...

Data Pendukung - Bill Payment

Parmeter Permintaan

Parameter Tipe Mandatory Keterangan
data
...
...
....
  provider_code
...
...
...
  customer_id
...
...
...
  customer_name
...
...
...
  bill_total
...
...
...
  bill_date
...
...
...
  bill_amount
...
...
...
  penalty
...
...
...
  cubication
...
...
...
  ref_no
...
...
...

Parmeter Respons

Parameter Tipe Mandatory Keterangan
data
...
...
....
  bill_amount
...
...
...
  bill_date
...
...
...
  bill_total
...
...
...
  cubication
...
...
...
  customer_id
...
...
...
  customer_name
...
...
...
  penalty
...
...
...
  provider_code
...
...
...
  ref_no
...
...
...
bankFee
...
...
...
mwData
...
...
...
  ftbpTraceNo
...
...
...
barcode_fee
...
...
...
receipt
...
...
...
  field
...
...
...
  value
...
...
...














































Bill Inquiry - Contoh Permintaan

POST /rest/biller/inquirytransaction HTTP/1.1
Host: sandbox-api.espay.id
Content-Type: application/x-www-form-urlencoded
Authorization: Basic ZXNwYXktdGVzdDp0ZXN0
Content-Length: 229

rq_uuid=SANDBOXINQUIRYBILLER01010986785&
rq_datetime=2019-10-10%2011%3A01%3A30&
sender_id=SANDBOX&
password=test&
order_id=400400400400400&
product_code=SLYATR&
signature=9d6eede295d8865adc9eefa3fc48c059d22773338b01284eb42ab688671a7c9c
             


Bill Inquiry - Contoh Respons

{
    "rq_uuid": "SANDBOXINQUIRYBILLER010109867850",
    "rs_datetime": "2025-02-14 14:48:36",
    "error_code": "0000",
    "error_desc": "Success",
    "order_id": "400400400400400",
    "amount": "200350000",
    "bill_amount": "200000000",
    "admin_fee": "350000",
    "data": {
        "bill_amount": "0002000000",
        "bill_date": "201510",
        "bill_total": "01",
        "cubication": "00000000-00000000",
        "customer_id": "000315996",
        "customer_name": "ASMUNI",
        "penalty": "00000000",
        "provider_code": "11",
        "ref_no": ""
    },
    "bankFee": "350000",
    "barcode_fee": "",
    "receipt": {
        "field": "Reference Number",
        "value": ""
    }
}
             


Bill Inquiry - Contoh Respons Negatid

{
    "rq_uuid": "SANDBOXINQUIRYBILLER01010986785",
    "rs_datetime": "2025-02-14 14:48:02",
    "error_code": 210,
    "error_desc":"UUID already exist"
}
             










Bill Payment - Contoh Permintaan

POST /rest/biller/paymentreport HTTP/1.1
Host: sandbox-api.espay.id
Content-Type: application/x-www-form-urlencoded
Authorization: Basic ZXNwYXktdGVzdDp0ZXN0
Content-Length: 852

rq_uuid=SANDBOXPAYMENTBILLER01010264654&
rq_datetime=2019-10-10%2011%3A02%3A30&
sender_id=SANDBOX&
password=test&
order_id=400400400400400&
product_code=SLYATR&
amount=1498400&
signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1&
data={
        "provider_code": "11",
        "customer_id": "000315996",
        "customer_name": "ASMUNI",
        "bill_total": "01",
        "bill_date": "201510",
        "bill_amount": "000000011484",
        "penalty": "00000000",
        "cubication": "00000000-00000000",
        "ref_no": ""
    }
              








Bill Payment - Contoh Respons Positif

{
    "rq_uuid": "SANDBOXPAYMENTBILLER01010264651",
    "rs_datetime": "2025-02-14 15:33:16",
    "error_code": "0000",
    "error_desc": "Success",
    "order_id": "400400400400400",
    "ref_id": "20250214153316",
    "data": {
        "bill_amount": "0002000000",
        "bill_date": "201510",
        "bill_total": "01",
        "cubication": "00000000-00000000",
        "customer_id": "000315996",
        "customer_name": "ASMUNI",
        "penalty": "00000000",
        "provider_code": "11",
        "ref_no": ""
    },
    "bankFee": 0,
    "mwData": "{\"ftbpTraceNo\":\"141296\"}",
    "barcode_fee": "",
    "receipt": {
        "field": "Reference Number",
        "value": ""
    }
}
              


Bill Payment - Contoh Respons Negatif

{
    "rq_uuid": "SANDBOXPAYMENTBILLER01010264651",
    "rs_datetime": "2025-02-14 15:33:42",
    "error_code": 610,
    "error_desc": "Anda bisa melakukan transaksi yang sama setelah 5 menit"
}
              




cURL


...


           








































Scroll to Top