XML 226 R1.htm IDEA: XBRL DOCUMENT v3.23.2
Cover - shares
6 Months Ended
Jun. 30, 2023
Jul. 20, 2023
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2023  
Document Transition Report false  
Entity File Number 001-32426  
Entity Registrant Name WEX Inc.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 01-0526993  
Entity Address, Address Line One 1 Hancock St.,  
Entity Address, City or Town Portland,  
Entity Address, State or Province ME  
Entity Address, Postal Zip Code 04101  
City Area Code 207  
Local Phone Number 773–8171  
Title of 12(b) Security Common Stock, $0.01 par value  
Trading Symbol WEX  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   42,954,003
Entity Central Index Key 0001309108  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus Q2  
Amendment Flag false