# IMEI Validation

**Method:** `POST`

**Path:** `/api/affordability/v1/product/{order_id}/imei`

**Category:** Affordability Suite

**Authentication:** Required

## Description

Validate or block/unblock IMEI numbers for Brand EMI transactions.
Used to confirm the device is eligible for the selected EMI program.


## Path Parameters

- `order_id` (`string`) **required** — Unique Pine Labs order identifier.

## Request Body

Content-Type: `application/json`

- `merchant_product_imei_reference` (`string`) **required** — **Idempotency Key.** Merchant product IMEI reference. Duplicate requests with the same `merchant_product_imei_reference` will return the existing result instead of creating a new one.
- `request_type` (`BLOCKING | UNBLOCKED`) **required** — IMEI request type.
- `products` (`IMEIProduct[]`) **required** — Array of product details for IMEI validation.
  - `product_code` (`string`) — Unique product identifier.
  - `dealer_code` (`string`) — Unique identifier for the dealer.
  - `state_code` (`string`) — State code.
  - `product_imei` (`string`) — The unique IMEI number of the product.


### Example Request

```json
{
  "merchant_product_imei_reference": "merchant-ref-786",
  "request_type": "BLOCKING",
  "products": [
    {
      "product_code": "xyz",
      "dealer_code": "DLR100",
      "state_code": "NY",
      "product_imei": "SN1234567863"
    }
  ]
}
```

## Responses

- `207` — Multi-Status — IMEI validation results per product.

---

Reference: https://localhost:3000/api/affordability-suite/create-imeivalidation
