Sumsub bindings: identity verification (KYC), business verification (KYB) and transaction monitoring (KYT/AML) for fintech builders.

Covers applicants (create, fetch by id or externalUserId, review status, level changes, ID document upload, reset, request a check, tags, notes), WebSDK access tokens and verification links, company applicants and their beneficiaries, transaction monitoring and Travel Rule submissions, webhook digest verification, and a helper that turns a review into approved / declined / pending.

Setup: context variables

  • sumsub.app.token and sumsub.secret.key: an App Token pair from the dashboard (Dev space → App tokens). Sandbox tokens start sbx:.
  • sumsub.level.name: optional default verification level
  • sumsub.webhook.secret: the webhook's secret key, for ::sumsub::webhooks/verify-request

Every request is signed: X-App-Access-Sig is the hex HMAC-SHA256 of ts + METHOD + path-with-query + body (see ::sumsub::api/sign).

Quick start

::applicants ::sumsub::applicants
::sdk ::sumsub::sdk

// 1. Create the applicant for your user
applicant ::applicants/create-applicant("basic-kyc-level", {externalUserId: "user-42"})

// 2. Hand the user a hosted verification link
link ::sdk/create-websdk-link("basic-kyc-level", {userId: "user-42"})

// 3. Later (or from the applicantReviewed webhook) read the outcome
outcome ::sumsub::decisions/review-outcome(::applicants/get-status(applicant.id))

Values

BASE_URL

BASE_URL: Str "https://api.sumsub.com"

MAX_CLOCK_SKEW_SECONDS

MAX_CLOCK_SKEW_SECONDS: Int 60

SANDBOX_APPLICANTS_PER_DAY

SANDBOX_APPLICANTS_PER_DAY: Int 500

SANDBOX_KYT_TXNS_PER_DAY

SANDBOX_KYT_TXNS_PER_DAY: Int 1000