If a subject to finance clause is in the purchase contract, your deposit is refunded if your loan is declined.