When you work with instalments, you can let your customer pay for his purchase on many small payments that is the price of the purchase divided by the number of instalments

If you want to enable this method on your payments, you have to contact your account manager for more information about it and he will provide the right documentation.

After you have talked with your account manager and everything is right, you can send an e-mail to EBANX Integration Team at integration@ebanx.com and ask for them to change your account configuration

But keep in mind: instalments are only available for Credit Card payments.

If you are working with some module for e-commerce such as Magento, Opencart, Prestashop, etc, you may notice that some of them have the option for you to put the interest rate manually on the configurations of the module. You have to keep that number 0 (zero) since you will apply the interest rate on each instalment by code.

Above, you can see an example of code (PHP) that is a method to treat and calculate instalments. This method receive the total amount of the purchase ($orderTotal) and the number of instalments ($instalments).

This method will return the total amount with the interest rate applied and this is the value that you have to send to EBANX as a request.

NOTE: The interest rate that you see on this method is just for demonstration, you can use your own interest rate.