A US federal judge

A US federal judge threw out a proposed class action settlement between American Express and merchants Tuesday after concluding that the lead attorney representing merchants had compromised the talks.

US District Judge Garaufis said the "improper and disappointing" conduct of attorney Gary Friedman of Friedman Law Group of New York City "fatally tainted" talks on a settlement to end litigation over American Express's swiping fee restrictions on its credit cards.

The proposed settlement would have permitted merchants to impose a surcharge on AmEx transactions in some cases. Friedman and other class counsel also filed a motion for attorneys fees of up to $75 million.

Several leading merchants in the class, including Home Depot, Target, Wal-Mart Stores and Southwest Airlines, had opposed the settlement.

Without ruling on the merits of the settlement itself, Garaufis said its legitimacy had been ruined by Friedman's conflict of interest.

Garaufis said Friedman had compromised the litigation with unauthorized communications with Keila Ravelo, a former attorney at Wilkie Farr & Gallagher who had been representing MasterCard, a defendant in another class-action case in which merchants sued MasterCard and Visa for their alleged conspiracy to fix interchange fees.

The Department of Justice, in December 2014, filed a criminal case against Ravelo and her husband on charges of seeking to defraud Wilkie, another law firm, and MasterCard of $5 million. Wilkie discovered Ravelo's lengthy email trail with Friedman after learning of the DOJ case.

Garaufis outlined lengthy and detailed email correspondence between Friedman and Ravelo on the terms of the evolving talks between AmEx and merchants. Friedman and Ravelo were longtime friends who had previously worked together at a large law firm.  In one of the emails, Friedman instructed Ravelo to "burn after reading."

The communication between Friedman and Ravelo raised a risk that "Friedman, with Ravelo in his ear, negotiated settlement terms that are worse for class members than the terms he might have negotiated absent that conflict," Garaufis said.

"This risk requires the court to deny approval of the settlement."

American Express said it was "disappointed" with the decision.

"We continue to believe the agreement was fair to merchants, and would provide them with additional flexibility while ensuring our card members are treated fairly at the point of sale," AmEx said.

"We believe we have strong defenses against the merchants' claims, and will continue to fight our case in court."