But there are costs associated with cash too. It has to be stored safely, counted and reconciled, banked (not always free) etc etc.
I’m not saying credit card fees are ‘cheap’, especially not in the US where they seem to be quite high to support the cashback economy, but cash isn’t free for a business either.
It's a failure of US regulation only that VISA and MasterCard etc charge what they do
Given the numbers they quote re: cashless payment, it doesn’t matter if retailers don’t like the credit card processors. Consumers do - and with all the points and rewards and convenience of cashless payment, they will demand they at least support such payments and most people will use them even with passing on the fees. It’s hard for me to see a world where that changes any time soon.
That is why you do not see major US retailers offer discounts for paying with cash/debit card/ACH. The only one I can think of is Target, that offers 5% off if you use Target Redcard, which can be linked to your bank account.
Many retailers had their hands tied, whether or not they wanted to provide a cash discount or credit card surcharge.