REVENUE - Disaggregation of Revenue (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2019 |
Sep. 30, 2018 |
Sep. 30, 2019 |
Sep. 30, 2018 |
|
| Transaction-based revenue | ||||
| Disaggregation of Revenue [Line Items] | ||||
| Revenue from contracts with customers | $ 816,622 | $ 655,384 | $ 2,248,894 | $ 1,803,649 |
| Subscription and services-based revenue | ||||
| Disaggregation of Revenue [Line Items] | ||||
| Revenue from contracts with customers | 239,895 | 141,752 | 645,588 | 330,637 |
| Revenues from other sources | 39,906 | 24,451 | 104,453 | 66,952 |
| Hardware revenue | ||||
| Disaggregation of Revenue [Line Items] | ||||
| Revenue from contracts with customers | 21,766 | 17,558 | 62,238 | 50,337 |
| Bitcoin revenue | ||||
| Disaggregation of Revenue [Line Items] | ||||
| Revenue from contracts with customers | $ 148,285 | $ 42,963 | $ 338,898 | $ 114,074 |