Yes that intuition is correct, though the reality is much more complicated. The actual share to the bank is roughly proportional to the risk of the transaction/ tied to the type of credit card
https://usa.visa.com/dam/VCOM/download/merchants/visa-usa-in...