Releases: maxmind/minfraud-api-java
Releases · maxmind/minfraud-api-java
3.2.0
3.1.0
3.0.0
- This library is now a Java module.
- Removed deprecated
last4Digitsmethod onCreditCard.Builderand
getLast4Digitsmethod onCreditCard. UselastDigitsand
getLastDigitsinstead. - Removed deprecated
connectTimeout(int),readTimeout(int), and
proxy(Proxy)onWebServiceClient.Builder. Use
connectTimeout(Duration),requestTimeout(Duration), and
proxy(ProxySelector)instead. WebServiceClientno longer implementsCloseableand theClose
method has been removed. This method was deprecated when the library
switched to usingjava.net.http.HttpClient.
2.2.0
2.1.0
- Added the input
/credit_card/country. This is the country where the
issuer of the card is located. This may be passed instead of the
/credit_card/issuer_id_numberif you do not wish to pass partial
account numbers or if your payment processor does not provide them. You
may provide this using thecountrymethod onCreditCard.Builder.
2.0.0
- Java 11 or greater is now required.
- Apache HttpClient has been replaced with
java.net.http.HttpClient. - The
close()method onWebServiceClientis now deprecated. It
no longer does anything. - On
WebServiceClient.Builder:connectTimeout(int)has been deprecated in favor of
connectTimeout(Duration).readTimeout(int)has been deprecated in favor of
requestTimeout(Duration).proxy(Proxy)has been deprecated in favor ofproxy(ProxySelector).
- On
HttpExceptionandInvalidRequestException,getUrl()has been
deprecated in favor ofgetUri(). Constructors that took aURLhave
been replaced with the equivalent taking aURI. - Deprecated constructors on model classes were removed.
- Removed deprecated response methods:
Email.getAddressMd5()Subscores.getEmailTenure()Subscores.getIpTenure()
- Removed
GeoIp2Countryand its associatedisHighRisk()method.
IpAddress.getCountry()now returns acom.maxmind.geoip2.record.Country. - Removed deprecated
Payment.Processor.VERAPAYenum value. UseVEREPAY
instead. Email.getDomain()will now return an empty object rather than null if
there is no domain data. This is match other response model class getters.- Upgraded the
geoip2dependency to 2.16.1. This adds mobile country code
(MCC) and mobile network code (MNC) to minFraud Insights and Factors
responses. These are available at
response.getIpAddress.getTraits.getMobileCountryCode()and
response.getIpAddress.getTraits.getMobileNetworkCode(). We expect this
data to be available by late January 2022. - The following payment processors were added to the
Payment.Processorenum:BOACOMPRABOKUCOREGATEWAYFISERVNEOPAYNEOSURFOPENBUCKSPAYSERAPAYVISIONTRUSTLYWINDCAVE
com.maxmind.minfraud.request.CreditCard.last4Digitshas been deprecated in
favor oflastDigitsand will be removed in a future release.lastDigits
/last4Digitsalso now supports two digit values in addition to the
previous four digit values.- Eight digit
com.maxmind.minfraud.request.CreditCard.issuerIdNumberinputs are
now supported in addition to the previously accepted six digitissuerIdNumber.
In most cases, you should send the last four digits for
com.maxmind.minfraud.request.CreditCard.last4Digits. If you send a
issuerIdNumberthat contains an eight digit IIN, and if the credit card brand
is not one of the following, you should send the last two digits for
lastDigits:DiscoverJCBMastercardUnionPayVisa
- Apache Commons Codec is no longer used for generating MD5s.
1.18.0
- The following payment processors were added to the
Payment.Processorenum:CARDKNOXCREDITGUARDCREDORAXDATACAPDLOCALONPAYSAFECHARGE
- Documented the new
testdisposition action. - Added support for the
/disposition/rule_labeloutput in Score, Insights and
Factors. This is available atresponse.getDisposition().getRuleLabel(), and
is the label of the custom rule that was triggered by the transaction. - Added support for the
/credit_card/was_3d_secure_successfulinput in Score,
Insights and Factors. This input should indicate whether or not the outcome of
3D-Secure verification (e.g. Safekey, SecureCode, Verified by Visa) was
successful.trueif customer verification was successful, orfalseif 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. Use thewas3dSecureSuccessful(Boolean)method on
com.maxmind.minfraud.request.CreditCard.Builderto set it.
1.17.0
- The following payment processors were added to the
Payment.Processorenum:APPLE_PAYAPS_PAYMENTS
- Added additional normalizing of the email address if
hashAddressis
enabled. - Added support for the IP address risk reasons in the minFraud Insights and
Factors responses. This is available atresponse.getIpAddress().getRiskReasons().
It is a list ofIpRiskReasonobjects.
1.16.0
1.15.0
- The following payment processors were added to the
Payment.Processorenum:CASHFREEFIRST_ATLANTIC_COMMERCEKOMOJUPAYTMRAZORPAYSYSTEMPAY
- Added support for three new Factors outputs:
/subscores/device(the risk
associated with the device),/subscores/email_local_part(the risk
associated with the part of the email address before the @ symbol) and
/subscores/shipping_address(the risk associated with the shipping
address).