get https://in.staging.decentro.tech/v2/lending//status
Important Note
Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
Environment | Endpoint |
---|---|
Staging / Sandbox | https://in.staging.decentro.tech//v2/lending/:eligibility_transaction_urn/status |
Production | <https://in.decentro.tech//v2/lending/:eligibility_transaction_urn/status |
Note - Simulation Data
Name: John Doe
Pan: AAAAA1234A
Any number: success KYC/agreement flowBelow Number to be Used for Specific Scenarios
9898989891 - Success facility confirmation
9898989810 - KYC failure
9898989811 - Liveliness failure
9898989812 - Agreement generation failed due to credit line not being approved
The following table contains all the parameters you might get in the response body, along with a description indicating their meaning.
Response Parameter | Description |
---|---|
decentroTxnId | A unique ID given to this API transaction by Decentro |
status | The status of the response |
responseCode | A short response code (Please Note: Response codes are deprecated and will eventually be phased out from our response bodies. If you are using them currently, please migrate your logic to the responseKey parameter instead.) |
data | The object containing the response data |
data.eligibilityCheckReferenceId | The reference ID passed by the customer in the loan application API |
data.eligibilityCheckTransactionUrn | The transaction URN received in the loan application API |
data.consumer | The object representing the consumer of the loan |
data.consumer.name | The name of the loan applicant |
data.consumer.mobile | The mobile number of the loan applicant |
data.consumer.kycStatus | The KYC status of the loan applicant |
data.facility | The object representing the facility selected by the consumer if the facility has already been confirmed |
data.facility.urn | The URN of the facility selected by the consumer |
data.facility.amount | The amount provided by the facility |
data.facility.emi | The EMI count determined by the facility |
data.stage | The current stage of the loan application |
data.status | The current status of the loan application |
data.creationTimestamp | The timestamp when the loan application was created |
data.lastModificationTimestamp | The timestamp when the loan application's stage was last modified |
responseKey | A response key denoting the category of the response |
message | A message sent to provide more context in case of an error |