XML 22 R8.htm IDEA: XBRL DOCUMENT v3.25.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Cash flows from operating activities:    
Net income (loss) $ (5,550) $ 42,460
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 123,061 120,541
Amortization of intangible assets 30,330 31,595
Depreciation of property and equipment 11,454 6,679
Amortization of capitalized internal-use software costs and other paid in cash 17,117 7,833
Amortization of debt discount and issuance costs 3,235 1,896
Accretion of discount on investments in marketable debt securities (13,886) (21,672)
Accretion of discount on loans held for investment (13,677) (9,960)
Gain on debt extinguishment 0 (40,550)
Provision for expected credit losses on acquired card receivables and other financial assets 38,720 42,019
Non-cash operating lease expense 4,069 4,107
Other 836 590
Changes in assets and liabilities:    
Accounts receivable (8,802) (1,160)
Prepaid expenses and other current assets 12,913 (27,307)
Other assets (210) 8,914
Accounts payable (10,521) (2,074)
Other accruals and current liabilities 19,182 7,011
Operating lease liabilities (4,691) (4,428)
Deferred revenue (1,408) 804
Net cash provided by operating activities 202,172 167,298
Cash flows from investing activities:    
Purchases of corporate and customer fund short-term investments (683,133) (1,210,567)
Proceeds from maturities and sales of corporate and customer fund short-term investments 781,454 1,102,750
Purchase of intangible assets 0 (2,868)
Purchases of loans held for investment (510,284) (380,673)
Principal repayments of loans held for investment 515,567 369,449
Acquired card receivables, net (45,908) 6,950
Purchases of property and equipment (2,791) (399)
Capitalization of internal-use software costs (25,986) (13,759)
Other (1,066) (579)
Net cash provided by (used in) investing activities 27,853 (129,696)
Cash flows from financing activities:    
Proceeds from issuance of convertible senior notes 0 1,400,000
Cash paid for convertible senior notes issuance costs 0 (23,100)
Payments for repurchase and settlement of convertible senior notes (33,463) (539,403)
Purchase of capped calls 0 (92,960)
Customer fund deposits liability (16,628) 52,731
Prepaid card deposits 29,094 32,371
Repurchase of common stock (215,796) (400,001)
Proceeds from line of credit borrowings 150,000 0
Proceeds from exercise of stock options 834 2,252
Tax withholdings related to net share settlements of equity awards (29,477) (4,714)
Proceeds from issuance of common stock under the employee stock purchase plan 4,648 5,302
Other (1,128) 0
Net cash provided by (used in) financing activities (111,916) 432,478
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents 73 (772)
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents 118,182 469,308
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 3,550,885 3,351,399
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period 3,669,067 3,820,707
Reconciliation of cash, cash equivalents, restricted cash, and restricted cash equivalents within the condensed consolidated balance sheets to the amounts shown in the condensed consolidated statements of cash flows above:    
Cash and cash equivalents 1,094,530 1,566,271
Restricted cash included in other current assets 126,324 92,613
Restricted cash included in other assets 3,304 5,297
Restricted cash and restricted cash equivalents included in funds held for customers 2,444,909 2,156,526
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,669,067 $ 3,820,707