Similar to the recent actions by Twitter, Google, Apple and Amazon; Visa and Mastercard are private companies and can do whatever they want. Anyone who has an issue with what Visa/MC did must also take issue with the others.
If a company reaches a certain size and has a quasi-monopolistic position so that other people or companies depend on it, it starts to have some degree of responsibility towards society that's beyond value maximization for shareholders.