XML 20 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities:    
Net income (loss) $ 8,912 $ (27,861)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 54,657 65,147
Amortization of intangible assets 16,938 20,221
Depreciation of property and equipment 3,169 3,718
Amortization of capitalized internal-use software costs 3,944 1,352
Amortization of debt issuance costs 895 1,761
Accretion of discount on investments in marketable debt securities (12,241) (13,093)
Accretion of discount on loans held for investment (4,631) (705)
Provision for expected credit losses on acquired card receivables and other financial assets 20,661 12,401
Non-cash operating lease expense 2,045 2,388
Other 172 101
Changes in assets and liabilities:    
Accounts receivable (4,028) 3,707
Prepaid expenses and other current assets (1,143) (4,704)
Other assets 6,910 (1,074)
Accounts payable 3,804 (2,508)
Other accruals and current liabilities (9,791) (2,286)
Operating lease liabilities (2,348) (2,423)
Other long-term liabilities 0 (32)
Deferred revenue 657 (2,449)
Net cash provided by operating activities 88,582 53,661
Cash flows from investing activities:    
Purchases of corporate and customer fund short-term investments (637,992) (399,588)
Proceeds from maturities and sales of corporate and customer fund short-term investments 563,677 757,169
Purchases of loans held for investment (181,686) (32,756)
Principal repayments of loans held for investment 171,987 25,330
Acquired card receivables, net (47,968) (42,333)
Capitalization of internal-use software costs (7,039) (5,645)
Other (517) (403)
Net cash provided by (used in) investing activities (139,538) 301,774
Cash flows from financing activities:    
Customer fund deposits liability and other 78,512 (91,190)
Prepaid card deposits 11,322 (13,979)
Repurchase of common stock (200,002) (12,061)
Proceeds from exercise of stock options 1,017 2,946
Tax withholdings related to net share settlements of equity awards (1,304) 0
Proceeds from issuance of common stock under the employee stock purchase plan 5,302 7,846
Contingent consideration payout 0 (5,471)
Net cash used in financing activities (105,153) (111,909)
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents (127) (180)
Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents (156,236) 243,346
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 3,351,399 4,224,840
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 853,470 1,527,182
Restricted cash included in other current assets 148,660 98,313
Restricted cash included in other assets 5,297 7,088
Restricted cash and restricted cash equivalents included in funds held for customers 2,187,736 2,835,603
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,195,163 $ 4,468,186