EBANX supports recurring payments via credit card tokenization. Tokens can be created along with a payment request when calling the API method direct or separately using the API method token. In the subsequent payments you will use the token to charge the customer’s credit card.

NOTE: TOKENS EXPIRE AFTER 14 MONTHS OF IT’S LAST USE.

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 and credit card CVV – you will send the token instead.

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