Americans’ increasing preference for paying with plastic has pitted retailers against credit card companies in a dispute over the cost of the billions of transactions.

Retailers accused Visa and MasterCard during a congressional hearing Thursday of levying excessive fees, while the card company executives countered that retailer-supported legislation would simply push more of the cost onto consumers.