nationid - v2.2.1
    Preparing search index...

    Function validate

    • Validate an Indian (IN) identity / tax document.

      Parameters

      • code: "IN_AADHAAR" | "IN_PAN" | "IN_GSTIN" | "IN_EPIC" | "IN_VID" | ShortCode

        Fully-qualified (IN_AADHAAR) or short (AADHAAR).

      • input: string

        Raw document string (separators tolerated).

      Returns boolean