Get Employment Details
Use this API to to retrieve an individualās recent employment details such as member ID, joining date, and exit date of the company. Verifying the employment information of the individual mitigates risk and prevents fraud. View the test data and use the information to trigger the validations. The test data are usable only in the test environments such as gamma and sandbox.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | SUCCESS | - |
200 | SUCCESS | EMPLOYMENT_DETAILS_NOT_FOUND | Enter the correct information in the request. |
400 | ERROR | provided input combination is not valid | Enter a combination of values that help fetch the employment details. |
400 | ERROR | verification_id can include only alphanum, dot, hyphen and underscores. | Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed. |
400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the request. |
400 | ERROR | x-client-id is missing in the request. | Enter all the header information in the API request. |
401 | ERROR | Invalid clientId and clientSecret combination | Ensure you enter valid x-client-id and x-client-secret information in the API request. |
403 | ERROR | IP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://docs.cashfree.com/docs/ip-whitelisting-verification | Whitelist the IP address. |
409 | ERROR | verification id already exists | Enter a unique verification ID to identify the request. |
422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
500 | ERROR | something went wrong | Try again after some time. |
502 | ERROR | verification attempt failed | Try again after some time. |
Authorizations
Client ID. You can find your ID in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Headers
Send the signature if IP is not whitelisted
Body
Find the request parameters to retrieve employment infomration
It is the unique ID you create to identify the API request. The maximum character limit is 50. Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.
It is the phone number of the employee. (conditonal mandatory)
It is the PAN information of the employee. (conditonal mandatory)
It is the unique number assigned to every employee contributing to the Employees' Provident Fund (EPF).(conditonal mandatory)
It is the date of birth information of the employee. The format is YYYY-MM-DD.Employee date of birth (conditonal mandatory)
It is the name of the employee. (conditonal mandatory)
It is the name of the employer. (conditonal mandatory)
Response
Success response for Get Employment Details
It displays the unique ID you created to identify the verification request.
It displays the unique ID created by Cashfree Payments for reference purposes.
It displays the status of the API request.
It contains the information entered in the API request.
It contains the UAN information.
It contains the employment details of the individual.
Was this page helpful?