Visa and Mastercard have agreed to pay a combined $167.5 million to settle a class action lawsuit accusing them of conspiring to keep ATM access fees high.