KYC & Onboarding - Response Keys
This page gives an overview of all the response keys passed by Decentro under the KYC & Onboarding module.
KYC - Generic Response Keys
The below mentioned response keys pertain to all the APIs under the KYC & Onboarding module.
| Response Key | Scenario |
|---|---|
| error_decentro_error | Something wrong happened at Decentro level |
| error_missing_configuration | Plan not configured for the company |
| error_empty_module_secret | Empty module secret was passed |
| error_no_subscription_found | Company not subscribed to this module |
| error_unauthorized_module | Authentication failed for this module |
| error_module_access_expired | Module subscription has expired |
| error_module_credits_exhausted | Module credits exhausted for the company |
| error_malformed_request | Malformed JSON request was passed |
| error_duplicate_reference_id | Duplicate reference id was passed in the request |
| error_ip_not_configured | IP not configured to access CKYC API |
| error_insufficient_account_balance | Insufficient account balance to access CKYC API |
| error_invalid_endpoint | Invalid API endpoint was passed |
| error_empty_reference_id | Empty reference_id was passed |
| error_invalid_consent_type | Invalid consent type was passed |
| error_invalid_purpose | Invalid consent purpose was passed |
| error_empty_purpose | Empty purpose was passed |
| error_consent_false | False consent was passed |
| error_short_purpose_length | Short purpose length was passed |
| error_long_purpose_length | Long purpose length was passed |
| error_provider_error | Provider responded with a failure |
| error_unexpected_response | Unexpected response received from the provider |
| error_invalid_reference_id | Invalid reference_id was passed |
CKYC Services
| Response Key | Scenario |
|---|---|
| error_invalid_perform_ocr | Invalid perform_ocr value was passed |
| error_invalid_auth_factor | Invalid auth_factor value was passed |
| error_invalid_auth_factor_type | Invalid auth_factor_type value was passed |
| error_empty_auth_factor_type | Empty auth_factor_type was passed |
| error_invalid_auth_factor_type_value | Invalid auth_factor_type value was passed |
| error_empty_auth_factor | Empty auth_factor was passed |
| error_invalid_ckyc_id | Invalid CKYC ID was passed |
| error_invalid_dob | Invalid dob was passed |
| error_invalid_pincode_yob | Invalid Pin Code and YOB value was passed |
| error_invalid_mobile | Invalid mobile number was passed |
| success_ckyc_download | CKYC Download was successful |
| success_ckyc_search | CKYC Search was successful |
| error_empty_document_type | Empty document_type was passed |
| error_invalid_document_type | Invalid document_type was passed |
| error_invalid_id_number | Invalid id_number was passed |
| error_invalid_document_id | Unsupported or invalid document_type was passed |
| error_invalid_pan | Invalid PAN was passed in id_number |
| error_invalid_driving_license | Invalid DL was passed in id_number |
| error_empty_id_number | Empty id_number was passed |
| error_no_record_found | No CKYC record was found |
| error_ckyc_not_authorized | Client not authorized to access CKYC API |
| success_initiate_bulk_upload | Successful initiation of the Upload Batch Process |
| success_bulk_upload_status_extracted | Successful retrieval of the status of a Upload Batch Process |
| success_bulk_upload_entity_status_extracted | Successful retrieval of the status of a Upload Batch Process that includes legal entities |
DigiLocker
| Response Key | Scenario |
|---|---|
| error_no_digilocker_account | The user is not on DigiLocker |
| error_no_mobile_with_aadhaar | Aadhaar does not have verified mobile number |
| error_uidai_error | No response received from UIDAI |
| error_no_data_found | No data found |
| error_no_aadhaar_linked | Aadhaar is not linked to DigiLocker |
| error_digilocker_locked | DigiLocker account locked for 1 hour |
| success_issued_files | Issue files fetched successfully |
| error_invalid_transaction_id | Invalid initial transaction id was passed |
| error_empty_transaction_id | Empty initial transaction id was passed |
| success_file_download | File downloaded successfully from DigiLocker |
| error_empty_file_urn | Empty file urn was passed |
| error_invalid_file_urn_type | Invalid file urn type was passed |
| error_invalid_file_urn | Invalid file urn was passed |
| success_initiate_session | Session initiated successfully |
| error_empty_redirect_url | Empty redirect url was passed |
| error_invalid_redirect_url | Invalid redirect url was passed |
| success_access_token | Access toke generated successfully |
| error_empty_digilocker_code | Empty digilocker_code was passed |
| error_invalid_digilocker_code | Invalid digilocker_code was passed |
| error_invalid_auth_code | Invalid or expired auth_code was passed |
| success_eaadhaar_download | eAadhaar downloaded successfully |
| error_empty_generate_xml | Empty generate_xml was passed |
| error_invalid_generate_xml | Invalid generate_xml was passed |
| error_empty_generate_pdf | Empty generate_pdf was passed |
| error_invalid_generate_pdf | Invalid generate_pdf was passed |
| error_no_record_found | No record found in DigiLocker |
Validate
| Response Key | Scenario |
|---|---|
| error_no_record_found | No record found |
| error_invalid_gstin | Invalid GSTIN number was passed |
| error_empty_id_number | Empty id_number was passed |
| error_invalid_pan | Invalid PAN was passed in id_number |
| error_invalid_cin | Invalid CIN was passed in id_number |
| error_invalid_din | Invalid DIN was passed in id_number |
| error_invalid_rc_number | Invalid RC Number was passed in id_number |
| error_bad_inputs | Bad inputs were passed |
| error_empty_name | Empty name parameter was passed for document_type passport |
| error_empty_last_name | Empty last name was passed for document_type passport |
| error_empty_dob | Empty dob parameter was passed for document_type Passport |
| error_empty_expiry_date | Empty expiry_date was passed for document_type Passport |
| error_invalid_gender | Empty gender was passed for document_type Passport |
| error_invalid_passport_type | Invalid passport type was passed |
| error_malformed_request | Malformed request body was passed |
| error_invalid_dob_name | Invalid Name and DOB were passed for document_type Passport |
| error_invalid_full_name | Empty full_name was passed for document_type Passport |
| error_invalid_dob | Invalid DOB was passed |
| error_invalid_fssai_number | Invalid FSSAI number was passed in id_number for document_type FSSAI |
| error_invalid_uam_number | Invalid UAM number was passed in id_number for document_type Udyam |
| error_kyc_check_failed | KYC check failed |
| error_invalid_document_type | Invalid value was passed in document_type |
| error_empty_document_type | Empty value was passed in document_type |
| error_invalid_id_number | Invalid/Unsupported id_number value was passed |
| error_empty_id_number | Empty value was passed in id_number |
| error_invalid_name | Invalid value was passed in name for document_type Passport |
| error_invalid_voter_id | Invalid Voter ID number was passed in id_number for document_type VOTERID |
| success_pan | PAN validated successfully |
| success_driving_license | Driving License validated successfully |
| success_rc | RC validated successfully |
| success_gstin | GSTIN validated successfully |
| success_voterid | Voter ID validated successfully |
| success_udyog_aadhaar | Udyog Aadhaar validated successfully |
| success_fssai | FSSAI validated successfully |
| success_cin | CIN validated successfully |
| success_din | DIN validated successfully |
| success_fcrn | FCRN validated successfully |
| success_fllpin | FLLPIN validated successfully |
| success_llpin | LLPIN validated successfully |
Validate History
| Response Key | Scenario |
|---|---|
| success_kyc_history | Validate history successfully fetched |
| error_empty_from_date | Empty value was passed in from_date |
| error_invalid_from_date | Invalid value was passed in from_date |
| error_empty_to_date | Empty value was passed in to_date |
| error_invalid_to_date | Invalid value was passed in to_date |
| error_invalid_date_range | Invalid date_range was passed. to_date cannot be earlier than from_date |
| error_invalid_kyc_status | Invalid KYC Validate status |
Hyperstreams - Generic Response Keys
The below mentioned response keys pertain to all the APIs under the Hyperstreams module.
| Response Key | Scenario |
|---|---|
| error_decentro_error | Something wrong happened at Decentro level |
| error_missing_configuration | Plan not configured for the company |
| error_empty_module_secret | Empty module secret was passed |
| error_no_subscription_found | Company not subscribed to this module |
| error_unauthorized_module | Authentication failed for this module |
| error_module_access_expired | Module subscription has expired |
| error_module_credits_exhausted | Module credits exhausted for the company |
| error_malformed_request | Malformed JSON request was passed |
| error_duplicate_reference_id | Duplicate reference id was passed in the request |
| error_ip_not_configured | IP not configured to access API |
| error_insufficient_account_balance | Insufficient account balance to access API |
| error_invalid_endpoint | Invalid API endpoint was passed |
| error_empty_reference_id | Empty reference_id was passed |
| error_invalid_consent_type | Invalid consent type was passed |
| error_invalid_purpose | Invalid consent purpose was passed |
| error_empty_purpose | Empty purpose was passed |
| error_consent_false | False consent was passed |
| error_short_purpose_length | Short purpose length was passed |
| error_long_purpose_length | Long purpose length was passed |
| error_provider_error | Provider responded with a failure |
| error_unexpected_response | Unexpected response received from the provider |
| error_invalid_reference_id | Invalid reference_id was passed |
Updated 20 days ago
Did this page help you?
