Two class action law firms announced Wednesday that they have reached a $336 million agreement with Visa USA, MasterCard Inc. and a number of other credit and debit card issuers over charges for foreign currency conversions.

The settlement is subject to approval by U.S. District Court for the Southern District of New York, the announcement said.