v3.26.1
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Investments in funds receivable and amounts held for customers (Details) - USD ($)
$ in Millions
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers [Abstract]        
Restricted cash and restricted cash equivalents $ 4,511 $ 6,597 $ 3,490 $ 4
Restricted available-for-sale debt securities 150 150 150 200
Restricted funds receivable 377 329 281 216
Total funds receivable and amounts held for customers $ 5,038 $ 7,076 $ 3,921 $ 420