| Jun 30, 2020 | Jun 30, 2021 | Jun 30, 2022 | Jun 30, 2023 | Jun 30, 2024 |
|---|
| Net loss | -31 | -99 | -326 | -224 | -29 |
|---|
| Stock-based compensation | 18 | 68 | 197 | 314 | 248 |
|---|
| Amortization of intangible assets | - | 6 | 76 | 80 | 80 |
|---|
| Depreciation | - | - | - | - | 14 |
|---|
| Capitalized Computer Software, Amortization | - | - | 2 | 4 | 9 |
|---|
| Amortization of debt issuance costs | - | 28 | 5 | 7 | 6 |
|---|
| Amortization of premium (accretion of discount) on investments in marketable debt securities | 4 | -5 | -11 | 37 | 55 |
|---|
| Accretion of discount on loans held for investment | - | - | - | - | 9 |
|---|
| Provision For Losses On Acquired Card Receivables | - | 1 | 20 | 32 | 60 |
|---|
| Gain on debt extinguishment | - | - | - | - | 47 |
|---|
| Non-cash operating lease expense | - | 4 | 9 | 9 | 9 |
|---|
| Deferred income taxes | - | -41 | -4 | -1 | -0 |
|---|
| Other | - | - | 1 | -1 | -2 |
|---|
| Accounts receivable | 1 | 7 | 3 | 4 | -0 |
|---|
| Prepaid expenses and other current assets | 10 | -2 | 13 | 17 | 7 |
|---|
| Other assets | 5 | 13 | -5 | -0 | -8 |
|---|
| Accounts payable | -2 | 7 | -4 | -2 | -1 |
|---|
| Other accruals and current liabilities | 10 | 23 | 7 | 34 | 21 |
|---|
| Operating lease liabilities | - | - | - | - | -10 |
|---|
| Other long-term liabilities | 13 | 1 | -7 | -3 | -15 |
|---|
| Deferred revenue | 3 | 7 | 6 | -7 | -6 |
|---|
| Net cash provided by (used in) operating activities | -4 | 5 | -18 | 188 | 279 |
|---|
| Cash paid for acquisition, net of acquired cash and cash equivalents | - | 556 | 144 | 29 | - |
|---|
| Purchases of corporate and customer fund short-term investments | 1,089 | 2,070 | 2,802 | 2,744 | 2,683 |
|---|
| Proceeds from maturities of corporate and customer fund short-term investments | 806 | 1,105 | 1,902 | 3,284 | 2,512 |
|---|
| Proceeds from sale of corporate and customer fund short-term investments | 46 | 143 | 56 | 12 | 2 |
|---|
| Purchases of loans held for investment | - | - | - | - | 360 |
|---|
| Principal repayments of loans held for investment | - | - | - | - | 326 |
|---|
| Acquired card receivables, net | - | 16 | 131 | 234 | 185 |
|---|
| Purchases of property and equipment | 11 | 19 | 5 | 8 | 1 |
|---|
| Capitalization of internal-use software costs | 1 | 2 | 10 | 24 | 20 |
|---|
| Proceeds from beneficial interest | - | - | 7 | 2 | - |
|---|
| Other | - | - | - | 0 | 1 |
|---|
| Net cash provided by (used in) investing activities | -249 | -1,427 | -1,127 | 259 | -409 |
|---|
| Proceeds from Issuance Initial Public Offering | 225 | - | 1,341 | - | - |
|---|
| Proceeds from Issuance of Senior Long-Term Debt | - | 1,129 | 560 | - | - |
|---|
| Purchase of capped calls | - | 88 | 38 | - | - |
|---|
| Payments for repurchase of convertible senior notes | - | - | - | - | 933 |
|---|
| Proceeds from unwind of capped calls | - | - | - | - | 11 |
|---|
| Increase (Decrease) in Deposits | 315 | 564 | 971 | 204 | 354 |
|---|
| Repurchase of common stock | - | - | - | 88 | 212 |
|---|
| Prepaid card deposits | - | - | - | 27 | -18 |
|---|
| Proceeds from line of credit borrowings | - | - | - | - | 45 |
|---|
| Payments on line of credit and bank borrowings | - | 2 | 40 | - | - |
|---|
| Proceeds from Stock Options Exercised | 12 | 28 | 34 | 14 | 8 |
|---|
| Tax withholdings related to net share settlements of equity awards | - | - | - | - | 4 |
|---|
| Proceeds from Issuance of Common Stock | 308 | 9 | 13 | 18 | 16 |
|---|
| Contingent consideration payout | - | - | - | - | 11 |
|---|
| Net cash provided by (used in) financing activities | 863 | 1,640 | 2,879 | 235 | -743 |
|---|
| Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents | - | - | -0 | -0 | -0 |
|---|
| Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents | - | - | 1,733 | 682 | -873 |
|---|
| Cash paid for interest during the period | 0 | 0 | 5 | 7 | 13 |
|---|
| Income Taxes Paid | - | - | - | 1 | 6 |
|---|
| Payable on purchases of acquired card receivables | - | - | - | - | 105 |
|---|
| Fair value of shares issued as consideration for acquisition | - | 1,604 | 488 | 3 | - |
|---|
| Fair value of stock-based awards assumed in acquisition | - | 55 | 22 | - | - |
|---|
| Fair value of earn-out consideration for acquisition | - | - | - | 11 | - |
|---|