mount
function(): void

Responsible for mounting the SDK and should be called after the configuration.

Example:

<script src="https://cdn.legitimuz.com/js/sdk/antifraude.js"></script>
<script type="text/javascript">
  const sdkInstance = LegitimuzAntiFraude({
    /* ...options */
  });

  // Mount SDK
  sdkInstance.mount();
</script>
changeActionId
function(params: object): void

Responsible for changing the id of the elements that trigger the actions.

Example:

setAction
function(action: string): void

Change the action executed when sending the data.

  • signin: login action
  • signup: registration action
  • deposit: deposit action
  • withdraw: withdrawal action
  • check: must be send every 30 minutes

Example:

sendAnalisys
function(params: object): void

Send data for analysis.

Example: