Biller Products

PLN Non-Electricity Bill

Espay provides an API to process PLN Non-Electricity Bill payments, which are payments outside of monthly electricity bills (postpaid) and token purchases (prepaid). This service is primarily used for payments related to new connections, changes in power capacity, reconnections, and other PLN services.

For integration, you send a request to the Bill Inquiry service with the customer code. Then, to complete the payment, you send a request to the Bill Payment service using the data returned from the Bill Inquiry. Learn more about Biller Product | Bill Inquiry and Biller Product | Bill Payment.
Download the Postman collection – PLN Non-Electricity Bill here.

Product Codes

Data Pendukung - Bill Payment

Parmeter Permintaan

Parameter Tipe Mandatory Keterangan
data
...
...
....
  customer_id
...
...
...
  customer_name
...
...
...
  class
...
...
...
  registration_date
...
...
...
  bill_amount
...
...
...
  admin_fee
...
...
...


Bill Inquiry - PLN Non-Electircity Bill

Sample Request

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

rq_uuid=SANDBOXINQUIRYBILLER01010101
rq_datetime=2019-10-10 11:01:30
sender_id=SANDBO
password=test
order_id=520520796665
product_code=SLYLNT
signature=9d6eede295d8865adc9eefa3fc48c059d22773338b01284eb42ab688671a7c9c
               


Sample Positive Response

belum tersedia
                


Sample Negative Response

{
    "rq_uuid": "SANDBOXINQUIRYBILLER01010101",
    "rs_datetime": "2025-10-20 10:36:05",
    "error_code": "33",
    "error_message": "IDPEL YANG ANDA MASUKKAN SALAH, MOHON TELITI KEMBALI"
}
                



Bill Payment - PLN Non-Electircity Bill

Sample Request

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

rq_uuid=SANDBOXPAYMENTBILLER01010110
rq_datetime=2019-10-10 11:02:30
sender_id=SANDBOX
password=test
order_id=520520796665
product_code=SLYLNT
amount=1470000
signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1
data={
    "customer_id":"520520796665",
    "customer_name":"DR.Jeffry A'lGh",
    "class":"PERUBAHAN DAYA",
    "registration_date":"52AGT15",
    "bill_amount":"11200",
    "admin_fee":"0"
 }
               


Sample Positive Response

Belum tersedia
                


Sample Negative Response

{
   "rq_uuid":"SANDBOXPAYMENTBILLER01010110",
   "rs_datetime":"2025-10-20 10:40:01",
   "error_code":"33",
   "error_message":"IDPEL YANG ANDA MASUKKAN SALAH, MOHON TELITI KEMBALI"
}
                    


HTTP Bill Inquiry - PLN Non-Electircity Bill

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

rq_uuid=SANDBOXINQUIRYBILLER01010101&rq_datetime=2019-10-10%2011%3A01%3A30&sender_id=SANDBOX&password=test&order_id=520520796665&product_code=SLYLNT&signature=9d6eede295d8865adc9eefa3fc48c059d22773338b01284eb42ab688671a7c9c
               


HTTP Bill Payment - PLN Non-Electircity Bill

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

rq_uuid=SANDBOXPAYMENTBILLER01010110&rq_datetime=2019-10-10%2011%3A02%3A30&sender_id=SANDBOX&password=test&order_id=520520796665&product_code=SLYLNT&amount=1470000&signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1&data=%7B%0A%20%20%20%20%20%20%20%20%22customer_id%22%3A%20%22520520796665%22%2C%0A%20%20%20%20%20%20%20%20%22customer_name%22%3A%20%22DR.Jeffry%20A'lGh%22%2C%0A%20%20%20%20%20%20%20%20%22class%22%3A%20%22PERUBAHAN%20DAYA%22%2C%0A%20%20%20%20%20%20%20%20%22registration_date%22%3A%20%2252AGT15%22%2C%0A%20%20%20%20%20%20%20%20%22bill_amount%22%3A%20%2211200%22%2C%0A%20%20%20%20%20%20%20%20%22admin_fee%22%3A%20%220%22%0A%20%20%20%20%7D
               


CURL Bill Inquiry - PLN Non-Electircity Bill

curl --location 'https://sandbox-api.espay.id/rest/biller/inquirytransaction' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic ZXNwYXktdGVzdDp0ZXN0' \
--data-urlencode 'rq_uuid=SANDBOXINQUIRYBILLER01010101' \
--data-urlencode 'rq_datetime=2019-10-10 11:01:30' \
--data-urlencode 'sender_id=SANDBOX' \
--data-urlencode 'password=test' \
--data-urlencode 'order_id=520520796665' \
--data-urlencode 'product_code=SLYLNT' \
--data-urlencode 'signature=9d6eede295d8865adc9eefa3fc48c059d22773338b01284eb42ab688671a7c9c'
               


CURL Bill Payment - PLN Non-Electircity Bill

curl --location 'https://sandbox-api.espay.id/rest/biller/paymentreport' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic ZXNwYXktdGVzdDp0ZXN0' \
--data-urlencode 'rq_uuid=SANDBOXPAYMENTBILLER01010110' \
--data-urlencode 'rq_datetime=2019-10-10 11:02:30' \
--data-urlencode 'sender_id=SANDBOX' \
--data-urlencode 'password=test' \
--data-urlencode 'order_id=520520796665' \
--data-urlencode 'product_code=SLYLNT' \
--data-urlencode 'amount=1470000' \
--data-urlencode 'signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1' \
--data-urlencode 'data={
        "customer_id": "520520796665",
        "customer_name": "DR.Jeffry A'\''lGh",
        "class": "PERUBAHAN DAYA",
        "registration_date": "52AGT15",
        "bill_amount": "11200",
        "admin_fee": "0"
    }'
               
Scroll to Top