Deposit refund rules are described here.