XML 29 R8.htm IDEA: XBRL DOCUMENT v3.25.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:      
Net income (loss) $ 23,799 $ (28,878) $ (223,725)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Stock-based compensation 242,532 248,375 313,567
Amortization of intangible assets 61,925 79,956 80,205
Depreciation of property and equipment 13,010 13,838 11,258
Amortization of capitalized internal-use software costs paid in cash 14,508 9,369 4,215
Amortization of debt discount and issuance costs 4,739 6,238 6,964
Accretion of discount on investments in marketable debt securities (37,000) (55,062) (37,194)
Accretion of discount on loans held for investment (21,215) (9,209) (127)
Gain on debt extinguishment (40,550) (46,654) 0
Provision for expected credit losses on acquired card receivables and other financial assets 72,749 60,105 32,189
Non-cash operating lease expense 8,164 8,642 9,493
Other 395 1,395 (107)
Changes in assets and liabilities:      
Accounts receivable (4,458) 69 (4,482)
Prepaid expenses and other current assets (26,986) (6,825) (16,844)
Other assets 8,417 7,528 320
Accounts payable 8,213 (1,125) (1,686)
Other accruals and current liabilities 30,222 20,992 34,465
Operating lease liabilities (9,412) (9,839) (10,303)
Other long-term liabilities 46 (14,580) (3,097)
Deferred revenue 1,546 (5,564) (7,343)
Net cash provided by operating activities 350,644 278,771 187,768
Cash flows from investing activities:      
Cash paid for acquisition, net of acquired cash and cash equivalents 0 0 (28,902)
Purchases of corporate and customer fund short-term investments (2,847,736) (2,682,659) (2,743,763)
Proceeds from maturities and sales of corporate and customer fund short-term investments 2,214,628 2,513,646 3,295,568
Purchase of intangible assets (2,868) 0 0
Purchases of loans held for investment (798,926) (359,654) (5,878)
Principal repayments of loans held for investment 787,513 326,172 4,472
Acquired card receivables, net (129,439) (185,486) (234,256)
Purchases of property and equipment (4,335) (976) (7,589)
Capitalization of internal-use software costs (33,767) (19,917) (23,614)
Proceeds from beneficial interest 0 0 2,080
Other (2,460) (500) 1,167
Net cash provided by (used in) investing activities (817,390) (409,374) 259,285
Cash flows from financing activities:      
Proceeds from issuance of convertible senior notes 1,400,000 0 0
Cash paid for convertible senior notes issuance costs (24,006) 0 0
Payments for repurchase of convertible senior notes (539,403) (933,187) 0
Proceeds from unwind of capped calls 0 11,442 0
Purchase of capped calls (92,960) 0 0
Customer fund deposits liability and other 318,683 353,964 204,390
Prepaid card deposits 28,517 (17,901) 26,584
Repurchase of common stock (430,002) (211,902) (87,615)
Proceeds from line of credit borrowings 0 45,000 60,000
Cash paid for line of credit issuance costs (1,721) 0 0
Proceeds from exercise of stock options 3,701 8,114 13,872
Tax withholdings related to net share settlements of equity awards (7,840) (3,862) 0
Proceeds from issuance of common stock under the employee stock purchase plan 11,553 16,495 17,879
Contingent consideration payout 0 (10,762) 0
Net cash provided by (used in) financing activities 666,522 (742,599) 235,110
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents (290) (240) (38)
Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents 199,486 (873,442) 682,125
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of year 3,351,398 4,224,840 3,542,715
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year 3,550,884 3,351,398 4,224,840
Reconciliation of cash, cash equivalents, restricted cash, and restricted cash equivalents within the consolidated balance sheets to the amounts shown in the consolidated statements of cash flows above:      
Cash and cash equivalents 1,038,346 985,941 1,617,151
Restricted cash included in other current assets 101,620 174,101 87,322
Restricted cash included in other assets 4,885 5,297 13,810
Restricted cash and restricted cash equivalents included in funds held for customers 2,406,033 2,186,059 2,506,557
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year 3,550,884 3,351,398 4,224,840
Supplemental disclosure of cash flow information:      
Cash paid for interest during the period 13,782 12,611 7,440
Cash paid for income taxes during the period 6,321 5,628 1,266
Noncash investing and financing activities:      
Payable on purchases of property and equipment and internal-use software costs 5,234 906 174
Payable on purchases of acquired card receivables 9,213 105,406 0
Payable on repurchase of common stock 5,000 0 0
Payable on excise tax 2,653 0 0
Issuance and exercise of warrants $ 13,125 $ 8,750 $ 0