Class IdentityVerificationApi


  • public class IdentityVerificationApi
    extends Object
    • Constructor Detail

      • IdentityVerificationApi

        public IdentityVerificationApi()
      • IdentityVerificationApi

        public IdentityVerificationApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(String customBaseUrl)
      • createEmbeddedVerificationUrlCall

        public okhttp3.Call createEmbeddedVerificationUrlCall​(String documentId,
                                                              EmbeddedFileDetails embeddedFileDetails,
                                                              ApiCallback _callback)
                                                       throws ApiException
        Build call for createEmbeddedVerificationUrl
        Parameters:
        documentId - The document id. (required)
        embeddedFileDetails - The embedded verification link request. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
      • createEmbeddedVerificationUrl

        public EmbeddedFileLink createEmbeddedVerificationUrl​(String documentId,
                                                              EmbeddedFileDetails embeddedFileDetails)
                                                       throws ApiException
        Generate a URL that embeds manual ID verification for the specified document signer into your application.
        Parameters:
        documentId - The document id. (required)
        embeddedFileDetails - The embedded verification link request. (optional)
        Returns:
        EmbeddedFileLink
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
      • createEmbeddedVerificationUrlWithHttpInfo

        public ApiResponse<EmbeddedFileLink> createEmbeddedVerificationUrlWithHttpInfo​(String documentId,
                                                                                       EmbeddedFileDetails embeddedFileDetails)
                                                                                throws ApiException
        Generate a URL that embeds manual ID verification for the specified document signer into your application.
        Parameters:
        documentId - The document id. (required)
        embeddedFileDetails - The embedded verification link request. (optional)
        Returns:
        ApiResponse<EmbeddedFileLink>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
      • createEmbeddedVerificationUrlAsync

        public okhttp3.Call createEmbeddedVerificationUrlAsync​(String documentId,
                                                               EmbeddedFileDetails embeddedFileDetails,
                                                               ApiCallback<EmbeddedFileLink> _callback)
                                                        throws ApiException
        Generate a URL that embeds manual ID verification for the specified document signer into your application. (asynchronously)
        Parameters:
        documentId - The document id. (required)
        embeddedFileDetails - The embedded verification link request. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
      • imageCall

        public okhttp3.Call imageCall​(String documentId,
                                      DownloadImageRequest downloadImageRequest,
                                      ApiCallback _callback)
                               throws ApiException
        Build call for image
        Parameters:
        documentId - The document id. (required)
        downloadImageRequest - The download image request. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • image

        public File image​(String documentId,
                          DownloadImageRequest downloadImageRequest)
                   throws ApiException
        Retrieve the uploaded ID verification document or selfie image for the specified document signer using the file ID.
        Parameters:
        documentId - The document id. (required)
        downloadImageRequest - The download image request. (required)
        Returns:
        File
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • imageWithHttpInfo

        public ApiResponse<File> imageWithHttpInfo​(String documentId,
                                                   DownloadImageRequest downloadImageRequest)
                                            throws ApiException
        Retrieve the uploaded ID verification document or selfie image for the specified document signer using the file ID.
        Parameters:
        documentId - The document id. (required)
        downloadImageRequest - The download image request. (required)
        Returns:
        ApiResponse<File>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • imageAsync

        public okhttp3.Call imageAsync​(String documentId,
                                       DownloadImageRequest downloadImageRequest,
                                       ApiCallback<File> _callback)
                                throws ApiException
        Retrieve the uploaded ID verification document or selfie image for the specified document signer using the file ID. (asynchronously)
        Parameters:
        documentId - The document id. (required)
        downloadImageRequest - The download image request. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • reportCall

        public okhttp3.Call reportCall​(String documentId,
                                       VerificationDataRequest verificationDataRequest,
                                       ApiCallback _callback)
                                throws ApiException
        Build call for report
        Parameters:
        documentId - The document id. (required)
        verificationDataRequest - The download image request. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • report

        public IdReport report​(String documentId,
                               VerificationDataRequest verificationDataRequest)
                        throws ApiException
        Retrieve the ID verification report for the specified document signer.
        Parameters:
        documentId - The document id. (required)
        verificationDataRequest - The download image request. (required)
        Returns:
        IdReport
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • reportWithHttpInfo

        public ApiResponse<IdReport> reportWithHttpInfo​(String documentId,
                                                        VerificationDataRequest verificationDataRequest)
                                                 throws ApiException
        Retrieve the ID verification report for the specified document signer.
        Parameters:
        documentId - The document id. (required)
        verificationDataRequest - The download image request. (required)
        Returns:
        ApiResponse<IdReport>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -
      • reportAsync

        public okhttp3.Call reportAsync​(String documentId,
                                        VerificationDataRequest verificationDataRequest,
                                        ApiCallback<IdReport> _callback)
                                 throws ApiException
        Retrieve the ID verification report for the specified document signer. (asynchronously)
        Parameters:
        documentId - The document id. (required)
        verificationDataRequest - The download image request. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 OK -
        401 Unauthorized -
        403 Forbidden -
        400 Bad Request -