autheo_sdk 1.0.2 copy "autheo_sdk: ^1.0.2" to clipboard
autheo_sdk: ^1.0.2 copied to clipboard

A Flutter SDK for KYC verification

Autheo SDK #

A Flutter SDK for KYC verification with ID Card and Selfie.

Installation #

Add to your pubspec.yaml:

dependencies:
  autheo_sdk: ^1.0.2

Usage #

import 'package:autheo_sdk/autheo_sdk.dart';

// Initialize the SDK and Launch Verification

final result = await AutheoSDK.startVerification(context,
          apiKey: 'api-key',
          email: 'candidate-email',
          phone: '0200000000',
          firstName: 'John',
          lastName: 'Doe',
          businessId: 'your-business-id',
          verificationType: 'KYC Verification',
          isAddressCheck: true, // false means no address verification for candidate
          isAmlCheck: true, // false means no blacklist check for candidate
          isCreditCheck: false // false means credit history check for candidate not required
);

if (result.isSuccess) {
  print('Verification successful: ${result.message}');
} else {
  print('Verification failed: ${result.message}');
}

Parameters #

  • apiKey: Your Autheo API key
  • businessId: Unique identifier for the account

Result #

The SDK returns a VerificationResult object with:

  • isSuccess: Boolean indicating success/failure
  • message: Human-readable message
  • data: Results of verification
  • error: Error details if applicable