Skip to main content
Version: 1.7.3

Get Benefit

Get Benefit

Use this endpoint to retrieve the full details of a single benefit by its ID.

Key Points

  • Depends on — a benefit_id from POST /benefits or GET /benefits.
  • mdv_pre — for an mdv_pre benefit, insurance_type is also included in the response.
GET benefits/{benefit_id} 

Header Parameters

FieldTypeDescription
AuthorizationstringRequired. Bearer token obtained from the Auth endpoint. Format: Bearer <access_token>.
X-TaxBandits-VersionstringAPI version string. Use 1.0.0.

Query Parameters

FieldTypeDescription
entity_idsstringThe organization ID. Must be exactly one UUID.

Path Parameters

FieldTypeDescription
benefit_idstringThe benefit UUID from the create or list endpoints.

Response Body

FieldTypeDescription
statusstringSUCCESS or FAILURE.
status_codenumberHTTP-style status code (e.g. 200, 400).
messagestringHuman-readable status message.
responseobjectThe benefit details.
   benefit_idstringBenefit UUID.
   typestringThe benefit type value (see Supported Benefit Types).
   descriptionstringHuman-readable description of the benefit.
   frequencystringDeduction frequency (e.g. every_paycheck).
   effective_datestringEffective date of the benefit (YYYY-MM-DD).
   insurance_typestringIncluded only for mdv_pre benefits. One of MEDICAL, DENTAL, VISION.

Request

GET benefits/e8b90071-0c11-471c-86e8-e303ef2f6782?entity_ids=519a84f4-5e56-496a-82f3-18f51fdf3d75
Header: X-TaxBandits-Version: 1.0.0

Response Json

SampleDescriptionAction
200
Success Response - This is a sample response for successful API requests.
400
Bad Request Response - You'll get the below response when entity_ids or benefit_id is missing or invalid.
404
Not Found Response - You'll get the below response when no benefit matches the supplied benefit_id.
{
"status": "SUCCESS",
"status_code": 200,
"message": "Request processed successfully",
"response": {
"benefit_id": "e8b90071-0c11-471c-86e8-e303ef2f6782",
"type": "401k",
"description": "Employee Retirement Plan",
"frequency": "every_paycheck",
"effective_date": "2025-01-01"
}
}