XML 69 R47.htm IDEA: XBRL DOCUMENT v3.22.2
LOANS HELD FOR SALE, AT FAIR VALUE - Summary of Changes in Balances (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Loans Receivable Held-for-sale, Net, Reconciliation to Cash Flow [Roll Forward]        
Balance at beginning of period $ 6,558,668 $ 8,787,756 $ 8,136,817 $ 6,955,424
Origination and purchase of loans 15,769,229 34,413,319 37,142,855 75,814,894
Sales (17,876,229) (34,294,254) (40,681,596) (74,213,668)
Repurchases 194,650 111,385 333,666 663,700
Principal payments (40,598) (43,206) (100,885) (66,506)
Fair value gain (loss) 50,618 145,653 (174,519) (33,191)
Balance at end of period $ 4,656,338 $ 9,120,653 $ 4,656,338 $ 9,120,653