Mercury earns revenue through interest on deposits, interchange fees from debit card transactions, and fees from certain services like international currency exchange.