Balance Sheet Components - Property and Equipment, Net (Details) - USD ($) $ in Millions |
3 Months Ended | ||
|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Dec. 31, 2023 |
|
| Property, Plant and Equipment [Line Items] | |||
| Total | $ 1,617 | $ 1,520 | |
| Less: Accumulated depreciation and amortization | (912) | (808) | |
| Property and equipment, net | 705 | 712 | |
| Depreciation expense | 33 | $ 32 | |
| Capitalized software and website development costs | 83 | 88 | |
| Amortization of capitalized software and website development costs | 57 | $ 79 | |
| Equipment for merchants | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | 174 | 167 | |
| Computer equipment and software | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | 82 | 77 | |
| Capitalized software and website development costs | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | 1,041 | 953 | |
| Leasehold improvements | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | 221 | 217 | |
| Office equipment | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | 64 | 66 | |
| Construction in progress | |||
| Property, Plant and Equipment [Line Items] | |||
| Total | $ 35 | $ 40 | |