---
title: IMEI Validation
slug: affordability/imei-validations
excerpt: Learn how you can validate the IMEI number using Pine Labs Online API.
hidden: false
metadata:
  title: IMEI Validation API for EMI Payments | Pine Labs
  description: >-
    Validate IMEI or serial numbers during EMI transactions with Pine Labs API.
    Block or unblock devices for returns and defaults. Secure loan-based
    purchases with integrated IMEI verification.
  keywords: >-
    imei validation, device verification, serial number check, emi compliance,
    block imei, unblock device, loan security
  robots: index
sidebar_order: 8
---
Integrating with Pine Labs Online, you can now include an IMEI verification flow, enabling merchants to verify product IMEI or serial numbers during the payment. This feature ensures compliance and enhances efficiency by integrating IMEI verification.

You can use this Pine Labs Online IMEI Validation API to `Block` and `Unblock`.

Integrating with IMEI validations allows you to secure operations in EMI or loan-based purchases. IMEI validation ensures that the device associated with the payment is accurately identified and secured. Businesses use IMEI validation to manage processes like unblocking devices during returns or blocking them in cases of payment default.

### IMEI Validation API

Use this API to `Unblock` and `Block` the IMEI number.

Below are the sample requests and sample responses for a IMEI Validation API.

```curl cURL - UAT
curl --request POST \
     --url https://pluraluat.v2.pinepg.in/api/affordability/v1/product/{order_id}/imei \
     --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c' \
     --header 'Content-Type: application/json' \
     --header 'Request-ID: c17ce30f-f88e-4f81-ada1-c3b4909ed235' \
     --header 'Request-Timestamp: 2024-07-09T07:57:08.022Z' \
     --header 'accept: application/json' \
     --data '
{
  "merchant_product_imei_reference": "merchant-ref-786",
  "request_type": "BLOCKING",
  "products": [
    {
      "product_code": "xyz",
      "dealer_code": "DLR100",
      "state_code": "NY",
      "product_imei": "SN1234567863"
    }
  ]
}
'
```
```curl cURL - PROD
curl --request POST \
     --url https://api.pluralpay.in/api/affordability/v1/product/{order_id}/imei \
     --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c' \
     --header 'Content-Type: application/json' \
     --header 'Request-ID: c17ce30f-f88e-4f81-ada1-c3b4909ed235' \
     --header 'Request-Timestamp: 2024-07-09T07:57:08.022Z' \
     --header 'accept: application/json' \
     --data '
{
  "merchant_product_imei_reference": "merchant-ref-786",
  "request_type": "BLOCKING",
  "products": [
    {
      "product_code": "xyz",
      "dealer_code": "DLR100",
      "state_code": "NY",
      "product_imei": "SN1234567863"
    }
  ]
}
'
```
```json Sample Response
{
  "merchant_product_imei_reference": "merchant-ref-786",
  "request_type": "BLOCKING",
  "products": [
    {
      "product_code": "xyz",
      "dealer_code": "DLR100",
      "state_code": "NY",
      "product_imei": "SN1234567863",
      "product_imei_status": "BLOCKED",
      "product_brand_response": {}
    }
  ]
}
```
```json Failure - Sample Response
{
  "merchant_product_imei_reference": "merchant-ref-786",
  "request_type": "BLOCKING",
  "products": [
    {
      "product_code": "xyz",
      "dealer_code": "DLR100",
      "state_code": "NY",
      "product_imei": "SN1234567863",
      "product_brand_response": {
        "code": "PRODUCT_ALREADY_BLOCKED",
        "message": "Product is already blocked"
      }
    }
  ]
}
```

### Brand-Wise Mandatory Fields for IMEI Verification

The table below provides the brand-wise mandatory fields required for IMEI verification.

| Brand                    | Mandatory Fields                                                                                   |
| :----------------------- | :------------------------------------------------------------------------------------------------- |
| VIVO                     | `product_imei` `state_code` `dealer_code` `product_code` |
| OPPO                     | `product_imei` `state_code` `dealer_code` `product_code` |
| NOTHING                  | `product_imei` `dealer_code` `product_code` |
| MOTOROLA                 | `product_imei` `dealer_code` `product_code` |
| ONEPLUS                  | `product_imei` `state_code` `dealer_code` `product_code` |
| TECHNO                   | `product_imei` `state_code` `dealer_code` `product_code` |
| SAMSUNG                  | `product_imei` `product_code` |
| APPLE                    | `product_imei` `product_code` |
| Xiaomi                   | `product_imei` `state_code` `dealer_code` `product_code` |
| Realme                   | `product_imei` `state_code` `product_code` |
| Macbook/Ipad/Apple watch | `product_imei` `product_code` |
| DELL                     | `product_imei` `product_code` |
| HP                       | `product_imei` `product_code` |


> 📘 Note:
>
> - Once the refund request is successfully processed, the product IMEI will also be unblocked in the backend.
> - For a full refund, all IMEIs linked to the product are automatically unblocked. For a partial refund, you must provide the `product_imei` that needs to be unblocked.
> - IMEI validation applies only to brand-specific SKUs.
> - Each SKU can have only one associated IMEI burn.

<br />
