That seems like it would get complicated fast. Doesn't cash have its own additional handling costs that don't apply to credit card users? I'm not sure it's as easy as saying cash users are subsidizing anyone else.
https://www.rbcroyalbank.com/business/accounts/flex-choice-b...
Which is ~0.25%. Presumably a cash register also has some amortization on it.