Description
Loan installment options are displayed as a template with this API
How it Works
Parameters
terms: The number of installments user want to offer (must be sent in Integer format) loan_amount: Total amount needed (Must be Double)
Sample RequestGET {API_HOST}/api/v1/payment-plans/?terms=[4,6,8]&loan_amount=10000
Headers:
X-IBM-client-id: {YOUR_CLIENT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Content-Type: application/json
Sample Response
{
"data": [
{
"term": 4,
"monthly_payment": 2609.69,
"total_repayment": 10438.76,
"interest_rate": 1.45
},
{
"term": 6,
"monthly_payment": 1769.63,
"total_repayment": 10617.78,
"interest_rate": 1.45
},
{
"term": 8,
"monthly_payment": 1349.84,
"total_repayment": 10798.72,
"interest_rate": 1.45
}
]
}