Biller Products

Tagihan Internet

Espay menyediakan API untuk melakukan pembayaran tagihan internet secara online. Untuk integrasi, Anda hanya perlu menggunakan layanan Bill Payment tanpa perlu proses Bill Inquiry. Pelajari lebih lanjut Biller Product | Bill Payment.

Unduh koleksi Postman – Tagihan Internet di sini.

Kode Produk



Bill Payment - CBN

Contoh Permintaan

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

rq_uuid=SANDBOXPAYMENTBILLERPULSAPOSTPAID010101&
rq_datetime=2019-10-10%2011%3A02%3A30&
sender_id=SANDBOX&
password=test&
order_id=4333333333&
product_code=SINCBN&
amount=100000000&
signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1
               


Contoh Respons Positif

{
   "rq_uuid":"SANDBOXPAYMENTBILLERPULSAPOSTPAID010101",
   "rs_datetime":"2025-02-14 14:25:17",
   "error_code":"0000",
   "error_desc":"Success",
   "order_id":"4333333333",
   "ref_id":"20250214142517",
   "data":{
      "customer_id":"4333333333",
      "amount":"000000100000"
   },
   "bankFee":0,
   "mwData":"{\"ftbpTraceNo\":\"688016\"}",
   "barcode_fee":""
}
                


Contoh Respons Negatif

{
   "rq_uuid":"SANDBOXPAYMENTBILLERPULSAPOSTPAID010104",
   "rs_datetime":"2025-02-1414: 24: 22",
   "error_code":"210",
   "error_desc":"UUID already exist"
}
                    


HTTP

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

rq_uuid=SANDBOXPAYMENTBILLERPULSAPOSTPAID010104&rq_datetime=2019-10-10%2011%3A02%3A30&sender_id=SANDBOX&password=test&order_id=4333333333&product_code=SINCBN&amount=100000000&signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1
               


CURL

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=SANDBOXPAYMENTBILLERPULSAPOSTPAID010104' \
--data-urlencode 'rq_datetime=2019-10-10 11:02:30' \
--data-urlencode 'sender_id=SANDBOX' \
--data-urlencode 'password=test' \
--data-urlencode 'order_id=4333333333' \
--data-urlencode 'product_code=SINCBN' \
--data-urlencode 'amount=100000000' \
--data-urlencode 'signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1'
               
Scroll to Top