Sorry for thinking NSW, not sure where I got that from!
If you advise that you wish to terminate for lack of finance approval, yes, you have your deposit returned. You may be requested to provide proof of the failure of finance, but if the vendor wants out, probably not.