For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fraud Intelligence Integration

Fraud Intelligence is a Saferpay module that protects merchants from fraudulent online transactions. It relies on industry-leading AI technology and allows merchants to dynamically react on suspicious behavior and even prevent transactions with malicious intent, during authentication.

This chapter will cover the technical aspects on how to integrate Fraud Intelligence in your application.

Requirements

  • A corresponding license and thus a valid identification with a username and password for the Saferpay system.

  • Availability of at least one active Saferpay terminal via which payments can be carried out, and availability of the associated Saferpay TerminalId.

  • A contract to use the Fraud Intelligence module in Saferpay. Please contact your contractual sales contact on that matter.

  • Saferpay JSON API SpecVersion 1.20+

Supported Payment Methods and Flows

Currently, the following payment methods are supported:

Currently, the following flows are supported:

Data points

In order for the fraud detection to work properly, the system needs to be provided with a set of data points with each transaction. Some are provided automatically by Saferpay, while others need to be submitted by the merchant's system with the initial request, when starting the transaction with either Transaction Initialize or Payment Page Initialize.

All of these datapoints are generally optional. However the detection will work better the more data are provided.

The following data points can be set via the JSON API:

An Asterisk ( * ) means, that it is recommended to submit the whole container, if there are multiple parameters inside it, unless there is specific information below, about one of the parameters being optional.

Please also see the given request specification for details.

JSON API

Payment.Amount.*

Payer.DeliveryAddress.*

Payer.BillingAddress.*

Payer.IpAddress

Payer.Ipv6Address

RiskFactors.*

RiskFactors.DeviceFingerprintTransactionId (If Device Fingerprinting is to be used)

Order.Items[].*

Example

Here you can see an example Payment Page Initialize request. Note that the containers and parameters are, of course, consistent throughout the whole API:

Device Fingerprinting

Device Fingerprinting is a process to identify and track devices across websites through a central service. The data collected is used to identify malicious devices and thus to prevent fraud.

The Saferpay Fraud Intelligence solution does offer possibilities to benefit from such a process; however, it needs additional integration steps in order to function.

Preparation

Before you can start integrating, please contact dl-fraud-team-saferpay@worldline.com in order to get your so-called instanceId, which is important for this service to function.

Integration

The integration of the Device Fingerprinting service is done on the client side via script.

Code Sample

Parameter explanation

  • ORG_ID: This ID must have one of the following values, given the environment:

    • Sandbox/Preprod: 1snn5n9w

    • Live: k8vif92e

  • CYB_MERCHANTID: Your Fraud Intelligence customer ID. You will get this information upon contacting us.

  • GUID: Unique identifier for this session, generated by the merchant system.

Saferpay Integration

Once the above script has been successfully initialized and the necessary device fingerprint has been created, you can initialize the Saferpay Payment.

It is, however, important that you share the unique session_id/GUID (not including the CYB_MERCHANTID!) you previously created with Saferpay. You do so by submitting it inside the RiskFactors.DeviceFingerprintTransactionId parameter via either the PaymentPage Initialize or Transaction Initialize request, depending on your integration.

Risk Score

The Fraud Intelligence module uses artificial intelligence to calculate a Risk Score from all available data. This Risk Score is an indicator of how risky the transaction is: A transaction with a high Risk Score generally has a higher probability to be fraudulent than a transaction with a low risk score.

Rules

Rules are used to configure the individual risk appetite of a merchant and to make a decision based on the calculated Risk Score and other criteria. For example, a simple rule could block all transactions with a Risk Score higher than x. A rule can also combine multiple conditions such as velocity thresholds and check other data points, which allows to model complex business requirements and manually block specific fraud scenarios.

Responses

Success

In case of a success, the transaction response will also carry additional information inside the FraudPrevention.Result parameter. This can have one of two values: APPROVED and MANUAL_REVIEW.

In both cases, the transaction was indeed successful. However, the latter indicates that there may be issues with this transaction, which need to be reviewed manually.

It is then up to you, the merchant, to either accept or decline this transaction.

Failure

In case of a decline, Saferpay will throw an appropriate error, also containing the reason.

Feedback to Fraud Intelligence Hub

These responses will in return be transferred to the Fraud Intelligence Hub for further Risk analysis and overview purposes.

Last updated

Was this helpful?