General Electric Co. (GE) will pay up to settle a nearly three-year investigation into its shady health care credit card.

Yesterday the New York Attorney General's office announced that GE Capital Retail Bank and health care financing company CareCredit reached a settlement over a probe into GE's health care credit card, which is meant to finance medical treatments. Cardholders complained to GE that they were tricked into signing up for the card, which charged sky-high interest rates of up to 27 percent. Many cardholders thought they were signing up for a no-interest payment plan directly with their providers, and others thought their information was only being used to check their credit-worthiness. GE rejected the cardholders' complaints.

“This agreement will help New Yorkers by stopping providers from charging large, upfront fees for future services and from glossing over the huge interest rates associated with CareCredit,” Attorney General Eric Schneiderman said in a statement.