FUNDS RECEIVABLE AND CUSTOMER ACCOUNTS AND INVESTMENTS - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | |
|---|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2023 |
Dec. 31, 2022 |
|
| Investments, Debt and Equity Securities [Abstract] | |||
| Accrued interest receivable | $ 88 | $ 88 | $ 65 |
| Debt Securities, Available-for-Sale, Accrued Interest, after Allowance for Credit Loss, Statement of Financial Position [Extensible Enumeration] | Prepaid expenses and other current assets | Prepaid expenses and other current assets | Prepaid expenses and other current assets |
| Proceeds from the sale of available-for-sale debt securities | $ 749 | $ 1,800 | |
| Gross realized losses on available-for-sale debt securities | $ 25 |