post https://sandbox.cashfree.com/verification/voter-id
Use this API to verify the authenticity of your customer's voter ID. You need to enter the Electoral Photo Identity Card (EPIC) number and we retrieve complete details including assembly and parliamentary constituency details. 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 | Valid voter ID | - |
200 | SUCCESS | Invalid voter ID | - |
400 | ERROR | verification_id is missing in the request | Enter a valid verification_id in the request. |
400 | ERROR | verification_id can include only alphanum, dot, hyphen, and underscores. | Enter a valid verificationid that includes only alphanumeric, period (.), hyphen (-), and underscore ( ). |
400 | ERROR | epic_number is missing in the request. | Enter a valid EPIC number which is the unique identification number assigned to each voter ID. |
400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the 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 verificationid that includes only alphanumeric, period (.), hyphen (-), and underscore ( ). |
422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
500 | ERROR | something went wrong | Try again after some time. |
500 | ERROR | verification attempt failed | Try again after some time. |