XML 21 R7.htm IDEA: XBRL DOCUMENT v3.24.1.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash flows from operating activities:    
Net loss $ (36,473) $ (207,854)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Stock-based compensation 190,036 255,717
Amortization of intangible assets 60,663 59,984
Depreciation of property and equipment 10,167 7,907
Amortization of capitalized internal-use software costs 6,332 3,009
Amortization of debt issuance costs 5,174 5,217
Accretion of discount on investments in marketable debt securities (39,285) (23,710)
Accretion of discount on loans held for investment (5,531) (9)
Provision for credit losses on acquired card receivables and other financial assets 47,279 23,685
Gain on debt extinguishment (35,715) 0
Non-cash operating lease expense 6,590 7,114
Deferred income taxes (126) (1,169)
Other 1,787 1,357
Changes in assets and liabilities:    
Accounts receivable (3,795) (9,969)
Prepaid expenses and other current assets 5,413 (7,477)
Other assets (2,068) (2,040)
Accounts payable (1,898) (1,265)
Other accruals and current liabilities 6,812 9,639
Operating lease liabilities (7,559) (7,711)
Other long-term liabilities (2,617) (272)
Deferred revenue (5,035) (4,740)
Net cash provided by operating activities 200,151 107,413
Cash flows from investing activities:    
Cash paid for acquisition, net of acquired cash and cash equivalents 0 (28,902)
Purchases of corporate and customer fund short-term investments (2,042,849) (2,394,518)
Proceeds from maturities of corporate and customer fund short-term investments 1,857,220 2,510,829
Proceeds from sale of corporate and customer fund short-term investments 1,539 11,607
Purchases of loans held for investment (218,943) (537)
Principal repayments of loans held for investment 191,861 325
Acquired card receivables, net (139,850) (198,244)
Purchases of property and equipment (771) (6,499)
Capitalization of internal-use software costs (14,595) (17,231)
Proceeds from beneficial interest 0 2,080
Other 0 1,167
Net cash used in investing activities (366,388) (119,923)
Cash flows from financing activities:    
Payments for repurchase of convertible senior notes (710,931) 0
Proceeds from unwind of capped calls 10,252 0
Customer fund deposits liability and other 155,376 (46,092)
Prepaid card deposits (20,776) 21,064
Repurchase of common stock (211,902) (24,001)
Proceeds from line of credit borrowings 45,000 60,000
Proceeds from exercise of stock options 6,525 10,860
Tax withholdings related to net share settlements of equity awards (1,681) 0
Proceeds from issuance of common stock under the employee stock purchase plan 16,495 17,879
Contingent consideration payout (10,762) 0
Net cash provided by (used in) financing activities (722,404) 39,710
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents (397) 12
Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents (889,038) 27,212
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 4,224,841 3,542,715
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period 3,335,803 3,569,927
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 952,474 1,590,560
Restricted cash included in other current assets 153,031 96,823
Restricted cash included in other assets 5,297 6,724
Restricted cash and restricted cash equivalents included in funds held for customers 2,225,001 1,875,820
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,335,803 $ 3,569,927