---
title: Phone KYC - Phone to Income
slug: api-marketplace/phone-kyc-phone-to-income
createdAt: 2024-03-06T17:25:21.751Z
---

## Introduction:

The Income Details Retrieval API assists clients in obtaining their users' income details efficiently. By consuming a customer's Phone Number, PAN, and Name, this API provides estimates of the user's income.

### Key Features

- **Income Estimate**: The API retrieves an estimate of the user's income based on inputs such as Phone Number, PAN, and Name.

### Applications

- **Pre-Filling Use Cases**: This API seamlessly integrates into pre-filling use cases, offering streamlined retrieval of income details for various processes.

### Conclusion

In summary, the Income Details Retrieval API offers a convenient solution for clients to access estimates of their users' income using Phone Number, PAN, and Name inputs. Its seamless application across pre-filling use cases enhances efficiency in income verification processes.

## Sample cURL:

:::CodeblockTabs
preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/phonekyc/phone-to-income' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
    "phoneNumber": "9422025673",
    "pan": "AGIPN1749B",
    "firstName": "SHARAD",
    "lastName": "NALAWAD",
    "dob": "1977-01-15",
    "address": "FLAT NO RASIKA TOWER  MADHA RAOD KURDWADI LAUL-MH",
    "pincode": "413208"
}'
```

production

```curl
curl --location 'https://api.signzy.app/api/v3/phonekyc/phone-to-income' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
    "phoneNumber": "9422025673",
    "pan": "AGIPN1749B",
    "firstName": "SHARAD",
    "lastName": "NALAWAD",
    "dob": "1977-01-15",
    "address": "FLAT NO RASIKA TOWER  MADHA RAOD KURDWADI LAUL-MH",
    "pincode": "413208"
}'
```
:::

## Input Parameters:

| **Parameter** | **Type** | **Description**                | **Mandatory/Optional** |
| ------------- | -------- | ------------------------------ | ---------------------- |
| phoneNumber   | String   | Phone Number of the Individual | Mandatory              |
| firstName     | String   | First Name of the Individual   | Mandatory              |
| lastName      | String   | Last Name of the Individual    | Optional               |
| pan           | String   | PAN Number of the Individual   | Optional               |
| dob           | String   | DOB of the Individual          | Mandatory              |
| address       | String   | Address of the Individual      | Mandatory              |
| pincode       | String   | Pincode of the Individual      | Mandatory              |



## Sample Response:

:::CodeblockTabs
Sample Response

```json
{
	"response": {
		"name": "SHARAD",
		"phone": "9422025673",
		"address": {
			"addressType": [
				"H"
			],
			"address": "FLAT NO RASIKA TOWER  MADHA RAOD KURDWADI LAUL-MH",
			"state": "MH",
			"pincode": "413208"
		},
		"dob": "1977-01-15",
		"id": "AGIPN1749B",
		"incomeNewCustomer": "40121",
		"incomeExistingCustomer": "60412"
	}
}
```
:::

## Output Parameters:

| **Key**                         | **Type** | **Description**                                                         |
| ------------------------------- | -------- | ----------------------------------------------------------------------- |
| response                        | Object   | The main object contains response data.                                 |
| response.name                   | string   | Name of the Individual                                                  |
| response.phone                  | String   | Phone Number of the Individual                                          |
| response.address                | Object   | contains the address object                                             |
| response.address.addressType    | Array    | Contains the Type of Address.<br /><br />Ex: Home (H), Office (O) etc.. |
| response.address.address        | String   | Address of the Individual                                               |
| response.address.state          | String   | State                                                                   |
| response.address.pincode        | String   | Pincode                                                                 |
| response.dob                    | String   | DOB of the Individual                                                   |
| response.id                     | String   | Govt ID of the Individual                                               |
| response.incomeNewCustomer      | String   | Income New Customer                                                     |
| response.incomeExistingCustomer | String   | Income Existing Customer                                                |

## Status Codes:

:::CodeblockTabs
200 OK

```json
{
	"response": {
		"name": "SHARAD",
		"phone": "9422025673",
		"address": {
			"addressType": [
				"H"
			],
			"address": "FLAT NO RASIKA TOWER  MADHA RAOD KURDWADI LAUL-MH",
			"state": "MH",
			"pincode": "413208"
		},
		"dob": "1977-01-15",
		"id": "AGIPN1749B",
		"incomeNewCustomer": "40121",
		"incomeExistingCustomer": "60412"
	}
}
```

404

```json
{
    "error": {
        "reason": "ERROR",
        "status": 404,
        "message": "record not found",
        "type": "Not Found",
        "statusCode": 404,
        "name": "error"
    }
}
```

400

```json
{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": "\"phoneNumber\" is not allowed to be empty",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}
1. "\"phoneNumber\" is not allowed to be empty"
2. "\"firstName\" is not allowed to be empty"
3. "\"pan\" with value \"ADBDE12345\" fails to match the required pattern: /^[a-zA-Z]{5}[0-9]{4}[a-zA-Z]$/"
```

401

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

500

```json
{
    "error": {
        "name": "error",
        "message": "Internal Server Error",
        "status": 500,
        "reason": "ERROR",
        "type": "Internal Server Error",
        "statusCode": 500
    }
}
```
:::

