If your salary is transfered to the same bank ,since you have to do bank clearance and close the account ,so I guess they will deduct the money for the credit card payment