@@ -130,6 +130,9 @@ class AuthorizationResult(BaseModel):
130130 rule_version : int
131131 """Version of the rule that was evaluated"""
132132
133+ transaction_token : Optional [str ] = None
134+ """The token of the transaction that triggered the rule evaluation"""
135+
133136
134137class Authentication3DsResultAction (BaseModel ):
135138 type : Literal ["DECLINE" , "CHALLENGE" ]
@@ -163,6 +166,9 @@ class Authentication3DSResult(BaseModel):
163166 rule_version : int
164167 """Version of the rule that was evaluated"""
165168
169+ transaction_token : Optional [str ] = None
170+ """The token of the transaction that triggered the rule evaluation"""
171+
166172
167173class TokenizationResultActionDeclineActionTokenization (BaseModel ):
168174 type : Literal ["DECLINE" ]
@@ -250,6 +256,9 @@ class TokenizationResult(BaseModel):
250256 rule_version : int
251257 """Version of the rule that was evaluated"""
252258
259+ transaction_token : Optional [str ] = None
260+ """The token of the transaction that triggered the rule evaluation"""
261+
253262
254263class ACHResultActionApproveActionACH (BaseModel ):
255264 type : Literal ["APPROVE" ]
@@ -373,5 +382,8 @@ class ACHResult(BaseModel):
373382 rule_version : int
374383 """Version of the rule that was evaluated"""
375384
385+ transaction_token : Optional [str ] = None
386+ """The token of the transaction that triggered the rule evaluation"""
387+
376388
377389V2ListResultsResponse : TypeAlias = Union [AuthorizationResult , Authentication3DSResult , TokenizationResult , ACHResult ]
0 commit comments