Espay Checkout Page

Redirect URL

Espay Checkout Page: Redirect URL is an integration process that redirects your system to a URL provided by Espay Payment Gateway. This URL contains parameters that need to be adjusted, including the bank code selected for payment.

Before Integration

Ensure that you have received the credentials from the Espay team.

Integration Steps

Below are the steps to integrate with the Espay Checkout Page.

1. Display Payment Method

Inquiry Merchant Info is a service that helps find active bank and product codes. This service allows you to customize the user interface (UI) when selecting a payment method. Learn Inquiry Merchant Info

2. Create Inquiry and Payment Services

You are required to provide a callback that the Espay Payment Gateway can access. Learn more about Inquiry and Payment.

3. Display Espay Checkout Page

To display the Espay Checkout Page, you can make a request using the provided API URL and include the specified request parameters.

API URL

Environment URL
Sandbox
https://sandbox-kit.espay.id/index/order/?url=callbackurl to merchant thank you page&commCode=community code&bankCode=bank code sesuai channel yang dipilih&productCode=product code sesuai channel yang dipilih&paymentId=order id
Production
https://kit.espay.id/index/order/?url=callbackurl to merchant thank you page&commCode=community code&bankCode=bank code sesuai channel yang dipilih&productCode=product code sesuai channel yang dipilih&paymentId=order id

Request Parameters​

Parameter Type Mandatory Description
url
String (255)
Y
URL merchant yang berisi halaman konfirmasi.
commCode
String (32)
Y
Merchant Code yang diberikan oleh tim Espay.
bankCode
String (32)
Y
Kode bank. Lihat disini.
productCode
String (32)
Y
Kode produk. Lihat disini.
paymentId
String (20)
Y
Kode unik untuk mengidentifikasi pesanan / penagihan / faktur.

Contoh:
Nomor transaksi, invoice id, dll.
Y: Yes, O: Optional, C: Conditional
4. Perform Payment Testing

You can simulate payments by accessing the Espay Payment Gateway sandbox. Portal Sandbox Espay

Scroll to Top