XML 25 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:      
Net loss $ (98,720) $ (31,091) $ (7,314)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 5,350 4,257 3,154
Stock-based compensation 68,290 18,064 4,082
Amortization of debt discount (accretion of debt premium) and issuance costs 27,531    
Amortization of intangible assets 5,659    
Amortization of premium (accretion of discount) on investments in marketable debt securities 4,692 (3,815) (1,319)
Non-cash operating lease expense 3,813    
Provision for losses on acquired card receivables 741    
Deferred income taxes (40,617)   (176)
Other   717 299
Changes in assets and liabilities:      
Accounts receivable (6,535) (1,054) (2,098)
Unbilled revenue (1,569) (554) (1,748)
Prepaid expenses and other current assets 2,275 (10,434) (5,690)
Other assets (12,525) (4,928) (995)
Accounts payable 7,417 (1,596) 3,171
Other accruals and current liabilities 22,980 9,755 4,336
Operating lease liabilities 8,395    
Other long-term liabilities 592 12,991 302
Deferred revenue 6,854 3,258 47
Net cash provided by (used in) operating activities 4,623 (4,430) (3,949)
Cash flows from investing activities:      
Cash paid for acquisition, net of acquired cash (556,090)    
Purchases of corporate and customer fund short-term investments (2,070,296) (1,088,611) (830,622)
Proceeds from maturities of corporate and customer fund short-term investments 1,104,532 806,000 694,303
Proceeds from sale of corporate and customer fund short-term investments 142,665 46,159 54,715
Increase in other receivables included in funds held for customers (10,792) (959) (10,203)
Increase in acquired card receivables (15,703)    
Purchases of property and equipment (18,902) (11,437) (2,743)
Capitalization of internal-use software costs (2,304) (639) (1,556)
Net cash used in investing activities (1,426,890) (249,487) (96,106)
Cash flows from financing activities:      
Proceeds from issuance of convertible senior notes, net of discount and issuance costs 1,129,379    
Purchase of capped calls (87,860)    
Proceeds from issuance of common stock upon initial public offering, net of underwriting discounts and commissions and other offering costs   225,481  
Proceeds from issuance of common stock upon follow-on public offering, net of underwriting discounts and commissions and other offering costs 8,864 308,176  
Proceeds from issuance of redeemable convertible preferred stock, net of issuance costs     85,160
Increase in customer fund deposits liability 564,348 314,944 414,293
Proceeds from line of credit borrowings   2,300  
Payments on line of credit and bank borrowings (2,300)   (9,500)
Proceeds from exercise of stock options 28,209 12,232 1,702
Other (1,057) (7)  
Net cash provided by financing activities 1,639,583 863,126 491,655
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents 217,316 609,209 391,600
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of year 1,592,377 983,168 591,568
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year 1,809,693 1,592,377 983,168
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 509,615 573,643 90,306
Restricted cash included in other current assets $ 10,977 $ 35 $ 256
Restricted Cash, Current, Asset, Statement of Financial Position [Extensible List] us-gaap:OtherAssetsCurrent us-gaap:OtherAssetsCurrent us-gaap:OtherAssetsCurrent
Restricted cash included in other long-term assets $ 6,875   $ 550
Restricted Cash, Noncurrent, Asset, Statement of Financial Position [Extensible List] Other assets Other assets Other assets
Restricted cash and restricted cash equivalents included in funds held for customers $ 1,282,226 $ 1,018,699 $ 892,056
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year 1,809,693 1,592,377 983,168
Supplemental disclosure of cash flow information:      
Cash paid for interest 112 174 872
Noncash investing and financing activities:      
Fair value of shares issued as consideration for acquisition 1,603,543    
Fair value of stock-based awards assumed in acquisition 55,275    
Payable on purchases of property and equipment 664    
Conversion of redeemable convertible preferred stock into common stock upon initial public offering   276,307  
Reclassification of redeemable convertible preferred stock warrant liabilities into additional paid-in capital upon initial public offering   1,405  
Receivable from broker-assisted exercises of stock options   1,228  
Accrued stock and debt issuance costs $ 120 $ 664 $ 470