Giter Site home page Giter Site logo

fds's Introduction

Fraud Detection Service

Example API Calls

The FraudDetection/Scores resource accepts a HTTP GET request with a querystring supplying order information required for scoring. The response to a valid request will contain a fraud detection score and, optionally, a list containing a breakdown of the score.

###Required Parameters The client must pass the following parameters to receive a valid fraud detection score:

billingEmailAddress

The email address supplied as part of the billing information.

billingCity

The city supplied as part of the billing information.

shippingAddress

The street address supplied as part of the shipping information.

shippingCity

The city supplied as part of the shipping information.

orderDateAndTime

The date that the order was created. The date should be a UTC date formatted YYYY-MM-DDTHH:MM:SSZ (using ISO 8601 as a guide) e.g. 2015-12-31T08:15:30Z
If the time is not available then HH:MM:SS should be 00:00:00 .

orderQuantity

The number of items ordered.

orderTotal

The toal cost of the order.

###Optional Parameters The client may pass the parameters listed below. If these parameters are not passed then the default values are used.

currency

The ISO 4217 code for the currency used for the transaction. e.g. USD, GBP, EUR, RUB etc. If no currency code is supplied then USD (United States Dollar) is assumed.

scoreType

The fraud score format determines what information is returned by a call to the Scores resource. Valid values are

  • score
  • components
  • score-and-components

score returns fraud detection score (i.e. a number) only. components returns the individual components that make up the total fraud detection score. score-and-components returns both the fraud detection score and the components that make up the total fraud detection score. See [JSON EXAMPLE LINK GOES HERE] for examples.

http://api.xyz.com/FraudDetection/[email protected]&billingCity=Some%20City&shippingAddress=999%20Letsby%20Avenue&orderDate=2015-12-31T08:15:30Z05:00&totalOrderQuantity=5&currency=USD&orderTotal=99.99&fraudScoreFormat=score

fds's People

Contributors

britebit avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.