Embed kit

Put this HTML code on the page where customers will choose the payment method, or the page that will redirect to the payment page. This API will automatically redirect merchant page to the payment page. Some parameters need to be parsed to use this redirector. If merchants need to customize the payment method display, then they need to put bankCode and bankProduct so the redirector will automatically redirect to the payment page.


API JAVASCRIPT URL

Development : https://sandbox-kit.espay.id/public/signature/js
Production : https://kit.espay.id/public/signature/js


Parameter Name Attribute Mandatory Description
paymentId String Yes Transaction Number / Invoice Id / unique id that identifies the order / billing / invoice.
key String Yes Key provided by Espay Integration Team
backUrl String Yes Merchant url for confirmation page
bankCode String No Parameter AutoDirect (Like response from Inquiry Merchant Info API) if merchants want to customize the display, this parameter is mandatory
bankProduct String No Parameter AutoDirect (Like response from Inquiry Merchant Info API) if merchants want customize the display, this parameter is mandatory
display String No Display provided by Espay. There are choice provided by Espay, such as tab, select list, and radio box option,
Default : select For tab display set value = ‘tab’
For radio box display set value = ‘option’
















    

Payment Request