Wex Health and Benefits APIs

Sections

Theme switcher

Delete Expense

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 UUID of the person requesting deletion.

Path Parameters

expense_idstring Required

The public UUID of the expense (ConsumerTrackedExpenseNbr).

Response

200
Object

OK

Response Attributes

expense_idstring

The public UUID of the deleted expense (ConsumerTrackedExpenseNbr).

removedboolean

Always true on success.

removed_atstring

UTC timestamp of when the expense was marked as deleted.

removed_expense_amountnumber

The amount of the removed expense, so the caller can adjust totals client-side.

401
Object

Unauthorized

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

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.

409
Object

Conflict

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

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

DELETE

/

Select
1

Response

Was this section helpful?