In NSW the deposit is held by the stake holder, usually the real estate agent although sometimes vendor's solicitor has a special condition in contract to say that deposit will go into their trust account.
The stake holder cannot release the deposit until they receive what we call an "Order...