| If you have a court date, I would pay it in court.
As to getting the deposit back, as long as you don't owe anything and leave the apartment if pristine condition you should get ther deposit back.
If you want to move before February, you will need the landlord's permission IN WRITING). |