Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description
This package provides an API for the `MaxMind minFraud Score, Insights, and
Factors web services <https://dev.maxmind.com/minfraud/>`_ as well as the
`Report Transaction web service
<https://dev.maxmind.com/minfraud/report_transaction>`_.
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`_.

Installation
------------
Expand Down Expand Up @@ -71,7 +71,7 @@ The Score web service is called with the ``score()`` method:
Each of these methods takes a dictionary representing the transaction to be sent
to the web service. The structure of this dictionary should be in `the format
specified in the REST API documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`__.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`__.
All fields are optional.

Report Transactions Usage
Expand All @@ -89,7 +89,7 @@ Report Transaction web service is called with the ``report()`` method:
The method takes a dictionary representing the report to be sent to the web
service. The structure of this dictionary should be in `the format specified
in the REST API documentation
<https://dev.maxmind.com/minfraud/report-transaction/#Request_Body>`__. The
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`__. The
``ip_address`` and ``tag`` fields are required. All other fields are optional.

Request Validation (for all request methods)
Expand Down
4 changes: 2 additions & 2 deletions minfraud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class Device:

In order to receive device output from minFraud Insights or minFraud
Factors, you must be using the `Device Tracking Add-on
<https://dev.maxmind.com/minfraud/device/>`_.
<https://dev.maxmind.com/minfraud/track-devices?lang=en>`_.

.. attribute:: confidence

Expand Down Expand Up @@ -769,7 +769,7 @@ class ServiceWarning:

This value is a machine-readable code identifying the
warning. See the `web service documentation
<https://dev.maxmind.com/minfraud/#Warning>`_
<https://dev.maxmind.com/minfraud/api-documentation/responses?lang=en#schema--response--warning>`_
for the current list of of warning codes.

:type: str | None
Expand Down
18 changes: 9 additions & 9 deletions minfraud/webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ async def factors(
"""Query Factors endpoint with transaction data.

:param transaction: A dictionary containing the transaction to be
sent to the minFraud Insights web service as specified in the `REST
sent to the minFraud Factors web service as specified in the `REST
API documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down Expand Up @@ -284,7 +284,7 @@ async def insights(
:param transaction: A dictionary containing the transaction to be
sent to the minFraud Insights web service as specified in the `REST
API documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down Expand Up @@ -323,7 +323,7 @@ async def score(
:param transaction: A dictionary containing the transaction to be
sent to the minFraud Score web service as specified in the `REST API
documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down Expand Up @@ -359,7 +359,7 @@ async def report(
:param report: A dictionary containing the transaction report to be sent
to the Report Transations web service as specified in the `REST API`
documentation
<https://dev.maxmind.com/minfraud/report-transaction/#Request_Body>_.
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>_.
:type report: dict
:param validate: If set to false, validation of the report dictionary
will be disabled. This validation helps ensure that your request is
Expand Down Expand Up @@ -487,9 +487,9 @@ def factors(
"""Query Factors endpoint with transaction data.

:param transaction: A dictionary containing the transaction to be
sent to the minFraud Insights web service as specified in the `REST
sent to the minFraud Factors web service as specified in the `REST
API documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down Expand Up @@ -528,7 +528,7 @@ def insights(
:param transaction: A dictionary containing the transaction to be
sent to the minFraud Insights web service as specified in the `REST
API documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down Expand Up @@ -567,7 +567,7 @@ def score(
:param transaction: A dictionary containing the transaction to be
sent to the minFraud Score web service as specified in the `REST API
documentation
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
:type transaction: dict
:param validate: If set to false, validation of the transaction
dictionary will be disabled. This validation helps ensure that your
Expand Down