Wex Health and Benefits APIs

Sections

Theme switcher

List Hsa Contribution Summaries

Header Parameters

X-Request-Idstring

Optional correlation ID associated with the request, comprised of alphanumeric or hyphen characters up to 36 characters in length.

Query Parameters

employer_idarray

Restricts results to the given employers. Repeat the parameter to select several. Every value is validated against the calling partner's authorized employer set, and a value outside it fails the request with 403.

Show child attributes

participant_identifierstring

Restricts results to a single participant. The identifier is assigned by the employer and is not unique across employers, so employer_id must be supplied alongside it; otherwise the request fails with 400.

Max length
64
hsa_account_idstring

Restricts results to a single custodian-issued HSA account identifier.

Max length
64
employment_statusstring

Restricts results to participants with this employment status as of the snapshot, for example Active.

Max length
64
account_statusstring

Restricts results to accounts with this status as of the snapshot, for example Open.

Max length
64
is_irs_limit_risk_flagboolean

Restricts results to participants flagged as at risk of exceeding their IRS contribution limit (true) or not flagged (false).

is_zero_contribution_flagboolean

Restricts results to participants with no contributions recorded for the current tax year (true) or with at least one contribution (false).

pageinteger

Zero-based page index.

page_sizeinteger

Maximum number of rows to return per page (1-100).

Minimum
1
Maximum
100

Response

200
Object

Contribution summaries retrieved successfully

Response Attributes

itemsarray Required

The contribution summaries for this page.

Show child attributes

paginationobject Required

Show child attributes

400
Object

Bad Request – Validation failed. The errors map keys mirror the snake_case JSON property names used in the request payload.

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.

401
Object

Unauthorized – Missing or invalid credentials.

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.

403
Object

Forbidden – Insufficient permissions.

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

Not Found – Employee record does not exist.

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?