Biller Products
Tagihan TV Kabel
Espay menyediakan API untuk melakukan pembayaran tagihan TV kabel 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 TV Kabel di sini
Kode Produk
TV Kabel
TV Kabel
| Kode Produk | Nama Produk | Jenis Transaksi |
|---|---|---|
| STBIDV | Indovision | PAYMENT |
| STBTOP | Indovision Top TV | PAYMENT |
| STBOKV | Indovision Oke Vision | PAYMENT |
| STBFRM | First Media | PAYMENT |
| SLYYTV | Yes | PAYMENT |
Bill Payment - Indovision
Contoh Permintaan
POST /rest/biller/paymentreport HTTP/1.1
Host: sandbox-api.espay.id
Content-Type: application/x-www-form-urlencoded
Authorization: ••••••
Content-Length: 236
rq_uuid=SANDBOXPAYMENTBILLER010102&
rq_datetime=2019-10-10%2011%3A02%3A30&
sender_id=SANDBOX&
password=test&
order_id=401101338833&
product_code=STBIDV&
amount=1000000&
signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1
Contoh Respons Positif
{
"rq_uuid":"SANDBOXPAYMENTBILLER010102",
"rs_datetime":"2025-02-14 14:08:42",
"error_code":"0000",
"error_desc":"Success",
"order_id":"401101338833",
"ref_id":"20250214140841",
"data":{
"customer_id":"401101338833",
"amount":"000000100000"
},
"bankFee":0,
"mwData":"{\"ftbpTraceNo\":\"166996\"}",
"barcode_fee":""
}
Contoh Respons Negatif
{
"rq_uuid":"SANDBOXPAYMENTBILLER010102",
"rs_datetime":"2025-02-14 14:10:19",
"error_code":610,
"error_desc":"Anda bisa melakukan transaksi yang sama setelah 5 menit"
}
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: 236
rq_uuid=SANDBOXPAYMENTBILLER010102&rq_datetime=2019-10-10%2011%3A02%3A30&sender_id=SANDBOX&password=test&order_id=401101338833&product_code=STBIDV&amount=1000000&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=SANDBOXPAYMENTBILLER010102' \
--data-urlencode 'rq_datetime=2019-10-10 11:02:30' \
--data-urlencode 'sender_id=SANDBOX' \
--data-urlencode 'password=test' \
--data-urlencode 'order_id=401101338833' \
--data-urlencode 'product_code=STBIDV' \
--data-urlencode 'amount=1000000' \
--data-urlencode 'signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1'