API – Logging a Charge-Off

General

Creating a charge-off is done through they API by sending a PUT request to the loan on which you wish to create a charge-off.

To create a charge-off for a loan, you will need to send a PUT request to the url of the desired loan. For example, to create a charge-off for a loan with the id 17, the url would be https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(17).

Request Body

{ 
"Credits":{
"results":[
{
"resetPastDue":0,
"chargeOffFlag":1,
"customApplication":{

},
"loanId":17,
"date":"2019-12-23",
"paymentType":1,
"category":4,
"amount":"100.00",
"title":"Example Charge-Off"
}
]
},
"id":17,
"__update":true,
"__id":17
}
  • resetPastdue - Dictates whether or not the charge-off will reset the days past due on the account. (0 = no, 1 = yes)
  • chargeOffFlag - Flags the credit as a charge-off. (0 = no, 1 = yes)
  • customApplication - Allows you to specify a custom application for the charge-off.
  • loanId - ID of the account that the charge-off will be applied towards.
  • date - Date that the charge-off will be applied to the account.
  • paymentType - The ID of the payment type being applied to the charge-odd.
  • category - The category of the charge-off being applied.
  • amount - The amount of the charge-off.
  • title - The title of the charge-off


How did we do?


Powered by HelpDocs (opens in a new tab)