Yes, credit cards are generally accepted as a payment method for transportation in Madrid. Most taxis, rideshare services, and ticket vending machines for public transportation accept major credit cards.