Wex Health and Benefits APIs

Sections

Theme switcher

Reissue Card

Header Parameters

Idempotency-Keystring Required

Required client-generated UUID v4 used to deduplicate retried mutating requests (POST, PUT, PATCH, DELETE). Requests without this header are rejected with 400 Bad Request. The first successful (2xx) response is cached for 24h and replays of the same key return the cached response without re-executing the operation.

Authorizationstring

Path Parameters

card_system_idstring Required

The Globally Unique Identifier (GUID) for the card.

Response

202
Object

Card replacement request accepted.

Response Attributes

request_idstring Required

A unique identifier for the request.

messagestring Required

Human-readable message describing the operation result.

400
Object

Invalid request or validation error. Possible causes include:

  • Card not in ACTIVE or READY_TO_ACTIVATE status (INVALID_CARD_STATUS)
  • Unsupported provider (UNSUPPORTED_PROVIDER)
  • Temporary card (TEMP_CARD_NOT_ALLOWED)
  • Card pending today (CARD_PENDING_TODAY)
  • Card expired (CARD_EXPIRED)
  • EMV transition blocked (EMV_TRANSITION_BLOCKED)
  • Provider does not support reissue (PROVIDER_NOT_SUPPORTED)
  • Employer setting disabled (EMPLOYER_SETTING_DISABLED)

Response Attributes

typestring | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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. Authentication failed.

Response Attributes

typestring | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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. User does not have permission to request a replacement for this card.

Response Attributes

typestring | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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

Card not found.

Response Attributes

typestring | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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.

409
Object

Conflict. The provided Idempotency-Key has already been used for a previous request. Each unique operation requires a new idempotency key.

Response Attributes

typestring | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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 | null
titlestring | null
statusinteger | null
detailstring | null
instancestring | null
invalid_paramsarray | null

List of invalid parameters that caused the validation error.

Max items
10

Show child attributes

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?

POST

/

Select
1

Response

Was this section helpful?