API – Originally Calculated Amortization Schedule

General

LoanPro has an enpoint that specifically lets the user get the originally-calculated amortization schedule on a loan. A separate endpoint makes retrieving this information easy.

The endpoint to use is:

https://loanpro.simnang.com/api/public/api/1/Loans({id})/AutoPal.TILPayments()

Remember to replace {id} with the ID of the loan for which you want to generate the schedule.

The response data for this endpoint looks like the following:


{
"d": {
"results": {
"til-forecasted-payments": [
{
"adb": 5000,
"adb-days": 13,
"amount": 356.68,
"amount-discount": 6.94,
"amount-escrow": 8.33,
"amount-fees": 0,
"amount-interest": 17.81,
"amount-principal": 323.6,
"date": "2015-03-16",
"period": 1,
"principal-balance": 4669.46
},
{
"adb": 4669.46,
"adb-days": 91,
"amount": 356.68,
"amount-discount": 7.37,
"amount-escrow": 8.33,
"amount-fees": 0,
"amount-interest": 116.42,
"amount-principal": 224.56,
"date": "2015-06-16",
"period": 2,
"principal-balance": 4437.53
}
]
}
}
}

Where each of the objects in the results array represents a payment in the amortization schedule.


How did we do?


Powered by HelpDocs (opens in a new tab)