Skip to content

Commit 08d4bad

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(api): additional field added to 3DS Responses and Tokenization (#681)
- adds `three_ds_requestor_challenge_indicator` to 3DS retrieve responses - adds `payment_account_reference_id` to Tokenizations
1 parent 6f28e68 commit 08d4bad

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/lithic/types/three_ds/authentication_retrieve_response.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,27 @@ class AuthenticationRetrieveResponse(BaseModel):
368368
populated.
369369
"""
370370

371+
three_ds_requestor_challenge_indicator: Literal[
372+
"NO_PREFERENCE",
373+
"NO_CHALLENGE_REQUESTED",
374+
"CHALLENGE_PREFERENCE",
375+
"CHALLENGE_MANDATE",
376+
"NO_CHALLENGE_RISK_ALREADY_ASSESSED",
377+
"DATA_SHARE_ONLY",
378+
"OTHER",
379+
]
380+
"""Indicates whether a challenge is requested for this transaction
381+
382+
- `NO_PREFERENCE` - No Preference
383+
- `NO_CHALLENGE_REQUESTED` - No Challenge Requested
384+
- `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
385+
- `CHALLENGE_MANDATE` - Challenge requested (Mandate)
386+
- `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional
387+
risk analysis is already performed)
388+
- `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
389+
- `OTHER` - Other indicators not captured by above. These are rarely used
390+
"""
391+
371392
additional_data: Optional[AdditionalData] = None
372393
"""
373394
Object containing additional data about the 3DS request that is beyond the EMV

src/lithic/types/tokenization.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ class Tokenization(BaseModel):
9898

9999
events: Optional[List[Event]] = None
100100
"""A list of events related to the tokenization."""
101+
102+
payment_account_reference_id: Optional[str] = None
103+
"""The network's unique reference for the card that is tokenized."""

0 commit comments

Comments
 (0)