minFraud API Documentation
Overview
To learn more about the minFraud services and to purchase credits, please visit the minFraud Overview page. To better understand the differences between each minFraud service, review our minFraud Service Comparison page and the API response body documentation.
Client APIs
The following APIs are developed and maintained by MaxMind. See our guide on developing for the community if you have questions about creating or sharing your own unofficial clients or integrations.
Language or Framework | Package Repository | Documentation | Version Control |
---|---|---|---|
.NET (C#) | NuGet | GitHub Pages | GitHub |
Java | Maven Central | GitHub Pages | GitHub |
Node.js | NPM | GitHub Pages | GitHub |
Perl (deprecated) | metacpan | metacpan | GitHub |
PHP | Packagist | GitHub Pages | GitHub |
Python | PyPI | Read the Docs | GitHub |
Ruby | RubyGems.org | RubyDoc.info | GitHub |
Additional Features
Disposition API
We provide a Dispositions API for use with Disposition setting from the Transaction Details page. Use this API to integrate with your order management system, payment processor, or other internal system so that manual review decisions made from the account portal are available within your own systems. For more information about setting dispositions from the account portal, please refer to the article on reviewing transactions on our knowledge base.
Report Transactions
If you are using our minFraud transaction fraud detection service, we also encourage you to use our report transaction service. By reporting transactions, you can help us significantly increase the amount of fraud we can detect for you. We build custom machine learning models for each customer based on reported transactions. We also manually review many reported transactions to identify customizations and algorithmic improvements for each customer reporting feedback.
Device Tracking Add-on
You may optionally include the Device Tracking JavaScript on your site that helps us identify the device your customer is using to determine whether it has been used in previous fraudulent transactions. The device information is factored into the scores returned through the minFraud service.
Timeout Errors
If you get timeout errors, first confirm if we experienced a service disruption on our status page or on Pingdom.
If there has not been a service disruption, we may be able to help you diagnose
your connection issues. Please use our
mm-network-analyzer
program,
which is designed to aid in diagnosing networking issues. It creates a zip file
containing various network checks like traceroute, DNS, etc. You can download
the latest version, run it, and send the resulting zip file to our support team
for review.
Please note, mm-network-analyzer
is not compatible with Windows, but you can
reach out to support with the following information (if available to you) to
help us investigate an issue:
- Your requesting server’s IP address
- Which web service demonstrates the issue
- What integration method you’re using for that web service
- Any full error messages you’re receiving
- Date and time frame (including time zone) that you experienced the issue
- Your traceroute to
minfraud.maxmind.com
You can submit your support request on our knowledge base.
Versioning
The minFraud Score, minFraud Insights, and minFraud Factors web services use two part versions. Our current release is version 2.0. The major version number will remain at 2 for the foreseeable future.
The minor version will only change if there are breaking changes in the web service. A breaking change is one that breaks client code that follows the documentation on this page. Breaking changes include changing the type of an existing field, deleting a field entirely, or changing URIs.
All changes to the web services will be documented in the minFraud release notes, whether or not the version number is changed.
The following changes are not considered to be breaking changes and will not be accompanied by a version number change:
- Increased validation of inputs that causes a warning to be returned when there previously was not one.
- Adding a new request or response field, either at the top level of the
structure or in one particular object such as the billing or
credit_card
. Client code should be written to allow for new fields to appear. - Adding new values to enum fields such as processor.
- Adding or removing warning or error codes, and/or changing the body type for
an error. Client code should always check the
Content-Type
header for any error response. Client code should also be prepared to handle any valid HTTP 4xx or 5xx status code. - Adding a new service with a new path.
License
These services incorporate GeoNames geographical data, which is made available under the Creative Commons Attribution 4.0 License.