Skip to content

Commit 8980c52

Browse files
docs(api): clarify CVV format in tokenizations and card
1 parent 168e194 commit 8980c52

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 213
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-81febc26f7987ef8f74f2038dddd4799a1e77b2c64d2fe36c2c9f2eb5079476b.yml
3-
openapi_spec_hash: 91e4b19977ca68b988862e967be57d26
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-c150a226e74fdd73925fcba89261022e91a6d4f57dbb305a54063499641427ae.yml
3+
openapi_spec_hash: 1df81bae378c3cbf265b0fb4cefa2969
44
config_hash: 337a99d8cc30006358b7bc2531401669

‎src/lithic/resources/tokenizations.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def simulate(
354354
and merchant tokenization ecosystem.
355355
356356
Args:
357-
cvv: The three digit cvv for the card.
357+
cvv: The three or four digit CVV for the card. AMEX cards use four digit CVVs.
358358
359359
expiration_date: The expiration date of the card in 'MM/YY' format.
360360
@@ -822,7 +822,7 @@ async def simulate(
822822
and merchant tokenization ecosystem.
823823
824824
Args:
825-
cvv: The three digit cvv for the card.
825+
cvv: The three or four digit CVV for the card. AMEX cards use four digit CVVs.
826826
827827
expiration_date: The expiration date of the card in 'MM/YY' format.
828828

‎src/lithic/types/card.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Card(NonPCICard):
1313
"""
1414

1515
cvv: Optional[str] = None
16-
"""Three digit cvv printed on the back of the card."""
16+
"""Three or four digit CVV printed on the card. Amex cards use four digit CVVs"""
1717

1818
pan: Optional[str] = None
1919
"""Primary Account Number (PAN) (i.e.

‎src/lithic/types/tokenization_simulate_params.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class TokenizationSimulateParams(TypedDict, total=False):
1111
cvv: Required[str]
12-
"""The three digit cvv for the card."""
12+
"""The three or four digit CVV for the card. AMEX cards use four digit CVVs."""
1313

1414
expiration_date: Required[str]
1515
"""The expiration date of the card in 'MM/YY' format."""

0 commit comments

Comments
 (0)