Get an authorization.
Authentication
Standard HTTP Bearer token. Enter the 'access_token' value.
Header Parameters
This API is protected under OAuth 2 with the client_credentials grant flow and requires an API client_id and client_secret.
The client_id and client_secret are provisioned by the Fleet Services team.
Access Tokens have a lifespan of 15 minutes.
Requesting an access token
Parameters:
- client_id = my-client-id
- client_secret = my-client-secret
- [base-url] = Replace with the correct server URL for the environment you are using (e.g. - https://wmd.xc.wexonl...
Path Parameters
The id for the authorization to fetch
Response
The authorization requested.
Response Attributes
Links to Authorized Transaction (Authorization) related resources
Show child attributes
Siebel row ID of the account this authorization is on.
Authorization action taken (000 - Approved, 101 - Declined Expired Card, ...)
Derived description of authorization action taken
6-digit random value
The primary key / unique identifier of the authorization
Name of the brand owner of the site
Siebel row ID of the purchase device (card) used on this authorization.
The tokenized full 24-digit Primary Account Number (PAN) + Purchase Device Sequence Number (PDSN)
The unit of currency for the authorization (USD, CAD, ...)
Siebel row ID of the driver attached to the card. Present only for driver-type cards.
Show child attributes
Type of authorization request (1100 = pre-auth, 1200 = completion in-store, 1220 = completion outside, ...)
LOCALFOREIGN Show child attributes
Show child attributes
The specific site pump controller / terminal identifier that handles the fuel request
A 2-character alphanumeric string that links the site terminal with a brand (IP = Shell, 83 = Citgo, CZ = Esso, ...)
Gross purchase amount (populated in 1220 message)
Gross purchase amount in Account's currency
Transaction date and time at the point of sale, expressed in the site's local civil time. No time zone offset is included—use this value when you need the time as observed at the merchant site. Format: YYYY-MM-DDTHH:MM:SS (local-date-time).
Date and time when WEX recorded the authorization, in UTC. This is the UTC equivalent of the authorization time in US Eastern Time (America/New_York). Use this value for consistent cross-site ordering and correlation with other WEX systems. Format: YYYY-MM-DDTHH:MM:SSZ (date-time).
Siebel row ID of the vehicle attached to the card. Present only for vehicle-type cards.
400 (Bad Request)
Response Attributes
401 (Unauthorized)
Response Attributes
403 (Forbidden)
Response Attributes
404 (Not Found)
Response Attributes
500 (Internal Server Error)