Wex Health and Benefits APIs

Sections

Theme switcher

List Bank Accounts

Header Parameters

X-Request-Idstring

Optional correlation ID associated with the request.

Query Parameters

consumer_idstring Required

The consumer (person ID) to retrieve bank accounts for

account_usestring

An optional parameter that filters the bank accounts by their use. Valid values are: UNSPECIFIED, DIRECT_DEPOSIT, REIMBURSEMENT_DEBIT_CARD, VEBA_WITHDRAWALS, OTHER, HSA_CONTRIBUTION, HSA_DISTRIBUTION.

include_addressboolean

An optional parameter that includes bank account addresses in the response. Default is false.

Response

200
Object

The request was successful, and a list of bank accounts (which may be empty) is returned.

Response Attributes

itemsarray Required

Show child attributes

total_countinteger Required

The total number of bank accounts in the result set

400
Object

Invalid request or validation error

Response Attributes

typestring
titlestring
statusinteger
detailstring
instancestring
errorsobject

Human-readable validation error messages keyed by field name. Each key maps to one or more error message strings.

validation_errorsobject

Field-level validation errors keyed by field name. Each key maps to one or more structured error details.

404
Object

The person with the specified person_id was not found.

Response Attributes

typestring
titlestring
statusinteger
detailstring
instancestring
errorsobject

Human-readable validation error messages keyed by field name. Each key maps to one or more error message strings.

validation_errorsobject

Field-level validation errors keyed by field name. Each key maps to one or more structured error details.

500
Object

Internal server error.

Response Attributes

typestring
titlestring
statusinteger
detailstring
instancestring
errorsobject

Human-readable validation error messages keyed by field name. Each key maps to one or more error message strings.

validation_errorsobject

Field-level validation errors keyed by field name. Each key maps to one or more structured error details.

default
Object

Unexpected error

Response Attributes

typestring
titlestring
statusinteger
detailstring
instancestring
errorsobject

Human-readable validation error messages keyed by field name. Each key maps to one or more error message strings.

validation_errorsobject

Field-level validation errors keyed by field name. Each key maps to one or more structured error details.

Was this section helpful?

Base URL

Production:

Sandbox:

Language Box

GET

/

Select
1

Response

Was this section helpful?