Lending
Cancel a loan
3min
use this call to cancel a loan by using its id put /loan/{{loanid}}/cancel if you want to cancel a loan the amount funded has to be zero, amountfunded = 0 if any of the rails have funded, it can no longer be canceled via api until all rails have been returned once you cancel a loan, it goes into a terminal state of canceled and it can no longer be changed important once a loan is canceled, it stays forever canceled and cannot be changed loans that were canceled, can continue to write status updates, but they won’t change the loan confirmation of the cancellation is received when you receive a webhook events webhook, with the status 100 (canceled) request url https // /loan/{{loanid}}/cancel a body should not be submitted with this api call loan statuses in which the cancel api can be called successfully loan status condition needed in order to call cancel api received docscomplete compliancefailed approved awaitingfunding infunding amountfunded = 0 and the only rail requested is ach/achsd (this will cancel the ach request) notfullyfunded amountfunded = 0 returned funded should not call the api; contact mpl ops readytosell should not call the api ; contact mpl ops sold (not shown in arix) should not call the api ; contact mpl ops