This page's content:

Make your transactions with more convenience.

EBANX supports recurring payments via credit card tokenization. You can create tokens along with a payment request when calling the API method direct or separately using the API method token. The customer information is sent all together during the token creation.

That way, in the subsequent payments you just use the token to charge the customer’s credit card. Very simple, right?

It’s important to know that tokens expire after 14 months of its last use and can only be used in the Direct API integration.

Creating a token

A successful request will return a JSON expression similar to the one below.

You will need to store the token to further use, and you may also store the masked card number to display for the customer.

Charging the customer

To charge a customer using the token, you will have to send the entire customer data but the credit card number, credit card CVV – you will send the token instead.

A successful request will return a JSON expression similar to the one below.