What happens if the client withdraws from purchasing the property? Is the paid deposit refundable?

It depends on the developer and the amount of the deposit.