This is the API for the Mortgage Calculator application.
To use this API, send a POST request to /calculate_mortgage with the appropriate JSON payload.
{
"principal": 250000,
"annual_interest_rate": 3.5,
"loan_term_years": 25,
"loan_term_months": 0,
"monthly_overpayment": 200,
"lump_sums": {
"12": 5000,
"24": 10000
}
}