To foreclose on a commercial loan, the lender must show that the borrower on the loan has defaulted (failed to pay the loan payments) or breached the loan agreement. In New York, the lender must show a court that the borrower has failed to pay or is in breach before officially selling the home in a foreclosure process. Taking the foreclosure process into court allows the borrower to have an opportunity to be heard.