You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,7 +166,7 @@ class Condition < Lithic::Internal::Type::BaseModel
114
166
#
115
167
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
116
168
#
117
-
# @param parameters [Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters] Additional parameters for spend velocity attributes. Required when `attribute` i
169
+
# @param parameters [Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters] Additional parameters for certain attributes. Required when `attribute` is
118
170
119
171
# The attribute to target.
120
172
#
@@ -170,6 +222,52 @@ class Condition < Lithic::Internal::Type::BaseModel
170
222
# - `SPEND_VELOCITY_AMOUNT`: The total spend amount (in cents) of transactions
171
223
# matching the specified filters within the given period. Requires `parameters`
172
224
# with `scope`, `period`, and optional `filters`. Use an integer value.
225
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
226
+
# entity's transaction history. Null if fewer than 30 approved transactions in
227
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
228
+
# Use a decimal value.
229
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
230
+
# entity over the specified window, in cents. Requires `parameters.scope` and
231
+
# `parameters.interval`. Use a decimal value.
232
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
233
+
# amounts for the entity over the specified window, in cents. Null if fewer than
234
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
235
+
# and `parameters.interval`. Use a decimal value.
236
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
237
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
238
+
# Requires `parameters.scope`.
239
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
240
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
241
+
# `parameters.scope`.
242
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
243
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
244
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
245
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Use
246
+
# an integer value.
247
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
248
+
# transaction for the entity, rounded to the nearest whole day. Requires
249
+
# `parameters.scope`. Use an integer value.
250
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
251
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
252
+
# value.
253
+
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
254
+
# card's approved transaction history (capped at the 1000 most recently seen
255
+
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
256
+
# `parameters` required.
257
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
258
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
259
+
# Use a decimal value.
260
+
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
261
+
# between the postal code centers of the last card-present transaction and the
262
+
# current transaction, divided by the elapsed time. Null if there is no prior
263
+
# card-present transaction, if either postal code cannot be geocoded, or if
264
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
265
+
# decimal value.
266
+
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
267
+
# code centers of the last card-present transaction and the current transaction.
268
+
# Null if there is no prior card-present transaction or if either postal code
269
+
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
# @param interval [Symbol, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::Interval] The time window for statistical attributes (`AMOUNT_Z_SCORE`, `AVG_TRANSACTION_A
370
+
#
226
371
# @param period [Lithic::Models::AuthRules::VelocityLimitPeriod::TrailingWindowObject, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowDay, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowWeek, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowMonth, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowYear] The time period over which to calculate the spend velocity.
227
372
#
228
-
# @param scope [Symbol, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::Scope] The entity scope to evaluate the attribute against.
373
+
# @param scope [Symbol, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::Scope] The entity scope to evaluate the attribute against. `GLOBAL` is only valid for
374
+
#
375
+
# @param unit [Symbol, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::Unit] The unit for impossible travel attributes. Required when `attribute` is
376
+
# `TRAVEL\_
229
377
230
-
# The entity scope to evaluate the attribute against.
378
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
379
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
380
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
0 commit comments