In new Fed rules announced today, financial institutions are prohibited from charging consumers fees for paying overdrafts on automated teller machine (ATM) and one-time debit card transactions, unless a consumer consents, or opts in, to the overdraft service for those types of transactions.

Under attack for excessive overdraft fees from consumers, legislators and even disgruntled customers on YouTube, three of the largest U.S. banks have changed their debit card rules by lowering or eliminating fees and giving customers more options.