Check if a product is HSA/FSA eligible before creating it
| Parameter | Type | Required | Description |
|---|---|---|---|
upc_code_or_gtin | string | No* | UPC or GTIN barcode |
product_name | string | No* | Product name |
upc_code_or_gtin or product_name must be provided. UPC is more accurate.
| Field | Type | Description |
|---|---|---|
hsa_fsa_eligible | boolean | Whether product is HSA/FSA eligible |
eligibility_type | enum | Type of eligibility (see below) |
reason | string | Explanation of eligibility status |
checked_at | timestamp | When eligibility was checked |
| Type | Description | Example Products |
|---|---|---|
auto_substantiation | Automatically eligible via SIGIS | Thermometers, bandages, blood pressure monitors |
dual_purpose | Eligible with LMN (Letter of Medical Necessity) | Vitamins, supplements (requires doctor’s note) |
vision | Vision care products | Prescription glasses, contact lenses |
rx | Prescription required | Prescription medications and devices |
| Status Code | Error Code | Description |
|---|---|---|
| 400 | invalid_request | Missing both UPC and product name |
| 401 | unauthorized | Invalid or missing API key |
| 422 | validation_error | Invalid UPC format |
| 429 | rate_limit_exceeded | Too many requests |