are deposits on vehicles from the dealer refundable?

is there a law for that?