SumsubHelperBeta

Generate device token (Sumsub)

Generates a Sumsub Device Intelligence token to initialize the fisherman SDK client-side.

Vue d’ensemble

Objectif

This helper produces the token used by @sumsub/fisherman to capture device signals.

The same session_id must be preserved across the token, client collection, and sumsub.evaluate_platform_event or sumsub.evaluate_transaction.

Quand l’utiliser

  • Before a login, signup, password reset, or 2FA reset assessed by Sumsub.
  • Before a financial transaction enriched with Device Intelligence.

Parameters 3

extension_config_idRequisref(extension_config:sumsub)
Active Sumsub provider configuration.
event_typeRequisstring
Event type used to generate the Device Intelligence token.
session_idOptionnelstring
Device session identifier. When absent, Ormuz generates one from the process and node.

Outputs 2

access_tokenstring
Token to pass to the fisherman SDK.
session_idstring
Device session to reuse for assessment.

Behavior

Generate the token

The helper calls the Sumsub Device Intelligence endpoint with sessionId and userPlatformEventType.

Collect client-side

The frontend initializes fisherman with the token, then calls fingerprint().

Process example

Expected event + TTL secondes
Générer un token Device Intelligence (Sumsub)

This helper makes no decision; it only prepares Device Intelligence collection.