XML 68 R56.htm IDEA: XBRL DOCUMENT
v3.19.2

Derivative Instruments - Location and Amounts of Interest Rate Swap Gains and Losses (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2019 | Jun. 30, 2018 | Jun. 30, 2019 | Jun. 30, 2018
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Net unrealized gains on financial instruments | $ (21,516) | $ 2,706 | $ (33,428) | $ 16,214
Derivatives Not Designated as Hedging Instruments | Net unrealized gain on interest rate swap agreements | Interest rate swaps |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Net unrealized gains on financial instruments | (21,860) | 3,944 | (34,069) | 17,452
Derivatives Not Designated as Hedging Instruments | Financing interest income | Interest rate swaps |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Net unrealized gains on financial instruments | $ 2,142 | $ 1,363 | $ 4,258 | $ 1,676

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_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate net gain (loss) on price risk derivatives included in earnings in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnPriceRiskDerivativesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=wex_NetUnrealizedGainsonInterestRateSwapAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=wex_FinancingInterestIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |