Bank of America Corporation has agreed to refund approximately $727 million to customers, in addition to paying another $45 million in fines to federal regulators in compensation for deceptive marketing and credit practices.

L.A. Times reports that the refunds will go to as many as 2.9 million people affected by the deceptive practices and signed up and were improperly billed for programs like identity protection and credit monitoring that they did not receive.

The action was part of the Consumer Financial Protection Bureau's recent crackdown on questionable marketing and billing practices by credit card companies that deceive customers using so-called add-on products.

According to the NY Times, other controversial practices included telemarketers telling customers that the first 30 days were free, when in fact they were charged, and leading customers to believe they were agreeing to merely receive information about add-ons while signing them up just the same.

“Bank of America both deceived consumers and unfairly billed consumers for services not performed,” said Richard Cordray, the director of the consumer protection agency. “We will not tolerate such practices and will continue to be vigilant in our pursuit of companies who wrong consumers in this market.”

According to the agency, these illegal billing practices went on from 2000 to 2011 and affected 1.9 million customers.