Credit Report API

🙌

Important Note

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

API Endpoints

Generate and fetch a credit report using the applicant’s name and mobile number and PAN along with the bureau_code of the bureau you want to pull the report from. Based on the request payload, Decentro routes the request to the relevant bureau report in the backend.

Note: Decentro recommends using all the parameters for higher accuracy.

📘

Important Note: Customer Full Name

Please ensure that the customer's full name, as per their official documents or credit bureau records, is provided in the request. Passing only the first name or an incomplete name may result in a "Consumer Not Found" response or unsuccessful data retrieval.


Response Key Description

KeyDescription
decentroTxnIdTransaction ID generated by Decentro for tracking the request.
statusOverall status of the request (e.g., "SUCCESS" or "FAILURE").
responseCodeSystem-defined response code indicating the result of the request (e.g., "S00000" for success).
messageMessage providing additional information about the API response status.
responseKeyResponse identifier indicating the success or failure of the request.
dataPrimary container holding the detailed response payload.
reportOrderNumberUnique reference number generated for the credit report retrieval.
cCRResponseContainer holding the Consumer Credit Report (CCR) returned by the bureau.
cCRResponse.statusStatus of the credit report returned by the bureau.
cIRReportDataLstList of Credit Information Report (CIR) records returned by the bureau.
cIRReportDataLst.cIRReportDataContainer holding a single Credit Information Report.
cIRReportDataLst.errorContainer holding the error details returned when no report could be generated.
cIRReportDataLst.error.errorCodeError code returned by the bureau for the request.
cIRReportDataLst.error.errorDescDescription of the error returned by the bureau for the request.
iDAndContactInfoContainer for the identity and contact details of the individual.
personalInfoContainer for personal demographic information of the individual.
nameContainer for the name of the individual as held in Bureau records.
name.fullNameFull name of the individual as per Bureau records.
name.firstNameFirst name of the individual.
name.middleNameMiddle name of the individual (if available in records else "").
dateOfBirthDate of birth of the individual (Format: YYYY-MM-DD)
genderGender of the individual :["Male", "Female"]
ageContainer for the age of the individual.
age.ageAge of the individual in years.
totalIncomeTotal income value associated with the individual (if available in records else "").
phoneInfoList of phone records associated with the individual.
phoneInfo.seqUnique sequence identifier for each phone record.
phoneInfo.typeCodeType of phone number (H = Home, M = Mobile, T = Telephone, O = Office).
phoneInfo.reportedDateDate on which the phone number was reported or last updated (Format: YYYY-MM-DD)
phoneInfo.numberPhone number associated with the individual, including country code.
emailAddressInfoList of email records associated with the individual (empty if not available).
emailAddressInfo.seqUnique sequence identifier for each email record.
emailAddressInfo.reportedDateDate on which the email address was reported or last updated (Format: YYYY-MM-DD)
emailAddressInfo.emailAddressEmail ID associated with the individual.
addressInfoList of address records associated with the individual.
addressInfo.seqUnique sequence identifier for each address record.
addressInfo.reportedDateDate on which the address was reported or last updated (Format: YYYY-MM-DD)
addressInfo.addressFull address of the individual as available in records.
addressInfo.stateState code corresponding to the address.
addressInfo.postalPostal code (PIN code) of the address.
addressInfo.typeAddress classification (e.g., Permanent, Residence, Office).
identityInfoContainer for government-issued identity details linked to the individual.
identityInfo.pANIdList containing PAN details (empty if not available).
identityInfo.pANId.seqSequence identifier for the PAN record.
identityInfo.pANId.idNumberPermanent Account Number (PAN) of the individual.
identityInfo.pANId.reportedDateDate on which the PAN was reported or last updated (Format: YYYY-MM-DD)
identityInfo.nationalIDCardList containing national ID card details (empty if not available).
identityInfo.nationalIDCard.seqSequence identifier for the national ID record.
identityInfo.nationalIDCard.idNumberNational ID card number of the individual.
identityInfo.nationalIDCard.reportedDateDate on which the national ID was reported or last updated (Format: YYYY-MM-DD)
identityInfo.otherIdList containing any additional identity documents (empty if not available).
identityInfo.otherId.seqSequence identifier for the other ID record.
identityInfo.otherId.idNumberIdentification number of the other document.
identityInfo.otherId.reportedDateDate on which the other ID was reported or last updated (Format: YYYY-MM-DD)
retailAccountDetailsList of credit accounts (tradelines) held by the individual.
retailAccountDetails.seqUnique sequence identifier for each account record.
retailAccountDetails.accountNumberMasked account number of the credit account.
retailAccountDetails.institutionName of the lending institution reporting the account.
retailAccountDetails.accountTypeType of credit account (e.g., Credit Card, Auto Loan, Personal Loan).
retailAccountDetails.ownershipTypeOwnership of the account (e.g., Individual, Joint, Guarantor).
retailAccountDetails.balanceCurrent outstanding balance on the account.
retailAccountDetails.pastDueAmountAmount currently overdue on the account.
retailAccountDetails.lastPaymentLast payment reported on the account.
retailAccountDetails.openWhether the account is currently open :["Yes", "No"]
retailAccountDetails.sanctionAmountAmount sanctioned by the lender for the account.
retailAccountDetails.highCreditHighest credit amount extended on the account.
retailAccountDetails.creditLimitCredit limit set on the account (if available in records else "").
retailAccountDetails.lastPaymentDateDate of the last payment made on the account (Format: YYYY-MM-DD)
retailAccountDetails.dateReportedDate on which the account was last reported to the bureau (Format: YYYY-MM-DD)
retailAccountDetails.dateOpenedDate on which the account was opened (Format: YYYY-MM-DD)
retailAccountDetails.dateClosedDate on which the account was closed (Format: YYYY-MM-DD) (empty if the account is open).
retailAccountDetails.interestRateRate of interest applicable on the account.
retailAccountDetails.repaymentTenureRepayment tenure of the account in months.
retailAccountDetails.installmentAmountInstalment amount payable on the account.
retailAccountDetails.termFrequencyFrequency at which instalments are payable (e.g., Monthly).
retailAccountDetails.collateralValueValue of the collateral securing the account (if available in records else "").
retailAccountDetails.collateralTypeType of collateral securing the account (e.g., Property) (if available in records else "").
retailAccountDetails.accountStatusCurrent status of the account (e.g., Current Account, Closed).
retailAccountDetails.assetClassificationAsset classification of the account as reported by the lender.
retailAccountDetails.writeOffAmountAmount written off on the account (if available in records else "").
retailAccountDetails.reasonReason reported against the account.
retailAccountDetails.sourceSource of the account record as reported to the bureau.
retailAccountDetails.history48MonthsMonth-by-month payment history for the account, for up to the last 48 months.
history48Months.keyMonth and year the history entry refers to (Format: MM-YY)
history48Months.paymentStatusPayment status reported for that month.
history48Months.suitFiledStatusSuit filed status reported for that month ("*" where not reported).
history48Months.assetClassificationStatusAsset classification status reported for that month ("*" where not reported).
retailAccountsSummaryContainer summarising all credit accounts held by the individual.
retailAccountsSummary.noOfAccountsTotal number of credit accounts.
retailAccountsSummary.noOfActiveAccountsNumber of currently active accounts.
retailAccountsSummary.noOfWriteOffsNumber of accounts written off.
retailAccountsSummary.noOfPastDueAccountsNumber of accounts currently overdue.
retailAccountsSummary.noOfZeroBalanceAccountsNumber of accounts with a zero balance.
retailAccountsSummary.totalPastDueTotal amount overdue across all accounts.
retailAccountsSummary.mostSevereStatusWithIn24MonthsMost severe delinquency status reported in the last 24 months.
retailAccountsSummary.singleHighestCreditHighest credit amount extended on any single account.
retailAccountsSummary.singleHighestSanctionAmountHighest amount sanctioned on any single account.
retailAccountsSummary.singleHighestBalanceHighest outstanding balance on any single account.
retailAccountsSummary.totalHighCreditTotal of the highest credit amounts across all accounts.
retailAccountsSummary.averageOpenBalanceAverage outstanding balance across open accounts.
retailAccountsSummary.totalBalanceAmountTotal outstanding balance across all accounts.
retailAccountsSummary.totalSanctionAmountTotal amount sanctioned across all accounts.
retailAccountsSummary.totalCreditLimitTotal credit limit across all accounts.
retailAccountsSummary.totalMonthlyPaymentAmountTotal monthly payment due across all accounts.
retailAccountsSummary.recentAccountMost recently opened account, with the account type and opening date.
retailAccountsSummary.oldestAccountOldest account held, with the account type and opening date.
scoreDetailsList of credit scores returned for the individual.
scoreDetails.typeType of score returned (e.g., ERS).
scoreDetails.versionVersion of the scoring model used.
scoreDetails.nameName of the score, combining the score type and version.
scoreDetails.valueCredit score value.
scoreDetails.scoringElementsList of factors contributing to the score (empty if not available).
scoringElements.seqSequence identifier for each scoring factor.
scoringElements.typeType of scoring factor.
scoringElements.codeCode identifying the scoring factor.
scoringElements.descriptionDescription of the scoring factor (e.g., Total Utilization).
enquiriesList of credit enquiries made against the individual (empty if not available).
enquiries.seqUnique sequence identifier for each enquiry record.
enquiries.institutionName of the institution that made the enquiry.
enquiries.dateDate on which the enquiry was made (Format: YYYY-MM-DD)
enquiries.timeTime at which the enquiry was made (Format: HH:MM)
enquiries.requestPurposePurpose code for which the enquiry was made.
enquiries.amountAmount for which the enquiry was made.
enquirySummaryContainer summarising credit enquiries made against the individual.
enquirySummary.purposePurpose the summary covers.
enquirySummary.totalTotal number of enquiries recorded.
enquirySummary.past30DaysNumber of enquiries in the last 30 days.
enquirySummary.past12MonthsNumber of enquiries in the last 12 months.
enquirySummary.past24MonthsNumber of enquiries in the last 24 months.
enquirySummary.recentDate of the most recent enquiry (Format: YYYY-MM-DD)
otherKeyIndContainer for additional key indicators derived from the credit history.
otherKeyInd.ageOfOldestTradeAge of the oldest credit account in months.
otherKeyInd.numberOfOpenTradesNumber of currently open credit accounts.
otherKeyInd.allLinesEVERWrittenTotal value of all credit lines ever written off.
otherKeyInd.allLinesEVERWrittenIn9MonthsNumber of credit lines written off in the last 9 months.
otherKeyInd.allLinesEVERWrittenIn6MonthsNumber of credit lines written off in the last 6 months.
recentActivitiesContainer summarising recent activity on the credit file.
recentActivities.accountsDeliquentNumber of accounts that became delinquent recently.
recentActivities.accountsOpenedNumber of accounts opened recently.
recentActivities.accountsUpdatedNumber of accounts updated recently.
recentActivities.totalInquiriesTotal number of recent enquiries.
decentro_txn_idTransaction ID generated by Decentro for tracking the request. Returned in place of decentroTxnId on gateway-level failures.
response_codeSystem-defined response code indicating the result of the request. Returned in place of responseCode on gateway-level failures.
request_idIdentifier for the request, returned by the gateway in place of decentroTxnId when the request is rejected before it reaches the module.

Response Key Mapping

The below-mentioned response keys will be passed as part of the Credit Report API.

Response KeyScenario
success_credit_reportCredit Report fetched 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_empty_address_typeAddress type is empty. Hint: Allowed types are H, O and X.
error_invalid_address_typeAddress Type is invalid. Hint: Allowed types are H, O and X.
error_empty_pincodePin code cannot be null or empty.
error_invalid_pincodeInvalid Format for Pin code is found.
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.
Body Params
string
required

Any unique ID assigned by you for this API request.

string
required

The name of the user as per official documents. Length must be between 2-40 characters.

string
required
Defaults to 9999999999

The mobile number of the individual

string
required

The purpose of the inquiry. It must be a two character code and mandatory if the bureau code is 'EQ'. Details

date
string

The category of address Details.

string

The full address of the user as per the government issued document.

string

The 6-digit code of the area the user address belong's to.

string

The type of Official document of the user. Supports value like 'PAN', etc. Mandatory if the bureau code is 'CR'/'EX'

string

The id number of Official document. Mandatory if the bureau code is 'CR'/'EX'

string

The code corresponding to a particular bureau. Accepts 'EQ', 'EX', 'CR'. By default the value is 'EQ'

Headers
string
required

ID/identifier that is provided by Decentro to a specific client and environment. Please note, this may change based on the environment you are on.

string
required

The confidential credential provided by Decentro that is associated with the client_id

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json