Installments Plan
info
The Installments Plan API needs to be enabled on your account. Contact your account manager and our integration team for more details.
Overview
The End User Fees API returns a list of applicable installment options and their respective fees to allow a detailed selection for end users to choose the most appropriate combination for their purchases.
How it works
- Get the list of available installments plans
Call the Installments Plan API to get the list of applicable installments options that can be made available to the end user.
Installments Plan Request Structure
POST
/ws/installments-plans/v2
Parameter | Data Type | Description |
---|---|---|
integration_key | string | Your unique and secret integration key. |
country | string | The two-letter country code for the customer country. |
currency_code | string | Three-letter code of the payment currency. |
amount | number | The amount in the specified currency (currency_code). |
bin | string | 6 digit BIN Code |
Installments Plan Request Example
Installments Plan Response Structure
Parameter | Data Type | Description |
---|---|---|
status | string | The response status. |
installments_plan_token | string | The installments plan token (EBANX unique identifier). |
country | string | The two-letter country code for the customer country. |
currency_code | string | Three-letter code of the payment currency. |
amount | number | The amount in the specified currency (currency_code). |
bin | string | 6 digit BIN Code |
installments_plan | array of objects | An array containing the available installment options and their respective details. |
total_amount | string | The amount in the specified currency (currency_code). |
installments | number | The number of installments. |
installment_amount | string | The amount for each installment in the specified currency (currency_code). |
applied_fee | string | The fee applied amount in the specified currency (currency_code). |
Installments Plan Response Example
- Send a payment request with installments
When using Direct API to place a payment request with installments, include the token for the Installments Plan in the payment.installments_plan_token()
parameter.
Complete EBANX Direct API Reference
The complete API reference for the end-point ws/direct
can be found here. We strongly recommend you to take a look in all the available options.
Getting help
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:
- If you’re not our partner yet and would like to know more about our prices and conditions please fill our this form and our commercial team will get in touch with you.
- In case you’re already our partner please get in touch with our support team at integration@ebanx.com.