API – Roll Payment
Preview Roll Payment
To preview a roll payment, send a GET request to:
https://loanpro.simnang.com/api/public/api/1/Loans(<id>)/Autopal.RollPayment(<amount>,<method>)
- “<id>” – The ID of the target loan
- “<amount>” – The target payment amount
- “<method>” – The method to use (discussed below)
Set Roll Payment
To roll a payment for a loan, send a POST request to the following URL:
https://loanpro.simnang.com/api/public/api/1/Loans(<id>)/Autopal.RollPayment()
- “<id>” – The ID of the loan
The body is formatted as follows:
{
"amount": "100.00",
"method": "loan.rollPayment.loanRate",
"amountIncludes": {
"escrow": [
2
]
}
}
- amount – The target payment amount
- method – The method for rolling the payment, formatted “loan.rollPayment.<method>” for loans, and “loan.rollPaymentLease.<method>” for leases. The values for <method> are:
- Loans:
- fee – Change Underwriting/Refinance Fee
- loanRate – Change interest rate
- term – Change Whole Term (term as a whole number)
- termExact – Change term (includes partial terms)
- Lease:
- loanRate – Change interest rate
- termExact – Change term (includes partial terms)
- Loans:
- amountIncludes – Add an array labelled “escrow” with any escrows to include in the payment calculation