Installments

POST /api/v2/installments/

Use this endpoint to retrieve the minimum monthly installment (the minimum amount a customer is to pay in monthly installments) for a particular product or even the entire cart value.

The installments object

Attributes

AttributeData typeRequiredDescription
item_valueintegertrueTotal value of item(s)

Curl Request

curl -i -X POST 'https://core-v2-multi-country.herokuapp.com/api/v2/installments' \
-H 'Authorization: Bearer <access_token>' \
-H 'Content-Type: application/json' \
-d '{"item_value":"50000"}'

JSON Request Object

{
"item_value": "50000"
}

JSON Response

{
"request_id":"599a5dda-82c0-47f4-8a57-45dd46587121",
"apiVersion":"2.0",
"status":200,
"data":{
"minimum_monthly_installment":"6266.67",
"duration":12,
"interest_rate":4.2
}
}
}