In the Netherlands, you can tap your credit card when entering the railway station, and tap again when you exit the destination station. The exact amount for the trip will be deducted.
Works with all types of public transport and in the entire country.