Financing and Other Debt | 9. 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 a tranche A term loan facility in an amount equal to $455,000 that matures on July 1, 2021 , a tranche B term loan facility in an amount equal to $1,200,000 that matures on July 1, 2023, and a $470,000 secured revolving credit facility, with a $250,000 sublimit for letters of credit and a $20,000 sublimit for swingline loans, that terminates on July 1, 2021 . Additional loans of up to the greater of $375,000 (plus the amount of certain prepayments) and an unlimited amount subject to satisfaction of a consolidated leverage ratio test of 4.00 to 1.00 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 September 30, 2016 , the Company had $86,424 , net of loan origination fees, of borrowings against its $470,000 revolving credit facility. The outstanding debt under the amortizing term loan arrangement totaled $1,615,841 , net of loan origination fees at September 30, 2016 . As of September 30, 2016, amounts outstanding under the 2016 Credit Agreement bore a weighted average effective interest rate of 3.8% . 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% ( 3.25% at September 30, 2016) with respect to the tranche A term loan facility and the revolving credit facility and between 3.25% to 3.50% ( 3.50% at September 30, 2016) 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 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% ( 2.25% at September 30, 2016) with respect to the tranche A term loan facility and the revolving credit facility or 2.25% to 2.50% ( 2.50% at September 30, 2016) with respect to the tranche B term loan facility, in each case, based on the ratio of consolidated funded indebtedness of the Company and its subsidiaries to consolidated EBITDA. 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.50% at September 30, 2016) based on the ratio of consolidated funded indebtedness 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% . The 2016 Credit Agreement requires the Company to prepay outstanding term loans, subject to certain exceptions, with: • solely with respect to the tranche B term loan facility, currently 50% (subject to reduction to 25% and 0% based upon the Company’s consolidated leverage ratio) of the Company’s annual Excess Cash Flow (as defined in the 2016 Credit Agreement); • 100% of the net cash proceeds of certain asset sales where the proceeds exceed certain thresholds, and certain casualty and condemnation events, subject to reinvestment rights and certain other exceptions; and • 100% of the net cash proceeds of any incurrence or issuance of certain debt, other than debt permitted under the 2016 Credit Agreement. The Company may voluntarily prepay outstanding loans from time to time, subject to certain conditions, without premium or penalty other than customary “breakage” costs with respect to Eurocurrency Rate loans, provided, however, that if on or prior to the date that is twelve (12) months following the closing date, the Company prepays any loans under the tranche B term loan facility in connection with a repricing transaction, the Company must pay a prepayment premium of 1.00% of the aggregate principal amount of the tranche B term loans so prepaid. The Company is required to make scheduled quarterly payments each equal to 1.25% in the case of the tranche A term loan facility, and 0.25% in the case of the tranche B term loan facility, of the original principal amount of the respective term loans made on the closing date, with the balance due at maturity. The 2016 Credit Agreement contains customary representations and warranties, as well as affirmative and negative covenants. The 2016 Credit Agreement also requires, solely for the benefit of the lenders under the tranche A term loan facility and the revolving credit facility, that the Company maintain at the end of each fiscal quarter the following financial ratios: • a consolidated EBITDA to consolidated interest charge coverage ratio of no less than 3.25 to 1.00; and • a consolidated funded indebtedness (excluding (i) up to an agreed amount of consolidated funded indebtedness under permitted securitization transactions and (ii) the non-recourse portion of any permitted factoring transaction) to consolidated EBITDA ratio of, initially, no more than 5.40 to 1.00, which ratio shall step down to 5.25 to 1.00 at December 31, 2016, 5.00 to 1.00 at December 31, 2017, 4.25 to 1.00 at December 31, 2018 and 4.00 to 1.00 at December 31, 2019. The obligations under the 2016 Credit Agreement are secured by a security interest in, subject to certain exceptions, substantially all of the assets of the Company pursuant to the terms of a U.S. Security Agreement, dated as of July 1, 2016, in favor of Bank of America, as collateral agent for the lenders. On July 1, 2016, the Company borrowed the entire principal amount of the tranche A term loan facility, the entire principal amount of the tranche B term loan facility and $220,000 under the revolving credit facility to pay the cash portion of the purchase price for the acquisition of EFS, repay EFS's outstanding credit facilities, repay amounts outstanding under the 2014 Credit Agreement, and pay related fees, expenses and other transaction costs, as well as for working capital and other general corporate purposes. The total initial borrowing on July 1, 2016 was $1,875,000 and the total borrowing capacity under the 2016 Credit Agreement is $2,125,000 . On July 1, 2016, concurrently with the financing transactions discussed above, the Company repaid in full all outstanding amounts under the 2014 Credit Agreement and terminated all commitments by the lenders to extend further credit thereunder and all guarantees and security interests granted by the Company to the lenders thereunder. The Company did not incur any early termination penalties in connection with the termination of the 2014 Credit Agreement. 2014 Credit Agreement As of June 30, 2016, the Company had $282,639 , net of loan origination fees, of borrowings against its $700,000 revolving credit facility. The outstanding debt under the amortizing term loan arrangement, which was scheduled to expire in January of 2018, totaled $445,000 at June 30, 2016 and $458,750 at December 31, 2015 . As of June 30, 2016, amounts outstanding under the amortizing term loan bore interest at a rate of LIBOR plus 200 basis points. The revolving credit facility bore interest at a rate equal to, at the Company's option, (a) LIBOR plus 200 basis points, (b) the prime rate plus 100 basis points for domestic borrowings; and the Eurocurrency rate plus 200 basis points for international borrowings. On July 1, 2016, the Company entered into the 2016 Credit Agreement, which replaced the 2014 Credit Agreement. See above for a discussion of the 2016 Credit Agreement. Borrowed Federal Funds In the third quarter of 2016, the Company increased its federal funds lines of credit to $225,000 . As of September 30, 2016 , the Company had $0 outstanding on its $225,000 federal funds lines of credit. As of December 31, 2015 the Company had no outstanding balance on its $257,500 of available credit on these lines. UNIK debt UNIK had approximately $13,127 of debt as of September 30, 2016 , and $5,046 of debt as of December 31, 2015 . UNIK's debt is comprised of various credit facilities held in Brazil, with various maturity dates. The weighted average annual interest rate was 14.6 percent as of September 30, 2016 and 13.5 percent as of December 31, 2015 . This debt is classified in Other debt on the Company’s unaudited condensed consolidated balance sheets for the periods presented. Participation debt During the second quarter of 2014, WEX Bank entered into an agreement with a third-party bank to fund customer balances that exceeded WEX Bank's lending limit to an individual customer. This agreement was most recently amended in July 2016 to extend the maturity date while maintaining a funding capacity of $45,000 . During the second quarter of 2016, WEX Bank entered into another agreement with a separate third-party bank for a funding capacity of $10,000 . This agreement was amended in August 2016 to increase the funding capacity to $50,000 . 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 as of September 30, 2016 and $45,000 as of December 31, 2015 and was secured by an interest in the underlying customer receivables. The participation debt balance will fluctuate on a daily basis based on customer funding needs, and will range from $0 to $95,000 . The Company's participation debt agreements will mature on December 31, 2020 and August 18, 2017, respectively. This debt is classified in Other debt on the Company’s unaudited condensed consolidated balance sheets for the periods presented. Australian securitization facility On April 28, 2015, the Company entered into a one year securitized debt agreement with the Bank of Tokyo-Mitsubishi UFJ, Ltd. In April 2016, this agreement was extended for one year . Under the terms of the agreement, each month, on a revolving basis, the Company sells certain of its Australian receivables to our 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.70 percent as of September 30, 2016 and 2.91 percent as of December 31, 2015 . The Company had $76,408 of securitized debt under this facility as of September 30, 2016 and $82,018 of securitized debt as of December 31, 2015 . 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 our 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 Company had $7,460 of securitized debt under this facility as of September 30, 2016 at an interest rate of 0.83 percent . Debt issuance costs During the third quarter of 2016, the Company capitalized approximately $46,882 of debt issuance costs associated with the 2016 Credit Agreement. Additionally, we expensed approximately $5,056 during the third quarter of 2016 related to noncapitalizable third-party costs incurred in connection with the modification of certain 2014 Credit Agreement syndicate loans. These debt issuance costs will be amortized into interest expense over the 2016 Credit Agreement's term using the effective interest method for the tranche A and B term loans and the straight-line method for the revolver. The Company recognized a loss of $2,018 associated with the early extinguishment of the 2014 Credit Agreement during the three months ended September 30, 2016, including a partial write-off of previously capitalized debt issuance costs and newly paid lender fees associated with the extinguishment of syndicate borrowings. In January 2016, the Company began to incur ticking fees for the debt financing commitment associated with the 2016 Credit Agreement in anticipation of the then pending acquisition of EFS. Pursuant to the terms set forth in the bank commitment letter, the ticking fees were calculated based on the financing commitment in the aggregate amount of $2,125,000 , and remained in place until the closing of the EFS acquisition on July 1, 2016 (see Note 3). Total ticking fees accrued were $30,045 for the nine months ended September 30, 2016, and are included in financing interest expense. In conjunction with the continued negotiation of the Company's new credit agreement, the amount of ticking fees to be paid was reduced by $7,874 . The total amount of ticking fees paid at the closing of the EFS acquisition was $22,171 . The excess ticking fees were reflected as a reduction of the $46,882 debt issuance costs related to the 2016 Credit Agreement noted above and will be amortized over the 2016 Credit Agreement's term using the effective interest method for the tranche A and B term loans and the straight-line method for the revolver. The following table presents the Company's net debt issuance costs related to its revolving line-of-credit facilities, term loan and notes outstanding: September 30, 2016 December 31, 2015 Revolving line of credit facilities and term loan $ 40,147 $ 4,837 Notes outstanding $ 4,649 $ 5,200 |