LoanPro API - Update Merchant Processor Group
General
To update the merchant processor group using the LoanPro API, you simply need to update the loan settings. To do this, send a PUT request to the endpoint:
PUT https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans({LoanId})
The payload should look something like this:
{
"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
}
You will specifically want to change the merchantProcessorGroupId property. You can find the IDs of your merchant processor groups by navigating to Settings > Company > Merchant > PCI Wallet inside your LoanPro account.
The example below demonstrates how to update the loan settings.