Version: current

EBANX.js

Product Overview

EBANX.js offers a set of functionalities that makes validating common fields, generating important transaction information and properly sending data to your server easier and smoother. With EBANX.js, you'll have access to features such as document validation, credit card token generation and much more!

One of the main reasons to use LIB JS is that you don’t have to worry about storing and securing cardholder data. According to PCI DSS requirements, you must restrict access and protect stored cardholder data.

Through EBANX.js, the customer will inform their creditcard data and our servers will generate a token for this creditcard, so you don’t have to store any sensitive data. This token will be used for the whole request.

Check all the features available on EBANX.js below!

Installation

With CDN:

<script src='https://ebanx-js.ebanx.com/v1.106.0/dist/ebanx.js'></script>

Initialization

Initializing EBANX.js requires the following fields:

EBANX.init({
publicIntegrationKey: 'pk_43234234',
country: 'br',
mode: 'test',
});

Options

FieldDescription
integration_keyThe merchant's public integration key
countryThe customer's country
modeChoice between test and production

Available features

EBANX.js offers the following features:

Drop-In

Quick Overview

Drop-In allows you to quickly render a checkout form on your Website that is customizable and allows you to gather the necessary information you need to generate a payment without having to directly interact with credit cards data.

For more details on how to use this feature, click here!

Card Tokenization

Quick Overview

Card tokenization allows you to pass on all the necessary information to conclude a payment without having to send clear credit card data over to your server. This is a key feature of EBANX.js that allows the merchant to operate without having to be PCI compliant.

For more details on how to use this feature, click here!

Device Fingerprint

Quick Overview

Quickly obtain a device ID that can be passed to your payment request. This is a very useful information that anti-fraud tools can make use to detect malicious payment activities.

For more details on how to use this feature, click here!

3D Secure 2.0

Quick Overview

3D Secure, or 3DS, is a technical standard that adds a layer of security in online credit and debit card transactions, protecting the buyer's against unauthorised use. During the checkout process, if the cardholder is enrolled in 3D Secure, the issuing bank will decide whether the cardholder's identity can be verified using data supplied regarding the cardholder and their device, or if an additional authentication process is necessary.

For more details on how to use this feature, click here!

Utils

Quick Overview

A set of utilities to help you validate the data fields provided by your customer. EBANX.js currently offers:

Reference Data

Quick Overview

A set of functions to help you list and validate standard fields, such as states in a country. This allows you to make sure that the values being provided to your payment request are the ones expected by our API. EBANX.js currently offers:

Getting help

We hope this article was enlightening, but in case we’ve failed to take out your doubts you have the following options to keep on seeking for answers:

  • If you’re not our partner yet and would like to know more about our prices and conditions please fill our this form and our commercial team will get in touch with you.
  • In case you’re already our partner please get in touch with our support team at integration@ebanx.com.
Last updated on by FlavioCostaeSilva