H&R Block Inc. has tentatively agreed to settle a class action lawsuit over its tax-refund loans for $360 million.

The nation’s largest tax preparer and its banking partner, HSBC Taxpayer Financial Services Inc., were accused of gouging customers by providing “refund anticipation loans” at interest rates frequently exceeding 100 percent.