v2.4.1.9
Stock-Based Compensation - Additional Information (Detail) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
plan
Dec. 31, 2013
Dec. 31, 2012
May 31, 2010
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares authorized       3,800,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Number of stock-based compensation plans 4wex_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofPlans      
Total stock-based compensation cost recognized $ 13,790us-gaap_AllocatedShareBasedCompensationExpense $ 9,429us-gaap_AllocatedShareBasedCompensationExpense $ 11,016us-gaap_AllocatedShareBasedCompensationExpense  
Shares exercised, total intrinsic value 1,543us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue 3,632us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue 10,555us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue  
Restricted Stock Units (RSUs)        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total unrecognized compensation cost 4,068us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
     
Compensation cost expected recognition weighted average period 1 year 2 months 12 days      
Shares granted fair value 7,376wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
9,757wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
7,830wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
 
Shares vested fair value 8,545wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
5,259wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
6,347wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
 
Restricted Stock Units (RSUs) | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting period 3 years      
Restricted Stock Units (RSUs) | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting period 4 years      
Deferred Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares granted and vested fair value 189wex_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesGrantedAndVestedFairValue
/ us-gaap_AwardTypeAxis
= wex_DeferredStockUnitsMember
137wex_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesGrantedAndVestedFairValue
/ us-gaap_AwardTypeAxis
= wex_DeferredStockUnitsMember
150wex_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesGrantedAndVestedFairValue
/ us-gaap_AwardTypeAxis
= wex_DeferredStockUnitsMember
 
Performance Based Restricted Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Compensation cost expected recognition weighted average period 1 year 10 months 24 days      
Shares vested fair value 2,474wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
9,075wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
1,382wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
 
Performance Based Restricted Stock Units | Units At Threshold        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total unrecognized compensation cost 3,886us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtThresholdMember
     
Performance Based Restricted Stock Units | Units At Target        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total unrecognized compensation cost 11,058us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtTargetMember
     
Shares granted fair value 19,239wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtTargetMember
5,356wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtTargetMember
4,308wex_ShareBasedCompensationArrangementsByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtTargetMember
 
Performance Based Restricted Stock Units | Units At Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total unrecognized compensation cost $ 20,910us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= wex_PerformanceBasedRestrictedStockUnitsMember
/ wex_ConsolidatedPreferredBasedRestrictedStockUnitsAxis
= wex_PreferredBasedRestrictedStockUnitsAtMaximumMember
     
Performance Based Restricted Stock Units | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Performance goals tracking period 1 year      
Performance Based Restricted Stock Units | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Performance goals tracking period 4 years