Skip to content

Commit 37beb18

Browse files
committed
Mention brand specific last digits expectations
1 parent 181d11d commit 37beb18

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ CHANGELOG
2727
`lastDigits`/`last4digits` also now supports two digit values in
2828
addition to the previous four digit values.
2929
* Eight digit `/credit_card/issuerIdNumber` inputs are now supported in
30-
addition to the previously accepted six digit `issuerIdNumber`. If you
31-
send six digits for the `issuerIdNumber`, you should send the last four
32-
digits for `lastDigits`. If you send eight digits for `issuerIdNumber`
33-
you should send the last two digits for `lastDigits`.
30+
addition to the previously accepted six digit `issuerIdNumber`. In most
31+
cases, you should send the last four digits for `lastDigits`. If you send
32+
an `issuerIdNumber` that contains an eight digit IIN, and if the credit
33+
card brand is not one of the following, you should send the last two digits
34+
for `lastDigits`:
35+
* `Discover`
36+
* `JCB`
37+
* `Mastercard`
38+
* `UnionPay`
39+
* `Visa`
3440

3541
4.3.0 (2021-08-31)
3642
------------------

0 commit comments

Comments
 (0)