1. Add the SDK to your project

Download the iOS SDK

Then, add the SDK to your project.

2. Import the libraries and dependencies

Add the following libraries and dependencies to your project:

RLTMXProfiling-8.0-107
RLTMXProfilingConnections-8.0-107
RLTMXBehavioSec-8.0-107

3. Configure the SDK parameters

Configure the SDK with the following parameters:

self.profile.configure(configData:\[

RLTMXOrgID : "OrgID",

For the "OrgID" value, provide the value corresponding to the environment in Threatmetrix:

  • Sandbox: "1snn5n9w";
  • Production: "k8vif92e".
RLTMXProfileTimeout : self.profileTimeout,

RLTMXLocationServices : true,

RLTMXProfilingConnectionsInstance : profilingConnections,

])

4. Create the session identification variable

The ProviderMerchantId value must be concatenated with the ProviderIdentifier variable (defined by the e-commerce) to create the session identification (MyVariable).

MyVariable = ProviderMerchantId + ProviderIdentifier

Example:

MyVariable = braspag_XXXX + ProviderIdentifier

self.profile.sessionID = @"MyVariable"
⚠️

In the fraud analysis request, send only the ProviderIdentifier value in the Customer.BrowserFingerprint field.

Example: if the ProviderIdentifier generated by your e-commerce is "202201080949", send the value "202201080949" in the Customer.BrowserFingerprint field.

ℹ️

Important

We recommend that the ProviderIdentifier variable be a GUID.

5. Implement Profiling

Add the ProfileRequest() function to your application and specify the following options:

let profileHandle: RLTMXProfileHandle =

self.profile.profileDevice(profileOptions:\[RLTMXCustomAttributes: \[],

RLTMXSessionID: [MyVariable], callbackBlock:{(result: [AnyHashable : Any]?) -> Void in
 
ℹ️

Download the Cybersource documentation

In the EBC dashboard, click Decision Manager > Documentation > Guide. In Device Fingerprinting Guide, choose the format you'd like to download (PDF or HTML):


Did this page help you?