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
@@ -134,6 +172,8 @@ class Condition < Lithic::Internal::Type::BaseModel
134
172
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
135
173
#
136
174
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
175
+
#
176
+
# @param parameters [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters] Additional parameters required for transaction history signal attributes. Requir
137
177
138
178
# The attribute to target.
139
179
#
@@ -206,6 +246,33 @@ class Condition < Lithic::Internal::Type::BaseModel
206
246
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
207
247
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
208
248
# of the authorization.
249
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
250
+
# entity's transaction history. Null if fewer than 30 approved transactions in
251
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
252
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
253
+
# entity over the specified window, in cents. Requires `parameters.scope` and
254
+
# `parameters.interval`.
255
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
256
+
# amounts for the entity over the specified window, in cents. Null if fewer than
257
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
258
+
# and `parameters.interval`.
259
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
260
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
261
+
# Requires `parameters.scope`.
262
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
263
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
264
+
# `parameters.scope`.
265
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
266
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
267
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
268
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
269
+
# supported for `BUSINESS_ACCOUNT` scope.
270
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
271
+
# transaction for the entity. Requires `parameters.scope`.
272
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
273
+
# the entity's transaction history. Requires `parameters.scope`.
274
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
275
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
350
+
#
351
+
# @param interval [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval] The time window for statistical attributes (`AMOUNT_Z_SCORE`, `AVG_TRANSACTION_A
352
+
#
353
+
# @param scope [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope] The entity scope to evaluate the attribute against.
354
+
355
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
356
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
357
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
# @param scope [Symbol, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope] The entity scope to load transaction history signals for.
252
+
#
253
+
# @param name [String] The variable name for this feature in the rule function signature
254
+
#
255
+
# @param type [Symbol, :TRANSACTION_HISTORY_SIGNALS]
256
+
257
+
# The entity scope to load transaction history signals for.
@@ -26,7 +26,7 @@ class TypescriptCodeParameters < Lithic::Internal::Type::BaseModel
26
26
#
27
27
# @param code [String] The TypeScript source code of the rule. Must define a `rule()` function that acc
28
28
#
29
-
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature>] Features available to the TypeScript code at evaluation time
29
+
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>] Features available to the TypeScript code at evaluation time
0 commit comments