API – Delete a Loan

General

Deleting a loan will cause extra fees to be charged to your account. Proceed with caution!

To delete a loan, simply send a DELETE request to the URL of the desired loan. For example, to delete the loan with id 515, you would send the following request:

DELETE https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(515)

The loan will now be deleted. Prices are subject to change, so it is recommended to pull the latest price from the server for any custom UI which has a confirmation prompt.

To see the amount that you will be charged, complete the following instructions. However, please note that you will be charged the amount stated in this endpoint, regardless of whether you call the endpoint.

Send a GET request to the following:

GET https://loanpro.simnang.com/api/public/api/1/tenant.settings(tenant.usage.prices)

Afterwards, access the JSON object with the id “tenant.usage.prices.delete”.

Archived loans cannot be deleted. To delete an archived loan, you will need to resurrect the loan first.


How did we do?


Powered by HelpDocs (opens in a new tab)