Settlement and Other Risk Management - Estimated Settlement Exposure (Details) - Guarantee Obligations - USD ($) $ in Millions |
Jun. 30, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Risks Inherent in Servicing Assets and Servicing Liabilities | ||
| Gross settlement exposure | $ 76,683 | $ 75,023 |
| Risk mitigation arrangements applied to settlement exposure | (12,855) | (12,167) |
| Net settlement exposure | $ 63,828 | $ 62,856 |