Wex Health and Benefits APIs

Sections

Theme switcher

Put Provider

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

person_idstring Required

The GUID generated by the Identity Management System for this person.

Path Parameters

idstring Required

The public GUID (PayeeExternal_guid) identifying the provider record to update. Never exposes the internal payee_id.

Body Parameters

accessibleboolean Required

Whether the provider is accessible/active for the participant. Required — send true to keep active, false to deactivate.

account_numberstring

The participant's account number with the provider. Optional — send null (or omit) to clear the existing value. Max 32 characters; allowed: letters, digits, spaces, and , . -.

Max length
32
address_line1string Required

Provider address line 1. Required; max 128 characters. Serialized as address_line1 by the global SnakeCaseLower naming policy.

Max length
128
address_line2string

Provider address line 2. Optional; max 128 characters. Send null (or omit) to clear the existing value.

Max length
128
address_line3string

Provider address line 3. Optional; max 128 characters. Send null (or omit) to clear the existing value.

Max length
128
citystring Required

Provider city. Required; max 128 characters.

Max length
128
statestring Required

Two-character US state/territory code (e.g., "AL"). Required; must be an active code from the state-codes list. The pattern only checks shape — the service validates against the active list and rejects unknown codes with 400.

Min length
2
Max length
2
zipstring Required

Provider postal/zip code. Required; must match ^\d{5}(-\d{4})?$.

Max length
10

Response

200
Object

Provider successfully updated.

Response Attributes

payee_idstring

The public identifier for the payee — the GUID from dbo.PayeeExternal (PayeeExternal_guid). This is returned instead of the internal payee_id primary key to avoid exposing internal IDs.

namestring

The display name of the provider.

account_numberstring

The account number associated with the provider.

address_line1string

First line of the provider's mailing address.

address_line2string

Second line of the provider's mailing address.

address_line3string

Third line of the provider's mailing address.

citystring

City of the provider's mailing address.

statestring

State/province code of the provider's mailing address.

zipstring

ZIP/postal code of the provider's mailing address.

accessibleboolean

Whether the provider record is accessible/active.

provider_idstring

External provider identifier string (e.g. NPI).

provider_tinstring

Provider Tax Identification Number.

400
Object

Invalid request body or missing required fields.

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. Authentication failed or identity could not be verified.

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. Person not authorized or identity could not be verified.

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

Provider 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

PUT

/

Select
1

Response

Was this section helpful?