---
title: Employee PF Verification
slug: api-marketplace/employee-pf-verification
createdAt: 2024-01-18T12:08:35.284Z
---

## Introduction:



### cURL

:::CodeblockTabs
Pre-Production

```json
curl --location 'https://api-preproduction.signzy.app/api/v3/underwriting/verify-employee-PF' \
--header 'Content-Type: application/json' \
--header 'Authorization: '<Auth-Token>' \
--data '{
    "companyName": "<company-name>",
    "employeeName": "<employee-name>",
    "pfCheckYear": "<pf-check-year>"
}'
```

Production

```json
curl --location 'https://api.signzy.app/api/v3/underwriting/verify-employee-PF' \
--header 'Content-Type: application/json' \
--header 'Authorization: '<Auth-Token>' \
--data '{
    "companyName": "<company-name>",
    "employeeName": "<employee-name>",
    "pfCheckYear": "<pf-check-year>"
}'
```
:::

### Request Headers:

| Key           | Value            |
| ------------- | ---------------- |
| Authorization | shared by Signzy |
| Content-type  | application/json |

### Request Body

```json
{
  "companyName": "",
  "employeeName": "",
  "pfCheckYear": ""
}
```

| PARAMETERS   | DESCRIPTION          | TYPE                | VALUE (COMPULSORY OR OPTIONAL) |
| ------------ | -------------------- | ------------------- | ------------------------------ |
| companyName  | Name of the company  | String (min 4 char) | COMPULSORY                     |
| employeeName | Name of the employee | String              | COMPULSORY                     |
| pfCheckYear  | The PF check Year    | String              | COMPULSORY                     |

### Response Data

:::CodeblockTabs
200 OK

```json
{
    "result": {
        "employeeName": [
            "***** *****"
        ],
        "employeesCount": 1,
        "employerName": "Signzy Technologies Private Limited",
        "establishmentId": "PUPUN*******000",
        "status": true
    }
}
```
:::

In the response we would an array of objects, where each object details are as follows:

| PARAMETERS       | DESCRIPTION                                                                         | TYPE             | VALUE (COMPULSORY OR OPTIONAL) |
| ---------------- | ----------------------------------------------------------------------------------- | ---------------- | ------------------------------ |
| employeeName     | Name of all the employees matching with the employeeName passed in the input        | Array of Strings | COMPULSORY                     |
| employeesCount   | The count of employees found out matching with the employeeName passed in the input | Intger           | COMPULSORY                     |
| nameemployerName | Name of the employer                                                                | String           | COMPULSORY                     |
| establishmentId  | The establishment Id of the organization/employeer                                  | String           | COMPULSORY                     |
| status           | Returns the status,true/false                                                       | Boolean          | COMPULSORY                     |

NOTE: Above fields are Compulsory during 200 OK Response.&#x20;

### Sample Status Codes And Messages

:::CodeblockTabs
200 OK

```json
{
    "result": {
        "employeeName": [
            "***** *****"
        ],
        "employeesCount": 1,
        "employerName": "Signzy Technologies Private Limited",
        "establishmentId": "PUPUN*******000",
        "status": true
    }
}

1. When valid companyName, employeeName and pfCheckYear is passed.
```

400

```json
{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": "\"companyName\" is not allowed to be empty",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}

{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": "\"employeeName\" is not allowed to be empty",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}

{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": "\"pfCheckYear\" is not allowed to be empty",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}

{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": " PfCheckYear value should be within 10 years range.",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}

1. 'uan' is not allowed to be empty.
2. 'employerName' is not allowed to be empty.
3. 'pfCheckYear' is not allowed to be empty.
4. If the pfCheckYear doesn't fall within the range.
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error",
        "status": 409,
        "message": "Unable to fetch data from upstream",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}

1. Something went wrong. please try again.
2. Unable to fetch data from upstream
2. Invalid request. Please check Token and/or Data.
```
:::

