Instead of a magnetic strip that you swipe, most credit cards now have an EMV chip that you insert into a card reader or even use to pay contactlessly. Luckily EMV chips aren't affected by magnets. However, scratches or prolonged exposure to water can cause damage or make them stop working altogether.