XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:    
Net loss $ (176,716) $ (154,699)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 191,925 87,571
Amortization of intangible assets 39,763 36,440
Depreciation of property and equipment 5,081 4,350
Amortization of capitalized internal-use software costs 1,901 673
Amortization of debt premium and issuance costs 3,483 1,955
Amortization of premium (accretion of discount) on investments in marketable debt securities (10,401) 6,638
Provision for losses on acquired card receivables 15,042 9,535
Non-cash operating lease expense 4,718 4,083
Deferred income taxes (826) (3,822)
Other 516 0
Changes in assets and liabilities:    
Accounts receivable (7,052) (3,420)
Prepaid expenses and other current assets (4,623) (8,547)
Other assets (1,880) (1,099)
Accounts payable 3,511 (2,023)
Other accruals and current liabilities 15,408 (11,430)
Operating lease liabilities (4,794) (2,952)
Other long-term liabilities 35 (1,698)
Deferred revenue (1,709) 4,381
Net cash provided by (used in) operating activities 73,382 (34,064)
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 (1,641,193) (1,452,419)
Proceeds from maturities of corporate and customer fund short-term investments 1,683,413 667,854
Proceeds from sale of corporate and customer fund short-term investments 5,088 44,744
Increase in acquired card receivables, net and other (101,353) (77,459)
Purchases of property and equipment (3,161) (2,467)
Capitalization of internal-use software costs (10,510) (5,023)
Proceeds from beneficial interest 2,080 0
Net cash used in investing activities (94,538) (969,311)
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,152
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 332,661 1,171,446
Proceeds from line of credit borrowings 37,500 0
Proceeds from exercise of stock options 8,217 22,784
Proceeds from issuance of common stock under the employee stock purchase plan 8,494 5,726
Net cash provided by financing activities 386,872 3,063,290
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents 182 (75)
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents 365,898 2,059,840
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,908,613 3,869,532
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,616,758 1,672,166
Restricted cash included in other current assets 103,809 16,364
Restricted cash included in other assets 6,724 6,724
Restricted cash and restricted cash equivalents included in funds held for customers 2,181,322 2,174,278
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,908,613 $ 3,869,532