Biller Products
Pembayaran Kartu Kredit
Espay menyediakan API untuk memproses berbagai macam pembayaran kartu kredit Citibank, AMEX, ANZ, dan lainnya 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 – Pembayaran Kartu Kredit di sini.
Kode Produk
Layanan Umum
Layanan Umum
| Kode Produk | Nama Produk | Jenis Transaksi |
|---|---|---|
| SCCCTB | Citibank | PAYMENT |
| SCCAEI | American Express (AMEX) | PAYMENT |
| SCCBNI | BNI | PAYMENT |
| SCCANZ | ANZ | PAYMENT |
| SCCPMT | Permata Bank | PAYMENT |
| SCCDNM | Bank Danamon | PAYMENT |
| SCCUOB | UOB | PAYMENT |
| SCCICB | ICB Bumiputera | PAYMENT |
| SCCBKP | Bukopin | PAYMENT |
| SCCPAN | Panin | PAYMENT |
Bill Payment - Permata Bank
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: 245
rq_uuid=SANDBOXPAYMENTBILLER01010287679&
rq_datetime=2019-10-10%2011%3A02%3A30&
sender_id=SANDBOX&
password=test&
order_id=3422457354497549&
product_code=SCCPMT&amount=1000000&
signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1
Contoh Respons Positif
{
"rq_uuid":"SANDBOXPAYMENTBILLER01010287679",
"rs_datetime":"2025-02-14 16:02:30",
"error_code":"0000",
"error_desc":"Success",
"order_id":"3422457354497549",
"ref_id":"20250214160230",
"data":{
"customer_id":"3422457354497549",
"amount":"000000100000"
},
"bankFee":0,
"mwData":"{\"ftbpTraceNo\":\"254667\"}",
"barcode_fee":""
}
Contoh Respons Negatif
{
"rq_uuid":"SANDBOXPAYMENTBILLER01010287678",
"rs_datetime":"2025-02-14 16:01:59",
"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: 248
rq_uuid=SANDBOXPAYMENTBILLER01010253ss3234&rq_datetime=2019-10-10%2011%3A02%3A30&sender_id=SANDBOX&password=test&order_id=5289133888888888&product_code=SCCANZ&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=SANDBOXPAYMENTBILLER01010253ss3234' \
--data-urlencode 'rq_datetime=2019-10-10 11:02:30' \
--data-urlencode 'sender_id=SANDBOX' \
--data-urlencode 'password=test' \
--data-urlencode 'order_id=5289133888888888' \
--data-urlencode 'product_code=SCCANZ' \
--data-urlencode 'amount=1000000' \
--data-urlencode 'signature=f46a2c34884c3d9194140f5ab595cae393749a0c5c25f23d2ebcfec3865196d1'