No, they are in no way connected to Microsoft. Microsoft will never contact you in that way. That is scam used to get your money. You will need to have the computer inspected and a virus scan ran on it in order to be safe.
You will need to contact your financial institution to tell them what happened and get the charges reversed. Also get advise from them to protect your account.