Fleet Management API Beta

Sections

Theme switcher

Get an authorization

Header Parameters

Authorizationstring

Path Parameters

authorization-idstring Required

The id for the authorization to fetch

Min length
1

Response

200
Object

The authorization requested.

Response Attributes

_linksobject

Links to Authorized Transaction (Authorization) related resources

Show child attributes

action_codestring

Authorization action taken (000 - Approved, 101 - Declined Expired Card, ...)

action_code_descriptionstring

Derived description of authorization action taken

auth_approval_codestring

6-digit random value

auth_header_idstring

The primary key / unique identifier of the authorization

brand_owner_namestring

Name of the brand owner of the site

card_numberstring

The tokenized full 24-digit Primary Account Number (PAN) + Purchase Device Sequence Number (PDSN)

currency_codestring

The unit of currency for the authorization (USD, CAD, ...)

driver_first_namestring
driver_last_namestring
itemsarray

Show child attributes

message_type_codestring

Type of authorization request (1100 = pre-auth, 1200 = completion in-store, 1220 = completion outside, ...)

private_site_usagestring
Enum values:
LOCALFOREIGN
promptsarray

Show child attributes

site_detailsobject

Show child attributes

terminal_idstring

The specific site pump controller / terminal identifier that handles the fuel request

terminal_prefixstring

A 2-character alphanumeric string that links the site terminal with a brand (IP = Shell, 83 = Citgo, CZ = Esso, ...)

total_amount_account_basisnumber

Gross purchase amount (populated in 1220 message)

total_amount_merchant_basisnumber

Gross purchase amount in Account's currency

txn_timestamp_sitestring

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).

txn_timestamp_wexstring

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).

400
Object

400 (Bad Request)

Response Attributes

detailed_messagestring
http_statusstring
messagestring
timestampstring
401
Object

401 (Unauthorized)

Response Attributes

detailed_messagestring
http_statusstring
messagestring
timestampstring
403
Object

403 (Forbidden)

Response Attributes

detailed_messagestring
http_statusstring
messagestring
timestampstring
404
Object

404 (Not Found)

Response Attributes

detailed_messagestring
http_statusstring
messagestring
timestampstring
500
Object

500 (Internal Server Error)

Response Attributes

detailed_messagestring
http_statusstring
messagestring
timestampstring
Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?