2.4.0.8163 - Disclosure - Stock-Based Compensation - Additional Information (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE655912--1310-Q0007_STD_181_20130630_0http://www.sec.gov/CIK0001309108duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse43880004388USD$falsetruefalsexbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F false23false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1328900013289USD$falsetruefalsexbrli:monetaryItemTypemonetaryUnrecognized cost of unvested share-based compensation awards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false2falseStock-Based Compensation - Additional Information (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.wexinc.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation13