Releases: maxmind/minfraud-api-dotnet
Releases · maxmind/minfraud-api-dotnet
5.1.0-beta.1
- Added support for the new risk reasons outputs in minFraud Factors. The risk
reasons output codes and reasons are currently in beta and are subject to
change. We recommend that you use these beta outputs with caution and avoid
relying on them for critical applications.
5.0.0
- Updated
TransactionReport
to make theipAddress
parameter optional. Now
thetag
and at least one of the following parameters must be supplied:
ipAddress
,maxmindId
,minfraudID
,transactionID
. - Added
BillingPhone
andShippingPhone
properties to the minFraud Insights
and Factors response models. These contain objects with information about
the respective phone numbers. Please see our developer
site for
more information. - Added
Payconex
to thePaymentProcessor
enum. - Removed several obsolete constructors as well as the
Last4Digits
property onMaxMind.MinFraud.Request.CreditCard
.
4.3.0
- Added
PxpFinancial
andTrustpay
to thePaymentProcessor
enum. - Equivalent domain names are now normalized when
hashAddress
is used.
For example,googlemail.com
will becomegmail.com
. - Periods are now removed from
gmail.com
email address local parts when
hashAddress
is used. For example,f.o.o@gmail.com
will become
foo@gmail.com
. - Fastmail alias subdomain email addresses are now normalized when
hashAddress
is used. For example,alias@user.fastmail.com
will
becomeuser@fastmail.com
. - Additional
yahoo.com
email addresses now have aliases removed from
their local part whenhashAddress
is used. For example,
foo-bar@yahoo.com
will becomefoo@yahoo.com
for additional
yahoo.com
domains. - Duplicate
.com
s are now removed from email domain names when
hashAddress
is used. For example,example.com.com
will become
example.com
. - Certain TLD typos are now normalized when
hashAddress
is used. For
example,example.comcom
will becomeexample.com
. - Additional
gmail.com
domain names with leading digits are now
normalized whenhashAddress
is used. For example,100gmail.com
will
becomegmail.com
. - Additional
gmail.com
typos are now normalized whenhashAddress
is
used. For example,gmali.com
will becomegmail.com
. - When
hashAddress
is used, all trailing periods are now removed from an
email address domain. Previously only a single period was removed. - When
hashAddress
is used, the local part of an email address is now
normalized to NFC.
4.2.0
- .NET 5.0 has been removed as a target as it has reach its end of life.
However, if you are using .NET 5.0, the .NET Standard 2.1 target should
continue working for you. - .NET 7.0 and .NET 8.0 have been added as a target.
- Added
GooglePay
,Placetopay
, andShopifyPayments
to the
PaymentProcessor
enum. - Added
IWebServiceClient
to facilitate mocking ofWebServiceClient
.
Pull request by Ian Göbl. GitHub #152. - Updated
MaxMind.GeoIP2
dependency to version that includes theIsAnycast
property onMaxMind.GeoIP2.Model.Traits
. This istrue
if the IP address
belongs to an anycast network.
This is available in minFraud Insights and Factors.
4.1.0
- Added the
Country
property toMaxMind.MinFraud.Response.CreditCard
.
This is the country where the issuer of the card is located. This may be
passed instead ofIssuerIdNumber
if you do not wish to pass partial
account numbers or if your payment processor does not provide them.
4.0.0
- This library no longer targets .NET 4.6.1.
- .NET 6.0 was added as a target.
- Removed deprecated code, include:
- The class
MaxMind.MinFraud.Response.GeoIP2Country
was removed. This was
a subclass ofMaxMind.GeoIP2.Model.Country
that added anIsHighRisk
property. This property was marked obsolete in 2019. Now
MaxMind.GeoIP2.Model.Country
is used directly. - In
MaxMind.MinFraud.Response.Subscores
, the propertiesEmailTenure
andIPTenure
were removed. These were deprecated in the web service
and always return a fixed value.
- The class
3.3.0
- Upgraded
MaxMind.GeoIP2
to 4.1.0. This adds mobile country code (MCC)
and mobile network code (MNC) to minFraud Insights and Factors responses.
These are available atresponse.IPAddress.Traits.MobileCountryCode
and
response.IPAddress.Traits.MobileNetworkCode
. We expect this data to be
available by late January 2022. - Added the following new values to the
PaymentProcessor
enum:Boacompra
Boku
Coregateway
Fiserv
Neopay
Neosurf
Openbucks
Paysera
Payvision
Trustly
Windcave
- The
last4Digits
constructor parameter and andLast4Digits
property of
MaxMind.MinFraud.Request.CreditCard
have been deprecated in favor of
lastDigits
/LastDigits
respectively and will be removed in a future
release.lastDigits
/LastDigits
also now supports two digit values in
addition to the previous four digit values. - Eight digit
MaxMind.MinFraud.Request.CreditCard.issuerIdNumber
inputs are
now supported in addition to the previously accepted six digitissuerIdNumber
.
In most cases, you should send the last four digits for
MaxMind.MinFraud.Request.CreditCard.lastDigits
. If you send aissuerIdNumber
that contains an eight digit IIN, and if the credit card brand is not one of the
following, you should send the last two digits forlastDigits
:Discover
JCB
Mastercard
UnionPay
Visa
3.2.0
- Added the following new values to the
PaymentProcessor
enum:Cardknox
Creditguard
Credorax
Datacap
Dlocal
Onpay
Safecharge
- Documented the new "test" disposition.
- Added support for the
/disposition/risk_label
output in Score, Insights and
Factors. This is the available as theRiskLabel
property of
MaxMind.MinFraud.Response.Disposition
, and is the label of the custom rule
that was triggered by the transaction. - Added support for the
/credit_card/was_3d_secure_successful
input in Score,
Insights and Factors. This input should indicate whether or not the outcome
of 3-D Secure verification (e.g. Safekey, SecureCode, Verified by Visa) was
successful.true
if customer verification was successful, orfalse
if
the customer failed verification. If 3-D Secure verification was not used, was
unavailable, or resulted in another outcome other than success or failure, do
not include this field.
3.1.0
- Added
ApplePay
andApsPayments
to thePaymentProcessor
enum. - Added additional normalizing of the request email address in
MaxMind.MinFraud.Request.Email
whenhashAddress
is set totrue
. - Added support for the IP address risk reasons in the minFraud Insights and
Factors responses. This is available atresponse.IPAddress.RiskReasons
.
It is a list ofMaxMind.MinFraud.Response.IPRiskReason
objects.
3.0.0
- This library now requires .NET Framework 4.6.1 or greater or .NET Standard
2.0 or greater. - .NET 5.0 was added as a target framework.
System.Text.Json
is now used for serializing and deserializing JSON.
If you are serializing the objects yourself, theNewtonsoft.Json
attributes have been removed and you will need to switch to
System.Text.Json
.- When creating a
Transaction
object, you may now use init-only properties
rather than constructor parameters. - You may now create
WebServiceClient
as a typed client with
IHttpClientFactory
in .NET Core 2.1+. - Exception objects now correctly implement
ISerializable
. - The
Warnings
properties on the response models are now an
IReadOnlyList<Warning>
rather than anIList<Warning>
. - The
Names
properties onNamedEntity
models are now
IReadOnlyDictionary<string, string>
. - The
Subdivisions
property onMaxMind.MinFraud.Response.IPAddress
is now
anIReadOnlyList<Subdivision>
. GeoNameId
properties onNamedEntity
models are nowlong?
rather than
int?
to match the underlying database.