Americans' credit card debt spiked last year as consumers tried to stay afloat amid high inflation and rising interest rates.

Total credit card debt in the U.S. surged to a record $930 billion at the end of 2022, according to TransUnion's latest quarterly report.