Biller Products
Credit Card Payments
Espay provides an API to process online credit card payments, including those for Citibank, American Express, ANZ, and other major banks. For integration, you only need to use the Bill Payment service without going through the Bill Inquiry process. Learn more about Biller Product | Bill Payment.
Download the Postman collection – Credit Card Payments here.
Product Codes
Credit Card
Credit Card
| Product Code | Product Name | Transaction Type |
|---|---|---|
| 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
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: 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
Sample Positive Response
{
"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":""
}
Sample Negative Response
{
"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'