Sometimes. For a deposit to be not refundable and enforceable, the amount has to be reasonable compared to the actual loss that occurred as a result of the breach of contract.