Surprisingly, the standard
Agreement of Purchase and Sale which is used by real estate agents says very
little about the deposit other than the fact that it must be paid within 24 hours of the deal going firm and that the agent is to hold it in their trust account until closing at which time it is credited to the seller.