Anti-fraud system information

All the purchases received through API or Redirection flow for merchants in the Payments Facilitator model, are evaluated by the anti-fraud system.

Parameters to send when making a purchase

Below, you can find the required and suggested (optional) parameters to be sent when generating a purchase according to the authorization flow.

Authorization flow by API

Mandatory parameters:

  • {“Customer”:{FirstName:””,”LastName”:””,”Email”:””}}
    Name, last name and email corresponding to the customer of the commerce website.
  • {"AntifraudData":{"AntifraudFingerprintId":""}}
    Session Id (AntifraudFingerprintId) which is obtained by the javascript function getSessionAntifraud.
  • "CustomerIP":""
    IP of to the customer connected to the commerce website

Suggested parameters:

  • {“Customer”:{“ShippingAddress”:{}}}
    Shipping address provided by the customer. If you send this parameter, all its properties are mandatory.
  • {“Customer”:{DocumentTypeId:””,”DocNumber”:””}}
    Document of the customer.
  • {"AntifraudData":{“AntifraudMetadataIn”:{“key1”:”data1”,”key2”:”data2”}}}
    AntifraudMetadataIn is a data dictionary to be defined, to adjust the anti-fraud system to the particular needs of each business.

Authorization flow by Redirection

In the case of the redirection authorization flow, the required and suggested parameters are governed by the following table:

Mandatory parameters:

All the parameters in Column A and at least one in Column B.

Column A - MandatoryColumn B - At least one is mandatory
AntifraudDataAntifraudFingerprintIdEmail
CustomerIpFirstName - LastName
DocumentTypeId - DocNumber

Suggested parameters:

  • {“Customer”:{“Phone”: “”, “ShippingAddress”:{}}}
    Phone, and Shipping address provided by the customer.
  • {"AntifraudData":{“AntifraudMetadataIn”:{“key1”:”data1”,”key2”:”data2”}}}
    AntifraudMetadataIn is a data dictionary to be defined, to adjust the anti-fraud system to the particular needs of each business.

Device Fingerprint

JavaScript Library Import

The invocation of the fingerprint service is found in a JavaScript library, which must be imported into the client’s web page directly from a public URL on our platform.

The JavaScript snippet records user interactions with your website and collects device information.

In the call to said library, the public key of the trading account (PublicAccountKey) must be included (as a parameter), which will be used for calls to the REST API from this library.

<script src="{API_Environment}/v1/Scripts/Antifraud.js?key={PublicAccountKey}" type="text/javascript"></script> 

Methods

getSessionAntifraud

This method returns the SessionId of the fingerprint (string). The SessionId is the data that must be passed in the API invocation at the time of purchase in the AntifraudFingerprintId parameter.

PrintScreen

footer
Last modified November 18, 2024

© Bamboo | All rights reserved 2024