This page's content:
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 email@example.com and ask for them to change your account configuration
If you are working with some module for e-commerce such as WooCommerce 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
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.
If you want more information about installments, you can download the file below.