VECU IDV Web SDK

A secure, TypeScript-first identity verification SDK for web applications. Built with security in mind, featuring a clean, simple API.

Latest Version

The current stable version is v2.2.1. See the Changelog for recent updates.

Features

  • Document Verification - Capture and verify identity documents with anti-tampering detection
  • Biometric Verification - Selfie capture with liveness detection
  • Reverification - Streamlined re-verification for returning users
  • QR Code Handoff - Mobile handoff via QR code scanning
  • TypeScript Support - Full TypeScript definitions included
  • Framework Agnostic - Works with React, Vue, Angular, or vanilla JavaScript

Verification Capabilities

The SDK provides comprehensive identity verification including:

  • Document Verification — Capture and verify identity documents
  • Biometric Verification — Selfie capture with liveness detection
  • Fraud Detection — Device risk assessment and fraud screening
  • International Support — Identity documents from multiple countries

The verification provider is selected and managed server-side — no client configuration is needed.

Quick Links

Browser Support

BrowserMinimum Version
Chrome88+
Firefox78+
Safari14+
Edge88+

Installation

npm install vec-idp-web-sdk
# or
yarn add vec-idp-web-sdk
# or
pnpm add vec-idp-web-sdk

CAI Artifactory

The SDK is hosted in CAI Artifactory. See the Installation Guide for detailed setup instructions.

Basic Usage

import { createVecuIDVSDK } from 'vec-idp-web-sdk';

// Create SDK instance
const sdk = createVecuIDVSDK({
  deploymentStage: 'sandbox',
  bearerToken: 'your-bearer-token',
  debug: true,
});

// Start verification
const cleanup = await sdk.startVerificationWithCustomer(
  document.getElementById('container'),
  {
    customerInfo: {
      firstName: 'John',
      lastName: 'Doe',
      email: 'john.doe@example.com',
    },
    referenceId: 'customer-12345',
    onSuccess: result => console.log('Success!', result),
    onError: error => console.error('Error:', error),
  }
);

Next Steps

  1. Follow the Quick Start Guide for a step-by-step tutorial
  2. Review the Configuration Options
  3. Check out the Interactive Demo