Wa alaykum salaam,
Visa and Mastercard are payment gateways and not in and of themselves interest-based companies.
Their business activity is the transfer of payments AFTER payments are done. Hence, they are not part of any impermissible transaction.
Allah knows best