About this guide
This page explains how to configure, use installments and calculate the interest rates applied to them. Instalments are a payment plan applied on a purchase. Rather than paying outright, Latin American customers have a strong preference to pay for a purchase in parcels spread throughout the months.
If you are not integrated with EBANX Payment Page yet, please take a look in the product overview to check the available payment methods and features. Are you not sure if EBANX Payment Page is the best option for your e-commerce? Please, talk with one of our integration specialists.
What you will need
Before starting your integration, please make sure that you have:
- An EBANX Sandbox account. That's not the case? Please sign up for an Sandbox Account here;
- Credit Card payment method configured in your EBANX Dashboard.
- Installments enabled on your account. Contact your account manager and our integration team for more details.
How it works
Apply Interest Rates
As described in your agreement, each installment number has its own interest rate. You can use this agreement values to calculate the final amount. Before sending the payment request to EBANX, you need to calculate the final amount of the payment based on the installment number chosen by the customer.
Here's an example of the calculation:
amount = (((interest_rate + 100) / 100) * (orderTotal));
The EBANX API expects the final value, with interest rates, so, make sure you calculate it before sending your request to Direct API.
If you are working with a e-commerce module, such as WooCommerce and Magento, 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.
Send the payment request with installments
You can use installments in a few different ways, depending on the integration method your are using:Payment Page using an installment rangePayment Page using an locked valueDirect API
Frequently Asked Questions about Installments
Do I need to send the interest rate of my instalments in the payment request?
No, you just need to calculate the final amount with the interest rate and send to EBANX the final amount and the instalment number chosen.
Do I need charge the customer monthly to apply the instalments?
No, the bank of the customer will make the charges.
Can I apply instalments on any payment methods?
No, only credit card payments have this feature.
Do I need to use strictly the interest rate values that are on my agreement?
The interest rates on your agreement are the ones that will be charge on a payment with instalments on your settlement, that's why we recommend our merchant to use those. But you can choose to apply the interest rate value that you want.
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: