API – Loan Settings
General
This page will cover how to add Loan Settings to an existing loan through the API. It assumes you already have an existing loan; if not, see Creating a Loan with the API.
To add loan settings to a Loan, you will need to send a PUT request to the url of the desired loan. For example, to add loan settings to a loan with id 515 the url would be https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(515).
Request Body
The request body will be formatted as follows:
{
"LoanSettings":{
"id":598,
"loanId":639,
"cardFeeAmount":"5",
"cardFeeType":"loan.cardfee.types.1",
"cardFeePercent":"5",
"agent":0,
"loanStatusId":1,
"loanSubStatusId":1,
"sourceCompany":null,
"eBilling":0,
"ECOACode":"loan.ecoacodes.1",
"coBuyerECOACode":"loan.ecoacodes.0",
"creditStatus":"loan.creditstatus.0",
"creditBureau":"loan.creditbureau.00",
"reportingType":"loan.reportingtype.I",
"secured":1,
"autopayEnabled":0,
"repoDate":"",
"closedDate":"",
"liquidationDate":"",
"followUpDate":"2019-01-01",
"isStoplightManuallySet":0,
"merchantProcessorGroupId":0,
"__update":true,
"__id":598
},
"__update":true,
"__id":639
}
- loanId – This is the ID of the associated loan
- cardFeeAmount – This is the flat fee amount for processing a card
- cardFeeType – The type of the card fee. See Loan Settings Collections
- cardFeePercent – This is the percentage used for calculating the fee amount
- agent – The ID of the assigned agent user
- loanStatusId – The ID of the corresponding Loan Status
- loanSubStatusId – The ID of the corresponding Loan Sub-Status
- sourceCompany – The ID of the source company that the loan is a part of
- eBilling – Whether or not the loan is marked for eBilling. See Loan Settings Collections
- ECOACode – The ECOA code to use for credit reporting for the primary borrower. See Loan Settings Collections
- coBuyerECOACode – The ECOA code to use for credit reporting for the secondary borrower. See Loan Settings Collections
- creditStatus – The credit status for the account. See Loan Settings Collections
- creditBureau – Type of loan to report to the Credit Bureau. See Loan Settings Collections
- reportingType – Reporting type for reporting credit. See Loan Settings Collections
- secured – Whether or not the loan is secured
- autopayEnabled – Whether or not AutoPays will be processed.
- repoDate – The date of repossession (YYYY-MM-DD)
- closedDate – The date the loan was closed (YYYY-MM-DD)
- liquidationDate – The date the loan was liquidated (YYYY-MM-DD)
- isStoplightManuallySet – Whether or not the stoplight was manually set