SDKs overview

SEON offers Software Development Kits (SDKs) to facilitate the integration of its fraud prevention and digital identity verification services into client applications. These SDKs are designed to simplify data collection, particularly for device fingerprinting and user behavior analysis, which are crucial for SEON's machine learning models. The primary goal of SEON's SDKs is to reduce the development effort required for integrating its fraud detection capabilities, allowing developers to focus on their core application logic while relying on SEON for real-time risk assessments.

The SDKs are complemented by SEON's comprehensive Fraud API reference, which allows for direct server-side integrations using various programming languages such as Python, PHP, Node.js, Ruby, Java, and Go. This dual approach—client-side SDKs for data collection and server-side API for fraud assessment—ensures a flexible and robust integration strategy for different architectural needs. Developers can consult the SEON documentation portal for detailed guides and examples.

Official SDKs by language

SEON provides official SDKs for widely used client-side environments to enable efficient data collection and interaction with its platform. These SDKs are maintained by SEON and are designed to ensure compatibility and optimal performance with their fraud prevention services. The primary official SDKs are available for JavaScript, Android, and iOS platforms, catering to web and mobile applications.

Language/Platform Package/Module Installation Command (Example) Maturity
JavaScript @seon/javascript-sdk npm install @seon/javascript-sdk or yarn add @seon/javascript-sdk Stable
Android seon-android-sdk Add to build.gradle: implementation 'io.seon:seon-android-sdk:latest_version' Stable
iOS SeonSDK Add to Podfile: pod 'SeonSDK' Stable

These SDKs are specifically engineered to capture relevant device and behavioral data required for SEON's fraud scoring engine, including device fingerprints, user agent information, IP addresses, and other metadata without requiring manual implementation of complex data collection logic. The SEON JavaScript SDK integration guide provides detailed setup instructions and usage examples for web applications.

Installation

Installation varies depending on the target platform. The following outlines the general steps for each official SDK:

JavaScript SDK

For web applications, the JavaScript SDK can be installed via npm or yarn, or by including it directly from a CDN.

  1. Using npm:
    npm install @seon/javascript-sdk
  2. Using yarn:
    yarn add @seon/javascript-sdk
  3. Using a CDN (e.g., in your HTML):
    <script src="https://cdn.seon.io/sdk/latest/seon-sdk.min.js"></script>
    Ensure this script is loaded early in your page, ideally in the <head>, to capture as much user data as possible. Further details are available in the SEON JavaScript SDK documentation.

Android SDK

For Android applications, the SDK is typically integrated via Gradle.

  1. Add the SEON Maven repository to your project-level build.gradle file:
    allprojects {
        repositories {
            google()
            mavenCentral()
            maven { url 'https://repo.seon.io/repository/maven-public/' }
        }
    }
  2. Add the SDK dependency to your app-level build.gradle file:
    dependencies {
        implementation 'io.seon:seon-android-sdk:latest_version'
    }
    Replace latest_version with the current stable version found in the SEON Android SDK integration guide.
  3. Ensure necessary permissions are declared in AndroidManifest.xml.

iOS SDK

For iOS applications, the SDK is commonly integrated using CocoaPods.

  1. Add the SEON pod to your Podfile:
    platform :ios, '11.0'
    
    target 'YourAppTarget' do
      use_frameworks!
      pod 'SeonSDK'
    end
  2. Install the pods:
    pod install
  3. Update your project settings to include required frameworks and permissions as detailed in the SEON iOS SDK integration instructions.

Quickstart example

This quickstart demonstrates a basic integration of the SEON JavaScript SDK to collect device data and prepare for a fraud check. This snippet should be placed early in your web page's loading sequence.

JavaScript SDK (Web) Initialization and Data Collection

import { seon } from '@seon/javascript-sdk';

// Initialize the SEON SDK with your API key and session ID
// The session ID should be unique for each user session or transaction
seon.init({
  api_key: 'YOUR_API_KEY',
  session_id: 'UNIQUE_SESSION_ID_FOR_THIS_TRANSACTION_OR_USER'
});

// Collect device fingerprint data
seon.getFingerprint({
  success: function(fingerprintHash) {
    console.log('SEON Fingerprint Hash:', fingerprintHash);
    // Send this fingerprintHash to your backend along with other transaction data
    // for a fraud check via the SEON API.
    // Example: sendToServer({ ...transactionData, seon_fingerprint: fingerprintHash });
  },
  error: function(error) {
    console.error('SEON Fingerprint Error:', error);
  }
});

// Alternatively, if you're not using modules, the global `seon` object is available:
// <script src="https://cdn.seon.io/sdk/latest/seon-sdk.min.js"></script>
// <script>
//   seon.init({
//     api_key: 'YOUR_API_KEY',
//     session_id: 'UNIQUE_SESSION_ID_FOR_THIS_TRANSACTION_OR_USER'
//   });
//   seon.getFingerprint({
//     success: function(fingerprintHash) {
//       console.log('SEON Fingerprint Hash:', fingerprintHash);
//     },
//     error: function(error) {
//       console.error('SEON Fingerprint Error:', error);
//     }
//   });
// </script>

After collecting the fingerprintHash, it should be sent to your backend server. Your backend can then combine this with other user and transaction data (e.g., email, phone, IP address) and send it to the SEON Fraud API for a complete risk assessment. For examples of backend API calls, refer to the SEON API basics documentation.

Community libraries

While SEON provides official SDKs for key client-side platforms, its comprehensive API allows developers to integrate SEON's services using any programming language capable of making HTTP requests. This extensibility fosters the development of community-contributed libraries and connectors, though SEON primarily focuses on its official SDKs and direct API integrations.

For server-side integrations, developers commonly use standard HTTP client libraries available in their preferred language (e.g., requests in Python, axios in Node.js, Guzzle in PHP, or built-in HttpClient in Java or Go) to interact with the SEON Fraud API. The API itself is well-documented, allowing for straightforward consumption without requiring specific SDKs for every backend language.

As of 2026, the primary focus for SEON's community contributions and third-party integrations often revolves around broader ecosystem tools like Tray.io connectors or custom server-side implementations rather than standalone SDKs in niche languages. This approach emphasizes flexibility and broad compatibility with existing system architectures, aligning with general API integration best practices as described by organizations like W3C on Web Architecture and APIs. Developers are encouraged to consult SEON's official documentation for the most up-to-date information on recommended integration methods and any emerging community resources.