Free to integrate. Define custom trust rules with simple logic. Stop managing KYC/KYB vendors.
Shift the cost and complexity of verification to the user.
One integration. You define trust rules using simple AND/OR logic across any KYC provider. Users pay for their own verification.
Users verify once (Basic, Premium, VIP). Their identity is valid for 1 year and accepted instantly across every integrated platform.
Real-time mutual verification using Passkeys. Stops impersonation and link-sharing fraud before any transaction happens.
Install the SDK via npm. Requires Node.js and a modern bundler (Webpack, Vite, Rollup).
npm install sts-digital-identity
{
"dependencies": {
"sts-digital-identity": "^1.0.1"
}
}
Initialize the SDK and trigger a hardware-backed verification with custom trust logic.
import { DigitalIdentity, TrustRequirement } from 'sts-digital-identity';
// 1. Initialize with your API Key
DigitalIdentity.init("sk_live_xxxxxx");
// 2. Build your verification requiremets with custom logic
const requirements: TrustRequirement = {
"and": [
{ "or": ["persona:identity", "sumsub:document"] },
"plaid:bank_account"
]
};
// 3. Verify the user
const verificationId: string = await DigitalIdentity.verify(
// 4. The user's public token you collect from your website form.
"user_token_789",
// 5. Apply your verification requirements
requirements
);
if (verificationId != "") {
// 1. To verify that the user passed the challenge, make a POST request from your backend to:
// https://api.safetradeservices.com/fido/validate
//
// 2. Include your API key and Content-Type in the request headers:
// {
// 'Content-Type': 'application/json',
// 'X-API-KEY': 'your_api_key_here'
// }
//
// 3. Send the following JSON payload in the request body:
// {
// "verificationId": "your_verification_id", // Note: verificationId is only valid for 60 seconds
// "token": "user_token_789"
// }
//
// 4. The API will respond with a boolean value (true or false).
// Once you confirm the response is true, you can safely proceed with your logic.
} else {
// API automatically emails user with your complete requirements
}
Eliminate friction, reduce costs, and secure your ecosystem with a single integration.
One API integration replaces multiple fragmented KYC vendors. Get up and running in hours, not weeks.
Built on FIDO2 & WebAuthn standards. Enjoy phishing-resistant, hardware-backed security for every login.
Users complete their identity verification once and enjoy frictionless, one-click access everywhere.
Users pay for their own secure identity token which aggregates verifications accross multiple KYC providers. You get guaranteed trust with absolutely zero overhead.
Join forward-thinking platforms. Get your free API key in under 60 seconds. No credit card required.