You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sumsub-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sumsub-node-sdk

SumSub Node SDK for JavaScript/TypeScript

1.1.7
latest
npmnpm
Version published
Weekly downloads
158
-84.87%
Maintainers
1
Weekly downloads
 
Created
Source

Sumsub Node SDK

Description

https://developers.sumsub.com/api-reference

This SDK wraps the official SumSub API into an easy-to-use, strongly-typed Javascript and Typescript SDK.

Install

npm install sumsub-node-sdk

or

yarn add sumsub-node-sdk

Example setup

import { sdk } from "sumsub-node-sdk";

// Instantiate the SDK 
const sumsub = sdk({
  baseURL: process.env.SUMSUB_BASE_URL,
  secretKey: process.env.SUMSUB_SECRET_KEY,
  appToken: process.env.SUMSUB_APP_TOKEN,
});

// Use the methods
const { data } = await sumsub.createApplicant("my-external-user-id", "basic-kyc-level", {
  email: "user@gmail.com",
  phone: "+1234567890",
  fixedInfo: {
    country: "USA",
  },
  metadata: [
    {
      key: "foo",
      value: "bar",
    },
  ],
});

console.log(data.externalUserId)
// "my-external-user-id"

More examples

/tests/sumsub.spec.ts

Build from source

npm run build

Run tests

npm run test

Contact

dev@agiodigital.com

Keywords

SumSub

FAQs

Package last updated on 09 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts