Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    minfraudpublic

    minFraud

    How to Install

    npm install minfraud

    How to use

    First, require minfraud:

    var minfraud = require('minfraud');

    Next, fill required user data:

    var req = {i:"24.24.24.24",
        domain:"yahoo.com",
        city:"New York",
        postal:"11434",
        country:"US",
        custPhone:"212-242",
        bin:"549099",
        license_key:"YOUR_LICENSE_KEY_HERE" };

    And make validation:

    minfraud.validate(req, function(res){
      //Process response here
      console.log('riskScore: ' + res["riskScore"]);
    });

    Keywords

    none

    install

    npm i minfraud

    Downloadsweekly downloads

    6

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar