The city of Amsterdam uses a card system that requires you to tap in and out when you enter and leave whatever mode of transportation you are on. You can buy a ticket (more on that below) or as of 2023 you can now use your contactless card or pay with your phone just like a ticket!