Yes, it's a scam Do not use TeamViewer. It will let them take control of your and royally screw things up. There is no transaction to cancel. Just ignore their message.
In fact you should never let *anyone* take control of your computer, using TeamViewer or anything else, unless it's someone you know and trust impilcitly, both with regard to his honesty and technical skills.