Do you have a copy of your rental agreement? Also, if they say you underpaid your deposit, why did they even give the keys to you? That does not make sense to me. I would hit em with that one.
Can you go to your bank's website and get proof that they cashed your check?