Customer Data Pull API

This API is used to fetch customer data using their name and mobile or an ID document

🙌

Important Note

Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.

API Endpoints

Decentro provides the capability for businesses to fetch data of their customers using mobile number and full name to simplify onboarding and reduce drop-offs.

Please note that not always the customer might be found in our database.

Supported Documents

Supported documents for document_type parameter are Aadhaar, Driving_License, PAN, Passport, VoterID.

Refer here for Data Pull Documentation

Response Key Description

KeyData TypeDescription
decentroTxnIdStringTransaction ID generated by Decentro for tracking the request.
statusStringOverall status of the request (e.g., "SUCCESS" or "FAILURE").
responseCodeStringSystem-defined response code indicating the result of the request (e.g., "S00000" for success).
messageStringMessage providing additional information about the API response status.
dataObjectPrimary container holding the detailed response payload.
reportOrderNumberStringUnique reference number generated for the data report retrieval.
personalInfoObjectContainer for personal demographic information of the individual.
fullNameStringFull name of the individual as per Bureau records.
dobStringDate of birth of the individual (Format: YYYY-MM-DD)
genderStringGender of the individual :["Male", "Female"]
totalIncomeStringTotal income value associated with the individual (if available in records else "")
occupationStringOccupation of the individual (if available in records else "")
ageStringAge of the individual derived from date of birth.
phoneInfoArray of ObjectsList of phone records associated with the individual.
phoneInfo.sequenceStringUnique sequence identifier for each phone record.
phoneInfo.reportedDateStringDate on which the phone number was reported or last updated (Format: YYYY-MM-DD)
phoneInfo.typeCodeStringType of phone number (H = Home, M = Mobile, T = Telephone/Other).
phoneInfo.numberString10-digit Phone number associated with the individual.
emailInfoArray of ObjectsList of email records associated with the individual.
emailInfo.sequenceStringUnique sequence identifier for each email record.
emailInfo.reportedDateStringDate on which the email address was reported or last updated (Format: YYYY-MM-DD)
emailInfo.emailAddressStringEmail ID associated with the individual.
identityInfoObjectContainer for government-issued identity details linked to the individual.
identityInfo.panNumberArray of ObjectsList containing PAN details.
identityInfo.panNumber.idNumberStringPermanent Account Number (PAN) of the individual.
identityInfo.panNumber.sequenceStringSequence identifier for the PAN record.
identityInfo.passportNumberArray of ObjectsList containing passport numbers linked to the individual.
identityInfo.passportNumber.idNumberStringPassport number of the individual.
identityInfo.passportNumber.sequenceStringSequence identifier for the passport record.
identityInfo.drivingLicenseArrayList containing driving license details (empty if not available).
identityInfo.voterIdArrayList containing voter ID details (empty if not available).
identityInfo.aadhaarNumberArray of ObjectsList containing masked Aadhaar numbers linked to the individual.
identityInfo.aadhaarNumber.idNumberStringMasked Aadhaar number (partially hidden for security compliance).
identityInfo.aadhaarNumber.sequenceStringSequence identifier for the Aadhaar record.
identityInfo.rationCardArrayList containing ration card details (empty if not available).
identityInfo.otherIdArrayList containing any additional identity documents (empty if not available).
addressInfoArray of ObjectsList of address records associated with the individual.
addressInfo.sequenceStringUnique sequence identifier for each address record.
addressInfo.addressStringFull address of the individual as available in records.
addressInfo.stateStringState corresponding to the address.
addressInfo.typeStringAddress classification (e.g., Primary, Permanent).
addressInfo.postalStringPostal code (PIN code) of the address.
addressInfo.reportedDateStringDate on which the address was reported or last updated (Format: YYYY-MM-DD)
responseKeyStringResponse identifier indicating successful/failed customer data pull.

Response Key Mapping

The below mentioned response keys will be passed as part of the Customer Data Pull API.

Response KeyScenario
success_customer_data_pullCustomer data pulled successfully
error_decentro_errorInternal Server Error. Kindly retry the transaction after sometime
error_provider_errorUnexpected response received from the underlying provider.
error_empty_module_secretAn empty module secret was passed.
error_invalid_module_secretAn invalid module secret was passed
error_empty_consentConsent cannot be null or empty. Hint: consent (boolean)
error_invalid_consentConsent should be of boolean type. Hint: consent (boolean)
error_false_consentConsent cannot be false. Hint: consent (boolean)
error_malformed_requestA malformed JSON request was passed.
error_unsanitized_valuesUnsanitized values detected for key(s)
error_empty_nameName cannot be null or empty. Hint: name (string).
error_duplicate_reference_idDuplicate Request Reference ID
error_module_credits_exhaustedYou have consumed your credits. Please connect with our team on [email protected] for credit renewal.
error_unauthorized_moduleAuthorization failed for accessing the module
error_no_subscription_foundNo subscription details found for this module. Please subscribe this module to access the APIs.
error_empty_mobileMobile Number cannot be null or empty. Hint: mobile (string)
error_unauthorized_providerProvider Not Authorized For Company
error_unexpected_responseUnexpected response received from underlying provider.
Language
Response
Click Try It! to start a request and see the response here!