API – Recurring Charges
Updating Recurrent Charges for a Loan
To update a recurring charge on a loan, send a PUT request to the URL of the loan. For example, to update the settings for loan 55 send a request to https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(55).
Below is a body request:
{
"RecurrentCharges": {
"results": [
{
"id": 11,
"fixedAmount": "23.00",
"percentage": 0,
"status": 0,
"__id": 11,
"__update": true
}
]
}
}
- id – The ID of the recurring charge for which you are changing the settings
- fixedAmount – The fixed amount for the charge
- percentage – The percentage of the charge
- status – turns the recurring charge on/off
- __id – The ID of the recurring charge for which you are changing the settings
- __update – Set to “true”