Get installments
POST
/v1/payments/installments
Returns the total amount with the interest applied in each installment type. The integration must do the division to get the amount of each installment.
INFO
The number and amounts of installments can be customized from 1 to 12 installments. The values are configurable individually for each merchant.
Types
- PP (Simple per installment): the interest rate is applied directly to the amount of each installment.
- AM (Financing): the interest rate is calculated monthly on the total outstanding balance.
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Request Body
application/json
JSON "installments": 10, "total_value": 10000, "settings": true
{
}
Responses
Calculation performed successfully.
application/json
POST
/v1/payments/installments