Problem - Please Help


I work in US for an indian company. When they sent me to US, I had signed an agreement that I will pay Visa processing expenses if I leave before 1 year.

Due to some problems from company, I had to leave before completing 1 year. They had asked me to pay 4000 USD for visa processing expenses. What should I do? Is it acceptable to pay considering the fact that

1. I had signed the agreement to pay visa processing expenses and in agreement, it is mentioned that they will resolve it in US court in case of violation of agreement.

Can you please suggest what to do.

Thanks a millin in advance.