Skip to content

Commit ba13743

Browse files
committed
Tweak token docs. Add release date.
1 parent cf9f54a commit ba13743

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGELOG
22
=========
33

4-
1.2.0
4+
1.2.0 (2016-11-11)
55
------------------
66

77
* Added `/credit_card/token` input. Use the `token(String)` method on

src/main/java/com/maxmind/minfraud/request/CreditCard.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,14 @@ public CreditCard.Builder cvvResult(Character code) {
127127
}
128128

129129
/**
130-
* @param token A token uniquely identifying the card. This should not be
131-
* the actual credit card number.
130+
* @param token A token uniquely identifying the card. The token
131+
* should consist of non-space printable ASCII
132+
* characters. If the token is all digits, it must be
133+
* more than 19 characters long. The token must not be a
134+
* primary account number (PAN) or a simple
135+
* transformation of it. If you have a valid token that
136+
* looks like a PAN but is not one, you may prefix that
137+
* token with a fixed string, e.g., "token-".
132138
* @return The builder object.
133139
* @throws IllegalArgumentException when the token is invalid.
134140
*

0 commit comments

Comments
 (0)