maxmind / minfraud-api-python

Python API for minFraud Score, Insights, and Factors
https://minfraud.readthedocs.org/
Apache License 2.0
27 stars 12 forks source link

Add support for 8 digit IINs and 2 digit last_digits #91

Closed ugexe closed 2 years ago

ugexe commented 2 years ago

Previously issuer_id_number was expected to be 6 digits and last_4_digits to be 4 digits. This changes the validation to additionally allow for 8 digit issuer_id_numbers and 2 digit last_4_digits.

Additionally last_4_digits has been deprecated in favor of the more appropriately named last_digits.