Business Verification Validate API

🙌

Important Note

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

API Endpoints

Our Validate API supports multiple documents. You can use any document mentioned in the below list -

  • PAN, GSTIN, FSSAI, UDYOG_AADHAAR, CIN, DIN, LLPIN, FLLPIN, FCRN, Udyam Number

You can also use PAN_DETAILED to get detailed information

Input Validations for GSTIN_DETAILED Document Type

FieldRequirement
reference_idRequired (String, Not Blank)
document_typeRequired (String, Not Blank) ("GSTIN_DETAILED")
id_numberRequired (String, Not Blank)
consentRequired (String, Not Blank) ('Y', 'N') → Required ('Y')
consent_purposeRequired (String, Not Blank) (SIZE > 20)
generate_pdfNot Required (Boolean) Default (False)

👍

Download GSTIN Certificate

You can now set the generate_pdf key to true and get a PDF download link available in the response under the key - pdf.

Albeit the link is sent to you, you can also generate the link on the fly if needed. You can download the file using the endpoint https://in.decentro.tech/v2/common/download/<YOUR DECENTRO TRANSACTION ID>.pdf.

Please note, in order for the download to work, client_id and client_secret must be present in the headers. You can refer the Download PDF File Utility API Reference to learn more.

📘

Validate API Response Keys

Here are the Response Keys and the scenarios under which Decentro will propagate the same to the platform - Response Keys

Body Params
string
required

Any unique ID assigned by you for this request

string
required

The type of ID that you want to validate. Only special character allowed is underscore.

string
required

The national ID number that is present on the above document

string
required
string
required
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
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json