All issuing banks expose themselves to risks when they give credit cards to consumers. They offset those risks by charging the merchants that accept their cards.
When a consumer makes a payment using their credit or debit card, the interchange fee is charged to the merchant to cover the costs of processing and authorising the transaction.
How the interchange fee works.