# Pull your WEX fleet card data into your own systems

> Read driver transactions, exception reports and invoices from WEXOnline with one API call each, or suspend a lost card. A workflow can run your exception report every morning and post each new invoice to accounts payable.

Page: https://fous.com/automate/wex-fleet-card-portal
Updated: 2026-11-12

Works with your own WEX fleet card portal account. Fous is an independent product.

## What you can build on WEXOnline

### Get a driver's transactions

Opens Cards > View Driver, selects the driver and reads View Transactions for the period you give, up to the 30 days the screen shows.

- Takes: Driver, start date, end date
- Returns: Date, card, vehicle, merchant, product, quantity, amount

### Run an exception report

Builds a search under Transactions > Add Exception Report for one account, by date, driver, card, vehicle, merchant, product or department, and reads the results.

- Takes: Account, date range, filters (optional)
- Returns: Date, driver, card, vehicle, merchant, product, quantity, amount, department

### List invoices

Reads Payments > View Invoices, narrowed with the Advanced Search Filter, for the account and dates you give.

- Takes: Account, invoice date from, invoice date to
- Returns: Invoice number, account, invoice date, due date, amount due

### Suspend or terminate a card

Opens Cards > View Cards, selects the card and uses Change Status to set it to Suspended or Terminated.

- Takes: Card number (last digits), new status
- Returns: Card, driver or vehicle, previous status, new status

## Automate WEXOnline with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Morning exception report, sent to you

Starts: Every weekday at 7:00

1. Run the exception report for yesterday on each account, with the multiple daily purchases filter.
2. Stop when nothing matches.
3. Email you the transactions grouped by driver, with card, merchant, product, quantity and amount.

### New invoices, handed to accounts payable

Starts: Every day at 8:00

1. List the invoices of the last 7 days from Payments > View Invoices.
2. Keep the invoices that were not there on the last run.
3. Post invoice number, account, invoice date, due date and amount due to your ERP webhook.

### Weekly fuel spend per driver, for job costing

Starts: Every Monday at 6:00

1. For each driver you name, get last week's transactions.
2. Have an AI step total quantity and amount per driver and per product.
3. Post the totals and the transaction rows to your webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get a driver's transactions” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "go.wexonline.com/get_driver_transactions",
    "input": {
      "driver": "D-0104",
      "start_date": "2026-11-02",
      "end_date": "2026-11-08"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "driver": "D-0104",
    "transactions": [
      {
        "date": "2026-11-03T06:42:00",
        "card": "...4417",
        "vehicle": "Truck 12",
        "merchant": "Northwind Fuel Stop, Columbus OH",
        "product": "Diesel",
        "quantity": 58.2,
        "amount": 211.85
      }
    ],
    "count": 1,
    "total_amount": 435.11
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## WEXOnline’s own options

WEX documents a Fleet Management API for partners and large fleets: accounts, cards, drivers and vehicles, authorizations, statement payments and fuel sites. You start with your WEX account team, which creates your account, sets up a testing environment and issues a client_id and client_secret. Otherwise you have WEXOnline, where transaction and invoice lists export to CSV or Excel.

| Option | What it covers | What it takes |
| --- | --- | --- |
| WEX Fleet Management API | Account search and balances, card issuing and orders, driver and vehicle records, authorizations and fuel sites. Statement payments: Direct Fleet only. | Onboarding by your WEX account team, then OAuth 2 bearer tokens from the client_id and client_secret WEX provides. |
| Go Paperless | Reports delivered electronically instead of on paper, with an email when the documents are ready. | Turned on per report with Go Paperless on the WEXOnline home page. |
| WEXOnline by hand | Cards, drivers, authorization profiles, exception reports and invoices. Driver transactions and invoice lists export to CSV or Excel. | A WEXOnline user for your fleet account, signed in with your email and password. |

Read on November 12, 2026: [WEX Fleet Management API](https://fleetapi.wexinc.com/fleet-management/fleet-management-api), [Getting started with the Fleet API](https://fleetapi.wexinc.com/fleet-management/getting-started), [WEX customer support: fleet accounts](https://customer.wexinc.com/customer-support/customer-support-fleet-accounts/).

## Signing in to WEXOnline

WEXOnline signs you in with the email address on your user and your password. If you only know your old username, you enter it with your password to find that email. With Fous you sign in once through WEXOnline's own sign-in with your own user, and the login is sealed with AES-256, never returned by the API or written to logs.

## Worth knowing

- **Driver transactions show 30 days**: View Transactions under Cards > View Driver shows a 30-day period for one driver. To search across drivers by date, card or vehicle, build an exception report.
- **Suspended or Terminated**: Change Status offers Suspended when a lost card might be found, and Terminated to deactivate it for good. A replacement is a separate reissue with a reason: lost, damaged or stolen.
- **Authorization profiles set what a card buys**: Each card follows an authorization profile, either Fuel Only or Custom Control, listed under Cards > View Auth Profiles. A new card needs a profile when you add it.
- **One active API token per client**: On WEX's Fleet API, generating a new token invalidates the previous one for the same credentials, and an expired token returns 401. Reuse a token until then.

## More in Logistics: trucking, rail and parcel

- [Carrier 360 by J.B. Hunt](https://fous.com/automate/carrier-360-by-j-b-hunt.md)
- [Navisphere Carrier](https://fous.com/automate/navisphere-carrier.md)
- [RXO Connect](https://fous.com/automate/rxo-connect.md)
- [TQL Carrier Dashboard](https://fous.com/automate/tql-carrier-dashboard.md)
- [Highway](https://fous.com/automate/highway.md)
- [RMIS](https://fous.com/automate/rmis.md)
- [MyCarrierPortal](https://fous.com/automate/mycarrierportal.md)
- [Triumph Payments portal](https://fous.com/automate/triumph-payments-portal.md)
- [C3 Reservations](https://fous.com/automate/c3-reservations.md)
- [Kroger One Network portal](https://fous.com/automate/kroger-one-network-portal.md)
- [NCR Power Traffic](https://fous.com/automate/ncr-power-traffic.md)
- [Opendock](https://fous.com/automate/opendock.md)
- [Walmart Scheduler 2.0](https://fous.com/automate/walmart-scheduler-2-0.md)
- [One Network](https://fous.com/automate/one-network.md)
- [CassPort](https://fous.com/automate/cassport.md)
- [TIMOCOM](https://fous.com/automate/timocom.md)
- [Trans.eu](https://fous.com/automate/trans-eu.md)
- [DAT One](https://fous.com/automate/dat-one.md)
- [Truckstop](https://fous.com/automate/truckstop.md)
- [B2クラウド](https://fous.com/automate/yamato-b2-cloud.md)
- [AccessNS](https://fous.com/automate/accessns.md)
- [BNSF Customer Portal](https://fous.com/automate/bnsf-customer-portal.md)
- [MyUP](https://fous.com/automate/myup.md)
- [ShipCSX](https://fous.com/automate/shipcsx.md)
- [Transporeon](https://fous.com/automate/transporeon.md)
- [Toll Collect Kunden-Portal](https://fous.com/automate/toll-collect-kunden-portal.md)

Other industries: [Exostar](/automate/exostar), [LR Class Direct](/automate/lr-class-direct), [RTBA Online](/automate/rtba-online), [myCintas](/automate/mycintas), [AlbertsonsNet for Suppliers](/automate/albertsonsnet-for-suppliers), [Coles Supplier Portal](/automate/coles-supplier-portal).

## Frequently asked questions

### Does the WEX fleet card portal have an API?

WEX documents a Fleet Management API for partners and large fleets, covering accounts, cards, drivers, vehicles, authorizations, statement payments and fuel sites. Your WEX account team provides a testing environment and a client_id and client_secret. Without it you have WEXOnline and its CSV and Excel exports.

### How do I export WEX fuel card transactions?

In WEXOnline, open Cards > View Driver, select the driver and choose View Transactions, then export to CSV or Excel. To search across drivers, build an exception report under Transactions > Add Exception Report by date, driver, card, vehicle, merchant, product or department.

### Where do I find my WEX fleet invoices?

Under Payments > View Invoices in WEXOnline. The Advanced Search Filter finds a specific invoice, and the list exports to CSV or Excel. With Go Paperless on the home page, you get an email when electronic documents are ready.

### How do I deactivate a lost WEX fuel card?

Open Cards > View Cards, select the card and choose Change Status. Pick Suspended if the card might turn up, or Terminated to deactivate it permanently. A method you build for it can make the same change when your system calls it with the card and status.

### Is Fous affiliated with WEX?

No. Fous is an independent product. You use it with your own WEXOnline user, and a method reads and does only what that user can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of WEX fleet card portal (WEX). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
