Financing and Other Debt | 7. Financing and Other Debt 2016 Credit Agreement On July 1, 2016 , the Company entered into the 2016 Credit Agreement, which replaced the 2014 Credit Agreement. The 2016 Credit Agreement provides for term loan facilities and a secured revolving credit facility, with a sublimit for letters of credit and swingline loans. Under this agreement, $925,000 matures on July 1, 2021 and $1,200,000 matures on July 1, 2023. Prior to maturity, amounts under the credit facility will be reduced by mandatory payments. Additional loans may be made available under the 2016 Credit Agreement upon request of the Company subject to specified terms and conditions, including receipt of lender commitments. Proceeds from the 2016 Credit Agreement may be used for working capital purposes, acquisitions, payment of dividends and other restricted payments, refinancing of indebtedness and other general corporate purposes. As of March 31, 2017 , the Company had $203,302 of borrowings, net of loan origination fees, against its $470,000 secured revolving credit facility, or approximately $267,000 of availability under the 2016 Credit Agreement, subject to the covenants as described below. The outstanding debt under the 2016 Credit Agreement amortizing term loans arrangement totaled $1,628,938 at March 31, 2017 . As of March 31, 2017 and December 31, 2016 , amounts outstanding under the 2016 Credit Agreement bore a weighted average effective interest rate of 4.4 percent and 4.2 percent , respectively. As of both March 31, 2017 and December 31, 2016 , the Company has posted approximately $13,350 in letters of credit as collateral for lease agreements and virtual card and fuel payment processing activity at our foreign subsidiaries. Amounts outstanding under the 2016 Credit Agreement bear interest at a rate equal to, at the Company’s option, (a) the Eurocurrency Rate, as defined in the 2016 Credit Agreement, plus a margin of between 1.75% to 3.25% ( 2.75% at March 31, 2017 ) with respect to the tranche A term loan facility and the revolving credit facility and between 3.25% to 3.50% ( 3.50% at March 31, 2017 ) with respect to the tranche B term loan facility (with the Eurocurrency Rate subject to a 0.75% floor in the case of the tranche B term loan facility and a 0.0% floor in the case of the tranche A term loan and revolving credit facility), in each case, based on the ratio of consolidated funded indebtedness less up to $350,000 in permitted securitization transactions of the Company and its subsidiaries to consolidated EBITDA or (b) the highest of (i) the Federal Funds Rate plus 0.50% , (ii) the prime rate announced by Bank of America, and (iii) the Eurocurrency Rate plus 1.00% , in each case plus a margin of 0.75% to 2.25% ( 1.75% at March 31, 2017 ) with respect to the tranche A term loan facility and the revolving credit facility or 2.25% to 2.50% ( 2.50% at March 31, 2017 ) with respect to the tranche B term loan facility, in each case, based on the ratio of consolidated funded indebtedness less up to $350,000 in permitted securitization transactions of the Company and its subsidiaries to consolidated EBITDA. In November 2016, the Company entered into three interest rate swap agreements to manage the interest rate risk associated with our outstanding variable-interest rate borrowings under the 2016 Credit Agreement. See Note 6, Derivative Instruments, for further discussion. In addition, the Company has agreed to pay a quarterly commitment fee at a rate per annum ranging from 0.30% to 0.50% ( 0.45% at March 31, 2017 ) based on the ratio of consolidated funded indebtedness less up to $350,000 in permitted securitization transactions of the Company and its subsidiaries to consolidated EBITDA of the daily unused portion of the 2016 Credit Agreement. The tranche B term loan facility was issued with an original issue discount of 1.00% . Debt Covenants As more fully described in our Annual Report on Form 10-K for the year ended December 31, 2016 , the 2016 Credit Agreement and the Indenture contain covenants that limit the Company's and our subsidiaries' ability to (i) incur additional debt, (ii) pay dividends or make other distributions on, redeem or repurchase capital stock, or make investments or other restricted payments, (iii) enter into transactions with affiliates, (iv) dispose of assets or issue stock of restricted subsidiaries or regulated subsidiaries, (v) create liens on assets, or (vi) effect a consolidation or merger or sell all, or substantially all, of the Company’s assets. As of March 31, 2017 , we were in compliance with all material covenants of our 2016 Credit Agreement and the Indenture. $400 Million Notes Outstanding On January 30, 2013, the Company completed a $400,000 offering in an aggregate principal amount of 4.750 percent senior notes due 2023. The Notes will mature on February 1, 2023, with interest of 4.750 percent payable semiannually. See Note 9 , Fair Value, for additional information. Borrowed Federal Funds WEX Bank borrows from lines of credit on a federal funds rate basis to supplement the financing of its accounts receivable. Our federal funds lines of credit were $250,000 as of March 31, 2017 and December 31, 2016 , with no outstanding balance as of March 31, 2017. WEX Brazil Debt WEX Brazil had debt of approximately $12,699 and $30,755 as of March 31, 2017 and December 31, 2016 , respectively. This was comprised of credit facilities and loan arrangements related to its accounts receivable, with various maturity dates. The average interest rate was 24.1 percent and 19.7 percent as of March 31, 2017 and December 31, 2016 , respectively. This debt is classified in Other debt on the Company’s unaudited condensed consolidated balance sheets for the periods presented. Participation Debt WEX Bank maintains agreements with third-party banks to fund customer balances that exceed WEX Bank's lending limit to an individual customer. These borrowings carry a variable interest rate of 1 to 3-month LIBOR plus a margin of 225 basis points. The balance of the debt was $95,000 at each of March 31, 2017 and December 31, 2016 , and was secured by an interest in the underlying customer receivables. The balance will fluctuate on a daily basis based on customer funding needs, and could range from $0 to $95,000 . The balances will mature in amounts of $50,000 and $45,000 on August 18, 2017 and December 31, 2020, respectively. This debt is classified in Other debt on the Company’s unaudited condensed consolidated balance sheets. Australian Securitization Facility The Company has entered into a one year securitized debt agreement with the Bank of Tokyo-Mitsubishi UFJ, Ltd expiring April 2017. Subsequent to March 31, 2017 , this agreement was extended for an additional year. Under the terms of the agreement, each month, on a revolving basis, the Company sells certain of its Australian receivables to the Company's Australian Securitization Subsidiary. The Australian Securitization Subsidiary, in turn, uses the receivables as collateral to issue asset-backed commercial paper ("securitized debt") for approximately 85 percent of the securitized receivables. The amount collected on the securitized receivables is restricted to pay the securitized debt and is not available for general corporate purposes. The Company pays a variable interest rate on the outstanding balance of the securitized debt, based on the Australian Bank Bill Rate plus an applicable margin. The interest rate was 2.68 percent and 2.65 percent as of March 31, 2017 and December 31, 2016 , respectively. The Company had securitized debt under this facility of $86,327 and $78,592 as of March 31, 2017 and December 31, 2016 , respectively. European Securitization Facility On April 7, 2016, the Company entered into a five year securitized debt agreement with the Bank of Tokyo-Mitsubishi UFJ, Ltd. Under the terms of the agreement, the Company sells certain of its receivables from selected European countries to its European Securitization Subsidiary. The European Securitization Subsidiary, in turn, uses the receivables as collateral to issue securitized debt. The amount collected on the securitized receivables is restricted to pay the securitized debt and is not available for general corporate purposes. The amounts of receivables to be securitized under this agreement will be determined by management on a monthly basis. The interest rate was 0.94 percent and 0.95 percent as of March 31, 2017 and December 31, 2016 , respectively. The Company had $6,349 and $5,731 of securitized debt as of March 31, 2017 and December 31, 2016 , respectively. Debt Issuance Costs The following table presents the Company's net debt issuance costs related to its revolving line of credit facilities, term loans and notes outstanding: March 31, 2017 December 31, 2016 Revolving line of credit facilities and term loans $ 36,600 $ 38,334 Notes outstanding $ 4,282 $ 4,466 |