Visa, MasterCard and major banks have agreed to pay at least $US6 billion ($A5.94 billion) to settle a lawsuit brought by retailers.
A banking industry trade group said on Friday the settlement would allow stores to charge customers more to pay with a credit card.
Lawyers involved in the case called it the largest antitrust settlement in history.
The dispute dates to 2005. The retailers claimed Visa, MasterCard and the banks conspired to fix the fees that stores pay to accept credit and debit cards. The fees average about 2 per cent of the price of a purchase.
Visa and MasterCard do not lend to the people who use the cards that bear their logos. They make money on these fees, called "interchange" in the industry. They are set by card-processing networks, but collected by, and split with, the banks that issue the cards.
Most major US banks were defendants. The merchants include grocery chains Kroger and Safeway, and the Rite Aid drugstore chain.
Visa and MasterCard stock both jumped in after-hours trading. Visa climbed 2.8 per cent, and MasterCard rose 3.7 per cent.