Skip to content

Interface: InitConfigParams

Configuration parameters for the SDK

Properties

clientId

clientId: string

Your Mosaic client identifier


drs

drs: Object

Initial configuration for Fraud Prevention (drs module)

Type declaration

NameTypeDescription
serverPath?stringServer URL for Fraud Prevention. Default value is https://api.transmitsecurity.io/risk-collect
userId?stringOpaque identifier of the user in your system, which should only be passed for users that have already been fully authenticated
verbose?booleanPrint logs to console
enabled?booleanUsed to disable data collection, which will effectively disable the Fraud Prevention capabilities. Default value is true
enableSessionToken?booleanUsed to enable session token that can be used to trigger action events via a backend API. Default value is false