Skip to content

Commit 6870b71

Browse files
committed
Mention brand specific last digits expectations
1 parent 9afe010 commit 6870b71

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@
88
deprecated in favor of `last_digits` and will be removed in a future
99
release. `last_digits`/`last_4_digits` also now supports two digit values
1010
in addition to the previous four digit values.
11-
* Eight digit `issuer_id_numbers` inputs are now supported by
11+
* Eight digit `issuer_id_number` inputs are now supported by
1212
`Minfraud::Components::CreditCard` in addition to the previously accepted
13-
six digit `issuer_id_number`s. If you send six digits for the
14-
`issuer_id_number`, you should send the last four digits for `last_digits`.
15-
If you send eight digits for `issuer_id_number`, you should send the last
16-
two digits for `last_digits`.
13+
six digit `issuer_id_number`. In most cases, you should send the last four
14+
digits for `last_digits`. If you send an `issuer_id_number` that contains
15+
an eight digit IIN, and if the credit card brand is not one of the
16+
following, you should send the last two digits for `last_digits`:
17+
* `Discover`
18+
* `JCB`
19+
* `Mastercard`
20+
* `UnionPay`
21+
* `Visa`
1722

1823
## v2.0.0 (2021-12-06)
1924

0 commit comments

Comments
 (0)