XML 71 R59.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Financing and Other Debt - Additional Information (Details) - USD ($) |  |  |  | 1 Months Ended | 3 Months Ended | 9 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 24, 2018 | Jan. 17, 2018 | Apr. 07, 2016 | Jan. 31, 2018 | Mar. 31, 2018 | Sep. 30, 2018 | Dec. 31, 2017 | Aug. 23, 2018 | Jan. 16, 2018
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loss on extinguishment of debt |  |  |  |  | $ 1,100,000 |  |  |  |
General and administrative costs incurred |  |  |  | $ 3,800,000 |  |  |  |  |
Debt issuance costs |  |  |  | $ 6,100,000 |  |  |  |  |
Long-term debt |  |  |  |  |  | $ 2,414,233,000 | $ 2,461,048,000 |  |
Eurocurrency Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent |  | 2.25% |  |  |  |  |  |  |
Base Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent |  | 1.25% |  |  |  |  |  |  |
2016 Credit Agreement Tranche A | Interest Rate Option One | Eurocurrency Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Margin on variable rate, percent |  |  |  |  |  | 2.00% |  |  |
Basis spread on variable rate, reduction in basis points |  | 0.50% |  |  |  |  |  |  |
2016 Credit Agreement Tranche B |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Weighted average annual interest rate, percent |  |  |  |  |  | 4.30% | 4.20% |  |
2016 Credit Agreement Tranche B | Base Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate, reduction in basis points | 0.25% |  |  |  |  |  |  |  |
2016 Credit Agreement Tranche B | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate, reduction in basis points | 0.25% |  |  |  |  |  |  |  |
2016 Credit Agreement Tranche B | Interest Rate Option One | Eurocurrency Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Margin on variable rate, percent |  |  |  |  |  | 2.25% |  |  |
Debt instrument, interest rate, floor |  |  |  |  |  | 0.00% |  |  |
2016 Credit Agreement |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt covenant, one time consideration payment, minimum | $ 300,000,000 |  |  |  |  |  |  |  |
Australian Securitization Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent |  |  |  |  |  | 2.79% | 2.53% |  |
Debt instrument, term |  |  |  |  |  | 1 year |  |  |
Percentage used as collateral |  |  |  |  |  | 85.00% |  |  |
Short-term debt, net |  |  |  |  |  | $ 87,900,000 | $ 90,000,000 |  |
European Securitization Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent |  |  |  |  |  | 0.91% | 1.11% |  |
Debt instrument, term |  |  | 5 years |  |  |  |  |  |
Securitized debt |  |  |  |  |  | $ 23,700,000 | $ 17,900,000 |  |
Loan Participations and Assignments |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Long-term debt |  |  |  |  |  | 140,965,000 | 184,990,000 |  |
Debt balance |  |  |  |  |  | $ 141,000,000 | $ 185,000,000 |  |
Loan Participations and Assignments | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Margin on variable rate, percent |  |  |  |  |  | 2.25% |  |  |
Loan Participations and Assignments, Amounts Maturing August 2018 |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, aggregate principal amount |  |  |  |  |  | $ 75,400,000 |  |  |
Loan Participations and Assignments, Amounts Maturing August 2020 |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, aggregate principal amount |  |  |  |  |  | 50,000,000 |  |  |
Loan Participations and Assignments, Amounts Maturing On Demand |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, aggregate principal amount |  |  |  |  |  | 15,600,000.0 |  |  |
Credit Facility Term Loans | 2016 Credit Agreement Tranche A |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Current borrowing capacity |  |  |  |  |  | 455,000,000 |  |  |
Mandatory quarterly payments |  |  |  |  |  | 5,400,000 |  |  |
Credit Facility Term Loans | 2016 Credit Agreement Tranche B |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Current borrowing capacity |  | $ 1,335,000,000 |  |  |  | 1,335,000,000 |  |  | $ 1,182,000,000
Mandatory quarterly payments |  |  |  |  |  | 3,400,000 |  |  |
Credit Facility Term Loans | 2016 Credit Agreement |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Current borrowing capacity | 25,000,000 |  |  |  |  |  |  |  |
Revolving line-of-credit facility under 2016 Credit Agreement | 2016 Credit Agreement |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Current borrowing capacity | $ 720,000,000 |  |  |  |  | $ 720,000,000 |  | $ 570,000,000 |
Debt covenant, consolidated leverage ratio, period one | 5.00 |  |  |  |  |  |  |  |
Debt covenant, consolidated leverage ratio, period two | 4.50 |  |  |  |  |  |  |  |
Debt covenant, consolidated leverage ratio, period three | 4.00 |  |  |  |  |  |  |  |
Debt covenant, interim consolidated leverage ratio | 4.25 |  |  |  |  |  |  |  |
Revolving line-of-credit facility under 2016 Credit Agreement | 2016 Credit Agreement | Base Rate |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent | 1.00% |  |  |  |  |  |  |  |
Revolving line-of-credit facility under 2016 Credit Agreement | 2016 Credit Agreement | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Interest rate during period, percent | 2.00% |  |  |  |  |  |  |  |
WEX Latin America |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Weighted average annual interest rate, percent |  |  |  |  |  | 16.87% | 21.20% |  |
Long-term debt |  |  |  |  |  | $ 7,808,000 | $ 9,747,000 |  |
Senior Notes | Notes payable |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Long-term debt |  |  |  |  |  | $ 400,000,000 | 400,000,000 |  |
Interest rate, stated percentage |  |  |  |  |  | 4.75% |  |  |
Line of Credit |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Long-term debt |  |  |  |  |  | $ 0 | $ 0 |  |
Maximum borrowing capacity |  |  |  |  |  | $ 310,000,000 |  |  |

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=114001942&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001942&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the required periodic payments of both interest and principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount of collateralized debt obligations with maturities initially due after one year or beyond the operating cycle, if longer, excluding the current portion. Obligations include, but not limited to, mortgage loans, chattel loans, and other borrowings secured by assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_SecuredLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Covenant, One Time Consideration Payment, Minimum + References No definition available. + Details
Name: | wex_DebtCovenantOneTimeConsiderationPaymentMinimum
Namespace Prefix: | wex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Instrument, Basis Spread on Variable Rate, Reduction + References No definition available. + Details
Name: | wex_DebtInstrumentBasisSpreadOnVariableRateReduction
Namespace Prefix: | wex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Consolidated Leverage Ratio, Period One + References No definition available. + Details
Name: | wex_DebtInstrumentCovenantConsolidatedLeverageRatioPeriodOne
Namespace Prefix: | wex_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Consolidated Leverage Ratio, Period Three + References No definition available. + Details
Name: | wex_DebtInstrumentCovenantConsolidatedLeverageRatioPeriodThree
Namespace Prefix: | wex_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Consolidated Leverage Ratio, Period Two + References No definition available. + Details
Name: | wex_DebtInstrumentCovenantConsolidatedLeverageRatioPeriodTwo
Namespace Prefix: | wex_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Interim Consolidated Leverage Ratio + References No definition available. + Details
Name: | wex_DebtInstrumentCovenantInterimConsolidatedLeverageRatio
Namespace Prefix: | wex_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Interest Rate, Floor + References No definition available. + Details
Name: | wex_DebtInstrumentInterestRateFloor
Namespace Prefix: | wex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Securitization Facility, Percentage of Receivables Used as Collateral + References No definition available. + Details
Name: | wex_DebtInstrumentSecuritizationFacilityPercentageofReceivablesUsedasCollateral
Namespace Prefix: | wex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Gain (Loss) On Extinguishment Of Debt, General And Administrative Costs Incurred + References No definition available. + Details
Name: | wex_GainLossOnExtinguishmentOfDebtGeneralAndAdministrativeCostsIncurred
Namespace Prefix: | wex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Securitization Facility + References No definition available. + Details
Name: | wex_SecuritizationFacility
Namespace Prefix: | wex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_VariableRateAxis=wex_EurocurrencyRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_TwoThousandAndSixteenCreditAgreementTrancheAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wex_DebtInstrumentInterestRateOptionAxis=wex_InterestRateOptionOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_TwoThousandAndSixteenCreditAgreementTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_TwoThousandAndSixteenCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_SecuritizationFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_EuropeanSecuritizationFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LoanParticipationsAndAssignmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_LoanParticipationsandAssignmentsAmountsMaturingAugust2020MemberDomain
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_LoanParticipationsandAssignmentsAmountsMaturingDecember2021MemberDomain
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wex_LoanParticipationsandAssignmentsAmountsMaturingOnDemandMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=wex_CreditFacilityAndTermLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=wex_WEXLatinAmericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_NotesPayableOtherPayablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |