(Reuters) - A U.S. regulator on Tuesday ordered credit reporting agencies TransUnion TRU.N and Equifax Inc EFX.N to pay more than $23.2 million in fines and restitution for deceiving consumers about the usefulness and cost of credit scores they bought.

A coffee shop displays signs for Visa, MasterCard and Discover, in Washington, May 1, 2013. REUTERS/Jonathan Ernst

The U.S. Consumer Financial Protection Bureau said the payments also resolve charges that TransUnion and Equifax lured consumers into enrolling in credit services advertised as free or costing only $1, but which could cost more than $200 a year.

TransUnion will reimburse $13.93 million to consumers and pay a $3 million civil fine, while Equifax will reimburse $3.8 million and pay a $2.5 million civil fine, the CFPB said.

Both companies will also modify their marketing practices, including by obtaining consent to enroll in credit-related services where fees kick in after free trials, and making it easier for consumers to cancel products they do not want.

The CFPB said the wrongful conduct had occurred at TransUnion since July 2011 and at Equifax between July 2011 and March 2014, and violated the Dodd-Frank financial reform law.

Many lenders rely on credit scores from TransUnion, Equifax and rival Experian when lending money.

But the CFPB said TransUnion and Equifax falsely represented that the credit scores they sold to consumers were the same scores that lenders used.

“Credit scores are central to a consumer’s financial life and people deserve honest and accurate information about them,” CFPB Director Richard Cordray said in a statement.

Neither Chicago-based TransUnion nor Atlanta-based Equifax admitted or denied wrongdoing.

TransUnion spokesman David Blumberg and Equifax spokeswoman Ines Gutzmer said their respective companies believe they have complied with applicable laws, and are committed to better educating consumers about their credit.

Experian was not charged. A spokesman for the CFPB had no immediate additional comment.

TransUnion, Equifax and Experian are among the 10 companies about which the CFPB receives the most consumer complaints. Several large banks and mortgage lenders are also on that list.

In 2015, the credit reporting agencies agreed to improve how they fix mistakes and address disputes, under a separate settlement with 31 state attorneys general.