Revenue | 3. Revenue The Company adopted Topic 606 on January 1, 2018, utilizing the modified retrospective method. See Note 2, Recent Accounting Pronouncements, for further information regarding the adoption impact. Under the modified retrospective method, prior period comparable financial information continues to be presented under the guidance of ASC 605, Revenue Recognition. Please see the Company’s Annual Report on Form 10–K for the year ended December 31, 2017 for our accounting policies applied to revenue recognition prior to adoption of Topic 606. The impact of adopting Topic 606 for the three and six months ended June 30, 2018 was as follows: Three Months Ended June 30, 2018 Six Months Ended June 30, 2018 (In thousands) Prior to Adoption Impact of Topic 606 As Reported Prior to Adoption Impact of Topic 606 As Reported Revenues Payment processing revenue $ 167,874 $ 10,864 $ 178,738 $ 327,504 $ 19,688 $ 347,192 Account servicing revenue 78,716 — 78,716 157,420 — 157,420 Finance fee revenue 51,573 — 51,573 101,255 — 101,255 Other revenue 60,822 1,027 61,849 118,315 1,523 119,838 Total revenues 358,985 11,891 370,876 704,494 21,211 725,705 Cost of services Processing costs 76,306 — 76,306 155,928 — 155,928 Service fees 18,181 (4,372 ) 13,809 36,076 (10,047 ) 26,029 Provision for credit losses 11,505 — 11,505 25,495 — 25,495 Operating interest 9,528 — 9,528 18,013 — 18,013 Depreciation and amortization 20,612 — 20,612 41,045 — 41,045 Total cost of services 136,132 (4,372 ) 131,760 276,557 (10,047 ) 266,510 General and administrative 48,488 — 48,488 103,921 — 103,921 Sales and marketing 41,505 16,192 57,697 83,150 31,088 114,238 Depreciation and amortization 30,020 — 30,020 59,763 — 59,763 Operating income 102,840 71 102,911 181,103 170 181,273 Financing interest expense (25,505 ) — (25,505 ) (52,842 ) — (52,842 ) Net foreign currency loss (26,734 ) — (26,734 ) (26,344 ) — (26,344 ) Net unrealized gain on financial instruments 2,706 — 2,706 16,214 — 16,214 Income before income taxes 53,307 71 53,378 118,131 170 118,301 Income taxes 13,919 19 13,938 29,485 42 29,527 Net income 39,388 52 39,440 88,646 128 88,774 Less: Net income (loss) from non-controlling interest 142 — 142 843 — 843 Net income attributable to shareholders $ 39,246 $ 52 $ 39,298 $ 87,803 $ 128 $ 87,931 Topic 606 does not apply to rights or obligations associated with financial instruments, including the Company’s finance fee and interest income from banking relationships and cardholders, certain other fees associated with cardholder arrangements and commissions paid related to such agreements, which continue to be within the scope of ASC Topic 310, Receivables (“Topic 310”). The vast majority of the Company’s Topic 606 revenue is derived from stand-ready obligations to provide payment processing, transaction processing and SaaS services and support. Revenue is recognized based on the value of services transferred to date using a time elapsed output method. For payment processing and transaction processing, services are considered to be transferred when a transaction is captured and the Company has validated that the transaction has no errors. Point-in-time revenue recognized during the three and six months ended June 30, 2018 was not material. We disaggregate our revenue from contracts with customers by service-type for each of our segments, as we believe it best depicts how the nature, amount, timing and uncertainty of our revenue and cash flows are affected by economic factors. The following tables disaggregate our consolidated revenue for the three and six months ended June 30, 2018: Three Months Ended June 30, 2018 (In thousands) Fleet Solutions Travel and Corporate Solutions Health and Employee Benefit Solutions Total Topic 606 revenues Payment processing revenue $ 112,895 $ 51,289 $ 14,554 $ 178,738 Account servicing revenue 5,384 8,995 26,702 41,081 Other revenue 10,525 1,206 5,274 17,005 Total Topic 606 revenues $ 128,804 $ 61,490 $ 46,530 $ 236,824 Topic 310 revenues Account servicing revenue $ 37,635 — — $ 37,635 Finance fee revenue 45,188 228 6,157 51,573 Other revenue 29,843 14,046 955 44,844 Total Topic 310 revenues $ 112,666 $ 14,274 $ 7,112 $ 134,052 Total revenues $ 241,470 $ 75,764 $ 53,642 $ 370,876 Six Months Ended June 30, 2018 (In thousands) Fleet Solutions Travel and Corporate Solutions Health and Employee Benefit Solutions Total Topic 606 revenues Payment processing revenue $ 219,873 $ 96,066 $ 31,253 $ 347,192 Account servicing revenue 13,850 18,464 53,727 86,041 Other revenue 27,567 2,323 13,416 43,306 Total Topic 606 revenues $ 261,290 $ 116,853 $ 98,396 $ 476,539 Topic 310 revenues Account servicing revenue $ 71,379 — — $ 71,379 Finance fee revenue 88,792 487 11,976 101,255 Other revenue 50,374 25,203 955 76,532 Total Topic 310 revenues $ 210,545 $ 25,690 $ 12,931 $ 249,166 Total revenues $ 471,835 $ 142,543 $ 111,327 $ 725,705 Payment Processing Revenue Payment processing revenue consists primarily of interchange income. Interchange income is a fee paid by a merchant bank (“merchant”) to the card-issuing bank (generally the Company) in exchange for the Company facilitating and processing transactions with cardholders. Interchange fees are set by the card network. WEX processes transactions through both closed-loop and open-loop networks. • Our Fleet Solutions segment interchange income primarily relates to revenue earned on transactions processed through the Company’s proprietary closed-loop fuel networks. In closed-loop fuel network arrangements, written contracts are entered into between the Company and merchants, which determine the interchange fee charged on transactions. The Company extends short-term credit to the fleet cardholder and pays the merchant the purchase price for the cardholder’s transaction, less the interchange fees the Company retains. The Company collects the total purchase price from the fleet cardholder. In Europe, interchange income is specifically derived from the difference between the negotiated price of fuel from the supplier and the agreed upon price paid by fleet cardholders. • Interchange income in our Travel and Corporate Solutions and Health and Employee Benefit Solutions segments relates to revenue earned on transactions processed through open-loop networks. In open-loop network arrangements, there are several intermediaries involved between the merchant and the cardholder and written contracts between all parties involved in the process do not exist. Rather, the transaction is governed by the rates determined by the payment network at the point-of-sale. This framework dictates the interchange rate, the risk of loss, dispute procedures and timing of payment. For these transactions, there is an implied contract between the Company and the merchant. In our Travel and Corporate Solutions segment, the Company remits payment to the card network for the purchase price of the cardholder transaction, less the interchange fees the Company earns. The Company collects the total purchase price from the cardholder. In our Health and Employee Benefit Solutions segment, funding of transactions and collections from cardholders is performed by third-party sponsor banks, who remit a portion of the interchange fee to us. The Company has determined that the merchant is the customer as it relates to interchange income regardless of the type of network through which transactions are processed. The Company’s primary performance obligation to merchants is a stand-ready commitment to provide payment and transaction processing services as the merchant requires, which is satisfied over time in daily increments. Since the timing and quantity of transactions to be processed by us is not determinable, the total consideration is determined to be variable consideration. The variable consideration for our payment and transaction processing service is usage-based and therefore it specifically relates to our efforts to satisfy our obligation. The variability is satisfied each day the service is provided to the customer. We directly ascribe variable fees to the distinct day of service to which it relates, and we consider the services performed each day in order to ascribe the appropriate amount of total fees to that day. Therefore, we measure interchange income on a daily basis based on the services that are performed on that day. In determining the amount of consideration received related to payment and transaction processing services provided, the Company assessed other intermediaries involved in the processing of transactions, including merchant acquirers, card networks, sponsor banks and third-party payment processors, and assessed whether the Company controls such services performed by other intermediaries according to principal-agent guidance in Topic 606. Based on this assessment, the Company determined that WEX does not control the services performed by merchant acquirers, card networks and sponsor banks as each of these parties is the primary obligor for their portion of payment and transaction processing services performed. Therefore interchange income is recognized net of any fees owed to these intermediaries. The Company determined that services performed by third-party payment processors are controlled by WEX as the Company is responsible for directing how the third-party payment processor authorizes and processes transactions on the Company’s behalf. Therefore, such fees paid to third-party payment processors are recorded as service fees within cost of services. Additionally, the Company enters into contracts with certain large customers or strategic cardholders that provide for fee rebates tied to performance milestones. The Company considered whether such fee rebates constitute consideration payable to a customer or other parties that purchase services from the customer per Topic 606. If so, such fee rebates, which are considered variable consideration, are recorded as a reduction in payment processing revenue in the same period that related interchange income is recognized. For the three and six months ended June 30, 2018 , such variable consideration totaled approximately $222.7 million and $421.2 million , respectively. Fee rebates made to certain other partners were determined to be costs to obtain a contract, and are recorded as sales and marketing expenses. Account Servicing Revenue In our Fleet Solutions segment, account servicing revenue is primarily comprised of monthly fees charged to cardholders based on the number of vehicles serviced. These fees are primarily in return for providing monthly vehicle data reports and are recognized on a monthly basis as the service is provided. In our Travel and Corporate Solutions segment, account servicing reflects revenues earned from our AOC acquisition, primarily consisting of licensing fees for use of our accounts receivable and accounts payable SaaS platforms. In our Health and Employee Benefit Solutions segment, we also recognize account servicing fees for the per-participant per-month fee charged per consumer on our SaaS healthcare technology platform. Customers including health plans, third-party administrators, financial institutions and payroll companies typically enter into three to five year contracts, which contain significant termination penalties. Our primary performance obligation in our Travel and Corporate Solutions and Health and Employee Benefit Solutions segments is a stand-ready commitment to provide SaaS services and support which is satisfied over time in a series of daily increments. Revenue is recognized based on an output method based using days elapsed to measure progress as the Company transfers control evenly over each monthly subscription period. Finance Fee Revenue The Company earns revenue on overdue accounts, which is recognized as revenue at the time the fees are assessed. The finance fee is calculated using the greater of a minimum charge or a stated late fee rate multiplied by the outstanding balance that is subject to a late fee charge. On occasion, these fees are waived to maintain customer goodwill. The established reserve for such waived amounts is estimated and offset against the late fee revenue recognized. The Company engages in factoring, which is the purchase of accounts receivable from a third-party at a discount. The Company also recognizes finance fee revenue earned on the Company’s foreign salary advance product. All finance fees listed above are within the scope of Topic 310 and are recognized at the time of assessment. Other Revenue Other revenue includes transaction processing revenue, professional and marketing services and the sales of telematics hardware, all of which is within scope of Topic 606. Revenue is recognized when control of the services or hardware is transferred to our customers, in an amount that reflects the consideration that we expect to receive in exchange for those services. In addition, international settlement fees and certain other cardholder fees (e.g. replacement card fees) are included in other revenue. These cardholder fees are within the scope of Topic 310 and are recognized upon completion of the related service. Contract Balances The Company’s contract assets consist of upfront payments made to customers under long-term contracts and are recorded upon payment or when due. These payments reduce revenue recognition in future periods, as the resulting asset is amortized against revenue as the Company performs its obligations under these arrangements. The Company’s contract liabilities consist of customer payments received before the Company has satisfied the associated performance obligations and upfront payments due to the customer. The following table provides information about these contract assets and liabilities from contracts with customers. Our contract assets and liabilities are reported in a net position on a contract-by-contract basis at the end of each reporting period. (In thousands) Contract balance Location on the unaudited condensed consolidated balance sheets June 30, 2018 January 1, 2018 Receivables 1 Accounts receivable, net $ 29,233 $ 30,386 Contract assets Prepaid expenses and other current assets $ 7,341 $ 7,053 Contract assets Other assets $ 48,645 $ 49,068 Contract liabilities Other current liabilities $ 23,481 $ 26,592 1 The majority of the Company’s receivables, excluded from the table above, are either due from cardholders, who have not been deemed our customer as it relates to interchange income, or from revenues earned outside of the scope of ASC Topic 606. Impairment losses recognized on our receivables and contract assets were immaterial for the three and six months ended June 30, 2018 . In the three and six months ended June 30, 2018 , we recognized revenue of $2.2 million and $5.3 million related to contract liabilities as of March 31, 2018 and December 31, 2017, respectively. Remaining Performance Obligations The Company’s unsatisfied, or partially unsatisfied performance obligations as of June 30, 2018 represent the remaining minimum monthly fees on a portion of contracts across the lines of business and contractually obligated professional services yet to be provided by the Company. It is not indicative of the Company’s future revenue, as it relates to an insignificant portion of the Company’s operations. As allowed by Topic 606, the Company has elected to exclude from this disclosure the value of unsatisfied performance obligations for contracts with an original expected duration of one year or less. The following table includes revenue expected to be recognized in the future related to remaining performance obligations at the end of the reporting period. (In thousands) 2018 2019 2020 2021 2022 Thereafter Total Minimum monthly fees 1 $ 30,803 $ 52,182 $ 32,160 $ 16,699 $ 7,394 $ 683 $ 139,921 Professional services 2 9,691 4,183 — — — — 13,874 Total remaining performance obligations $ 40,494 $ 56,365 $ 32,160 $ 16,699 $ 7,394 $ 683 $ 153,795 1 The transaction price allocated to the remaining performance obligations represents the minimum monthly fees on certain service contracts, which contain substantive termination penalties that require the counterparty to pay the Company for the aggregate remaining minimum monthly fees upon an early termination for convenience. 2 Includes software development projects and other services sold subsequent to the core offerings, to which the customer is contractually obligated. |