> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 270

> Wire-ready X12 270 eligibility inquiry

### Path parameters

<ParamField path="partner_id" type="string" required>
  Partner ID
</ParamField>

### Request body

`EligibilityInquiry270`

<ParamField body="inquiry_date" type="string (date)" required>
  BHT04 — inquiry date.
</ParamField>

<ParamField body="payer_id" type="string" required />

<ParamField body="payer_name" type="string" required>
  2100A NM1\*PR — payer name and id (PI).
</ParamField>

<ParamField body="provider_name" type="string" required>
  2100B NM1\*1P — provider name and NPI (XX).
</ParamField>

<ParamField body="provider_npi" type="string" required />

<ParamField body="service_types" type="string[]">
  2110C EQ — service type codes (default `30`, health benefit plan coverage).
</ParamField>

<ParamField body="subscriber" type="Subscriber" required />

<ParamField body="trace_number" type="string" required>
  TRN02 — trace number tying the response back to this inquiry.
</ParamField>

### Response

No response body. Wire-ready X12 270 eligibility inquiry.

### Status codes

| Code  | Meaning                                |
| ----- | -------------------------------------- |
| `200` | Wire-ready X12 270 eligibility inquiry |
| `403` | Not this credential's partner          |
| `422` | Invalid payload or delimiter collision |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://edi.stateset.com/v1/edi/outbound/270/{partner_id}' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "inquiry_date": "2026-08-31",
    "payer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "payer_name": "string",
    "provider_name": "string",
    "provider_npi": "string",
    "service_types": [
      "string"
    ],
    "subscriber": {
      "date_of_birth": "2026-08-31",
      "first_name": "Ada",
      "gender": "string",
      "last_name": "Lovelace",
      "member_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "trace_number": "string"
  }'
  ```
</RequestExample>
