XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Cash flows from operating activities:    
Net loss $ (207,854) $ (241,419)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Stock-based compensation 255,717 140,381
Amortization of intangible assets 59,984 56,209
Depreciation of property and equipment 7,907 6,701
Amortization of capitalized internal-use software costs 3,009 1,519
Amortization of debt premium and issuance costs 5,217 3,362
Amortization of premium (accretion of discount) on investments in marketable debt securities (23,710) 10,039
Provision for losses on acquired card receivables 23,685 15,621
Non-cash operating lease expense 7,114 6,307
Deferred income taxes (1,169) (4,691)
Other 1,348 0
Changes in assets and liabilities:    
Accounts receivable (9,969) (5,846)
Prepaid expenses and other current assets (7,477) (2,966)
Other assets (2,040) (968)
Accounts payable (1,265) (4,435)
Other accruals and current liabilities 9,639 12,665
Operating lease liabilities (7,711) (5,591)
Other long-term liabilities (272) 302
Deferred revenue (4,740) 5,191
Net cash provided by (used in) operating activities 107,413 (7,619)
Cash flows from investing activities:    
Cash paid for acquisition, net of acquired cash and cash equivalents (28,902) (144,541)
Purchases of corporate and customer fund short-term investments (2,394,518) (2,176,127)
Proceeds from maturities of corporate and customer fund short-term investments 2,510,829 1,308,650
Proceeds from sale of corporate and customer fund short-term investments 11,607 50,744
Increase in acquired card receivables, net and other (197,289) (103,456)
Purchases of property and equipment (6,499) (3,758)
Capitalization of internal-use software costs (17,231) (7,409)
Proceeds from beneficial interest 2,080 0
Net cash used in investing activities (119,923) (1,075,897)
Cash flows from financing activities:    
Proceeds from issuance of common stock upon public offering, net of underwriting discounts and other offering costs 0 1,341,122
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs 0 560,075
Purchase of capped calls 0 (37,893)
Increase (decrease) in customer fund deposits liability and other (25,028) 834,591
Repurchase of common stock (24,001) 0
Proceeds from line of credit borrowings 60,000 0
Proceeds from exercise of stock options 10,860 29,116
Proceeds from issuance of common stock under the employee stock purchase plan 17,879 12,849
Net cash provided by financing activities 39,710 2,739,860
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents 12 0
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents 27,212 1,656,344
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 3,542,715 1,809,692
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period 3,569,927 3,466,036
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,590,560 1,639,371
Restricted cash included in other current assets 96,823 28,343
Restricted cash included in other assets 6,724 6,724
Restricted cash and restricted cash equivalents included in funds held for customers 1,875,820 1,791,598
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,569,927 $ 3,466,036