| Dec 31, 2015 | Dec 31, 2016 | Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net income (loss) for the year | -19 | -35 | -40 | -65 | 320 | 2,915 | -3,460 | 132 | 2,019 |
|---|
| Amortization and depreciation | 7 | 14 | 23 | 27 | 70 | 66 | 91 | 70 | 36 |
|---|
| Stock-based compensation | 8 | 23 | 49 | 96 | 247 | 331 | 549 | 615 | 430 |
|---|
| Other Asset Impairment Charges | - | - | - | - | - | - | - | 38 | - |
|---|
| Provision for transaction and loan losses | - | - | 3 | 1 | 27 | 44 | 74 | 80 | 148 |
|---|
| Deferred income tax expense (recovery) | - | - | - | - | 42 | -191 | 187 | 1 | -78 |
|---|
| Revenue related to non-cash consideration | - | - | - | - | - | 58 | 122 | 158 | 94 |
|---|
| Impairment on sales of Shopify's logistics businesses | - | - | - | - | - | - | - | 1,340 | - |
|---|
| Net (gain) loss on equity and other investments | - | - | - | - | 135 | 2,860 | -2,919 | 1,419 | 992 |
|---|
| Net loss on equity method investment | - | - | - | - | - | - | - | -58 | -138 |
|---|
| Unrealized foreign exchange (gain) loss | - | 1 | 2 | -1 | 2 | -5 | -12 | 6 | -19 |
|---|
| Trade and other receivables | - | 2 | 13 | 33 | 29 | 72 | 105 | 98 | 148 |
|---|
| Merchant cash advances and related receivables, net | - | 12 | 38 | 51 | 113 | 266 | 23 | -214 | 82 |
|---|
| Other current and long-term assets | - | - | - | - | - | - | - | - | 72 |
|---|
| Accounts payable and accrued liabilities | - | 20 | 15 | 21 | 119 | 138 | 37 | 69 | 110 |
|---|
| Deferred revenue | - | - | - | 9 | 66 | 309 | 305 | 60 | 26 |
|---|
| Net cash provided by operating activities | 16 | 14 | 8 | 9 | 425 | 504 | -136 | 944 | 1,616 |
|---|
| Purchases of property and equipment | 17 | 24 | 20 | 28 | 42 | 51 | 50 | 39 | 19 |
|---|
| Purchases of marketable securities | 111 | 369 | 1,129 | 2,448 | 5,600 | 7,337 | 5,011 | 5,841 | 8,396 |
|---|
| Maturities of marketable securities | 48 | 140 | 642 | 1,698 | 3,721 | 5,750 | 6,890 | 5,590 | 7,457 |
|---|
| Purchases and originations of loans | - | - | - | - | - | - | 526 | 1,861 | 3,006 |
|---|
| Repayments and sales of loans | - | - | - | - | - | - | 367 | 1,338 | 2,542 |
|---|
| Purchases of equity and other investments | - | - | - | - | - | 650 | 635 | 364 | 137 |
|---|
| Acquisition of businesses, net of cash acquired | - | 14 | 16 | 19 | - | 60 | 1,754 | 31 | 30 |
|---|
| Other | - | - | - | - | - | - | - | 36 | -3 |
|---|
| Net cash used in investing activities | -84 | -270 | -527 | -811 | -1,932 | -2,348 | -719 | -1,244 | -1,586 |
|---|
| Proceeds from Stock Options Exercised | 2 | 4 | 15 | 30 | 71 | 109 | 18 | 60 | 61 |
|---|
| Net cash provided by financing activities | 138 | 229 | 575 | 1,072 | 3,557 | 1,650 | 18 | 60 | 61 |
|---|
| Effect of foreign exchange on cash, cash equivalents and restricted cash | - | - | - | - | 3 | -7 | -16 | 4 | -6 |
|---|
| Net (decrease) increase in cash, cash equivalents and restricted cash | - | - | - | - | 2,054 | -201 | -854 | -236 | 85 |
|---|
| Income Taxes Paid, Net | - | - | - | - | - | -10 | 27 | 50 | 116 |
|---|
| Cash paid for interest | - | - | - | - | - | 1 | 1 | 1 | 1 |
|---|