@@ -113,26 +113,27 @@ class Condition(TypedDict, total=False):
113113 - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
114114 fee field in the settlement/cardholder billing currency. This is the amount
115115 the issuer should authorize against unless the issuer is paying the acquirer
116- fee on behalf of the cardholder.
116+ fee on behalf of the cardholder. Use an integer value.
117117 - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
118- represents the amount of cash being withdrawn or advanced.
118+ represents the amount of cash being withdrawn or advanced. Use an integer
119+ value.
119120 - `RISK_SCORE`: Network-provided score assessing risk level associated with a
120121 given authorization. Scores are on a range of 0-999, with 0 representing the
121122 lowest risk and 999 representing the highest risk. For Visa transactions,
122123 where the raw score has a range of 0-99, Lithic will normalize the score by
123- multiplying the raw score by 10x.
124+ multiplying the raw score by 10x. Use an integer value.
124125 - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
125- trailing 15 minutes before the authorization.
126+ trailing 15 minutes before the authorization. Use an integer value.
126127 - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
127- trailing hour up and until the authorization.
128+ trailing hour up and until the authorization. Use an integer value.
128129 - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
129- trailing 24 hours up and until the authorization.
130+ trailing 24 hours up and until the authorization. Use an integer value.
130131 - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
131- the trailing 15 minutes before the authorization.
132+ the trailing 15 minutes before the authorization. Use an integer value.
132133 - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
133- the trailing hour up and until the authorization.
134+ the trailing hour up and until the authorization. Use an integer value.
134135 - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
135- the trailing 24 hours up and until the authorization.
136+ the trailing 24 hours up and until the authorization. Use an integer value.
136137 - `CARD_STATE`: The current state of the card associated with the transaction.
137138 Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
138139 `PENDING_FULFILLMENT`.
@@ -157,18 +158,20 @@ class Condition(TypedDict, total=False):
157158 data, the service location postal code is used. Otherwise, falls back to the
158159 card acceptor postal code.
159160 - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
161+ Use an integer value.
160162 - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
161- of the authorization.
163+ of the authorization. Use an integer value.
162164 - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
163165 entity's transaction history. Null if fewer than 30 approved transactions in
164166 the specified window. Requires `parameters.scope` and `parameters.interval`.
167+ Use a decimal value.
165168 - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
166169 entity over the specified window, in cents. Requires `parameters.scope` and
167- `parameters.interval`.
170+ `parameters.interval`. Use a decimal value.
168171 - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
169172 amounts for the entity over the specified window, in cents. Null if fewer than
170173 30 approved transactions in the specified window. Requires `parameters.scope`
171- and `parameters.interval`.
174+ and `parameters.interval`. Use a decimal value.
172175 - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
173176 in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
174177 Requires `parameters.scope`.
@@ -179,26 +182,31 @@ class Condition(TypedDict, total=False):
179182 Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
180183 - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
181184 the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
182- supported for `BUSINESS_ACCOUNT` scope.
185+ supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
183186 - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
184- transaction for the entity. Requires `parameters.scope`.
187+ transaction for the entity, rounded to the nearest whole day. Requires
188+ `parameters.scope`. Use an integer value.
185189 - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
186- the entity's transaction history. Requires `parameters.scope`.
190+ the entity's transaction history. Requires `parameters.scope`. Use an integer
191+ value.
187192 - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
188193 card's approved transaction history (capped at the 1000 most recently seen
189194 merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
190195 `parameters` required.
191196 - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
192197 a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
198+ Use a decimal value.
193199 - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
194200 between the postal code centers of the last card-present transaction and the
195201 current transaction, divided by the elapsed time. Null if there is no prior
196202 card-present transaction, if either postal code cannot be geocoded, or if
197- elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
203+ elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
204+ decimal value.
198205 - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
199206 code centers of the last card-present transaction and the current transaction.
200207 Null if there is no prior card-present transaction or if either postal code
201208 cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
209+ Use a decimal value.
202210 """
203211
204212 operation : Required [ConditionalOperation ]
0 commit comments