EBANX.js is a JavaScript library that allows you to easily integrate EBANX’s payment services into your website. It simplifies handling transactions, tokenizing credit card information, and processing payments, making it a valuable tool if you are looking to offer seamless, secure payments to your customers.
Features
The following features are available when using EBANX.js.
- Drop-in - Checkout form to collect payment without handling credit card data.
- Card tokenization - Securely transmit payment information without sending raw credit card data to your server.
- Device fingerprint - Generate a device ID to include with payment. Helps detect suspicious activity.
- 3DS secure 2.0 - Adds protection to online card transactions. Prevents unauthorized use.
- Document verification - Validate customer-provided document information.
- Validation tools - Display and validate standard fields, like states or countries.
Requirements
- Credentials - Ensure you have your EBANX.js Public Integration Key, which can be found in your EBANX Dashboard. If you don't have it, complete the Merchant Signup Form.
Instructions
Follow the steps below.
Install EBANX.JS
Script Tag
Add the following to your HTML.
<script src="https://ebanx-js.ebanx.com/latest/dist/ebanx.min.js"></script>
Initialization
Include the following function in your JavaScript.
EBANX.init({
publicIntegrationKey: '{your_public_integration_key}',
country: '{selected_country_code}',
mode: 'test',
});Specify Parameters
Field Description publicIntegrationKey
Merchant's public integration key country
Payment country code mode
test
orproduction
Choose an EBANX.js feature
Drop-in
Checkout form to collect payment without handling credit card data.
Click to Integratechevron_rightCard tokenization
Transmit payment info without sending raw credit card data to server
Click to Integratechevron_rightDevice fingerprint
Generate a device ID to include with payment. Helps detect suspicious activity.
Click to Integratechevron_right3DS secure 2.0
Adds protection to online card transactions. Prevents unauthorized use.
Click to Integratechevron_rightDocument verification
Tools to efficiently validate customer-provided documents.
Click to Integratechevron_rightStates list
Display and validate standard fields like states or countries.
Click to Integratechevron_rightCongratulations!
You have successfully integrated an EBANX.js feature.
Still need help?
We hope this article was helpful. If you still have questions, you can explore the following options:
- Merchant support: Contact our support team at sales.engineering@ebanx.com for assistance.
- Not a partner yet? Please complete the Merchant Signup Form, and our commercial team will reach out to you.