lithic 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +2 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +10 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +52 -34
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +533 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +18 -14
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
- data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -9
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/balance.rb +8 -6
- data/lib/lithic/models/card_authorization.rb +1266 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
- data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
- data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/event.rb +13 -4
- data/lib/lithic/models/event_list_params.rb +7 -2
- data/lib/lithic/models/event_subscription.rb +7 -2
- data/lib/lithic/models/events/subscription_create_params.rb +7 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +7 -2
- data/lib/lithic/models/external_bank_account.rb +1 -1
- data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/statement.rb +4 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_event.rb +1 -0
- data/lib/lithic/models/kyb_business_entity.rb +2 -2
- data/lib/lithic/models/parsed_webhook_event.rb +4 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- data/lib/lithic/models/statement_totals.rb +6 -6
- data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
- data/lib/lithic/models/transaction.rb +2 -2
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +8 -0
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/resources/card_authorizations.rb +45 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +6 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +8 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +75 -48
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +24 -18
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +24 -12
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
- data/rbi/lithic/models/balance.rbi +12 -6
- data/rbi/lithic/models/card_authorization.rbi +2540 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
- data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
- data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
- data/rbi/lithic/models/card_program.rbi +3 -6
- data/rbi/lithic/models/event.rbi +23 -6
- data/rbi/lithic/models/event_list_params.rbi +11 -2
- data/rbi/lithic/models/event_subscription.rbi +11 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
- data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
- data/rbi/lithic/models/financial_event.rbi +2 -0
- data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- data/rbi/lithic/models/statement_totals.rbi +9 -18
- data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
- data/rbi/lithic/models/transaction.rbi +3 -3
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +11 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
- data/rbi/lithic/resources/card_authorizations.rbi +35 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/balance.rbs +17 -9
- data/sig/lithic/models/card_authorization.rbs +1038 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
- data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
- data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
- data/sig/lithic/models/card_program.rbs +4 -6
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
- data/sig/lithic/models/financial_event.rbs +2 -0
- data/sig/lithic/models/kyb_business_entity.rbs +4 -6
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- data/sig/lithic/models/statement_totals.rbs +12 -18
- data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +4 -8
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +8 -0
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +20 -2
|
@@ -130,26 +130,27 @@ module Lithic
|
|
|
130
130
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
131
131
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
132
132
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
133
|
-
# fee on behalf of the cardholder.
|
|
133
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
134
134
|
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
135
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
135
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
136
|
+
# value.
|
|
136
137
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
137
138
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
138
139
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
139
140
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
140
|
-
# multiplying the raw score by 10x.
|
|
141
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
141
142
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
142
|
-
# trailing 15 minutes before the authorization.
|
|
143
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
143
144
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
144
|
-
# trailing hour up and until the authorization.
|
|
145
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
145
146
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
146
|
-
# trailing 24 hours up and until the authorization.
|
|
147
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
147
148
|
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
148
|
-
# the trailing 15 minutes before the authorization.
|
|
149
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
149
150
|
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
150
|
-
# the trailing hour up and until the authorization.
|
|
151
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
151
152
|
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
152
|
-
# the trailing 24 hours up and until the authorization.
|
|
153
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
153
154
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
154
155
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
155
156
|
# `PENDING_FULFILLMENT`.
|
|
@@ -174,18 +175,21 @@ module Lithic
|
|
|
174
175
|
# data, the service location postal code is used. Otherwise, falls back to the
|
|
175
176
|
# card acceptor postal code.
|
|
176
177
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
178
|
+
# Use an integer value.
|
|
177
179
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
178
|
-
# of the authorization.
|
|
180
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
181
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
179
182
|
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
180
183
|
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
181
184
|
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
185
|
+
# Use a decimal value.
|
|
182
186
|
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
183
187
|
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
184
|
-
# `parameters.interval`.
|
|
188
|
+
# `parameters.interval`. Use a decimal value.
|
|
185
189
|
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
186
190
|
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
187
191
|
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
188
|
-
# and `parameters.interval`.
|
|
192
|
+
# and `parameters.interval`. Use a decimal value.
|
|
189
193
|
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
190
194
|
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
191
195
|
# Requires `parameters.scope`.
|
|
@@ -196,26 +200,31 @@ module Lithic
|
|
|
196
200
|
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
197
201
|
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
198
202
|
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
199
|
-
# supported for `BUSINESS_ACCOUNT` scope.
|
|
203
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
200
204
|
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
201
|
-
# transaction for the entity. Requires
|
|
205
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
206
|
+
# `parameters.scope`. Use an integer value.
|
|
202
207
|
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
203
|
-
# the entity's transaction history. Requires `parameters.scope`.
|
|
208
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
209
|
+
# value.
|
|
204
210
|
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
205
211
|
# card's approved transaction history (capped at the 1000 most recently seen
|
|
206
212
|
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
207
213
|
# `parameters` required.
|
|
208
214
|
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
209
215
|
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
216
|
+
# Use a decimal value.
|
|
210
217
|
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
211
218
|
# between the postal code centers of the last card-present transaction and the
|
|
212
219
|
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
213
220
|
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
214
|
-
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
|
|
221
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
222
|
+
# decimal value.
|
|
215
223
|
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
216
224
|
# code centers of the last card-present transaction and the current transaction.
|
|
217
225
|
# Null if there is no prior card-present transaction or if either postal code
|
|
218
226
|
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
227
|
+
# Use a decimal value.
|
|
219
228
|
sig do
|
|
220
229
|
returns(
|
|
221
230
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
@@ -290,26 +299,27 @@ module Lithic
|
|
|
290
299
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
291
300
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
292
301
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
293
|
-
# fee on behalf of the cardholder.
|
|
302
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
294
303
|
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
295
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
304
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
305
|
+
# value.
|
|
296
306
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
297
307
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
298
308
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
299
309
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
300
|
-
# multiplying the raw score by 10x.
|
|
310
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
301
311
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
302
|
-
# trailing 15 minutes before the authorization.
|
|
312
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
303
313
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
304
|
-
# trailing hour up and until the authorization.
|
|
314
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
305
315
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
306
|
-
# trailing 24 hours up and until the authorization.
|
|
316
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
307
317
|
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
308
|
-
# the trailing 15 minutes before the authorization.
|
|
318
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
309
319
|
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
310
|
-
# the trailing hour up and until the authorization.
|
|
320
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
311
321
|
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
312
|
-
# the trailing 24 hours up and until the authorization.
|
|
322
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
313
323
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
314
324
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
315
325
|
# `PENDING_FULFILLMENT`.
|
|
@@ -334,18 +344,21 @@ module Lithic
|
|
|
334
344
|
# data, the service location postal code is used. Otherwise, falls back to the
|
|
335
345
|
# card acceptor postal code.
|
|
336
346
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
347
|
+
# Use an integer value.
|
|
337
348
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
338
|
-
# of the authorization.
|
|
349
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
350
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
339
351
|
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
340
352
|
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
341
353
|
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
354
|
+
# Use a decimal value.
|
|
342
355
|
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
343
356
|
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
344
|
-
# `parameters.interval`.
|
|
357
|
+
# `parameters.interval`. Use a decimal value.
|
|
345
358
|
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
346
359
|
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
347
360
|
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
348
|
-
# and `parameters.interval`.
|
|
361
|
+
# and `parameters.interval`. Use a decimal value.
|
|
349
362
|
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
350
363
|
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
351
364
|
# Requires `parameters.scope`.
|
|
@@ -356,26 +369,31 @@ module Lithic
|
|
|
356
369
|
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
357
370
|
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
358
371
|
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
359
|
-
# supported for `BUSINESS_ACCOUNT` scope.
|
|
372
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
360
373
|
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
361
|
-
# transaction for the entity. Requires
|
|
374
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
375
|
+
# `parameters.scope`. Use an integer value.
|
|
362
376
|
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
363
|
-
# the entity's transaction history. Requires `parameters.scope`.
|
|
377
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
378
|
+
# value.
|
|
364
379
|
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
365
380
|
# card's approved transaction history (capped at the 1000 most recently seen
|
|
366
381
|
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
367
382
|
# `parameters` required.
|
|
368
383
|
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
369
384
|
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
385
|
+
# Use a decimal value.
|
|
370
386
|
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
371
387
|
# between the postal code centers of the last card-present transaction and the
|
|
372
388
|
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
373
389
|
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
374
|
-
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
|
|
390
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
391
|
+
# decimal value.
|
|
375
392
|
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
376
393
|
# code centers of the last card-present transaction and the current transaction.
|
|
377
394
|
# Null if there is no prior card-present transaction or if either postal code
|
|
378
395
|
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
396
|
+
# Use a decimal value.
|
|
379
397
|
attribute:,
|
|
380
398
|
# The operation to apply to the attribute
|
|
381
399
|
operation:,
|
|
@@ -431,26 +449,27 @@ module Lithic
|
|
|
431
449
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
432
450
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
433
451
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
434
|
-
# fee on behalf of the cardholder.
|
|
452
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
435
453
|
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
436
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
454
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
455
|
+
# value.
|
|
437
456
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
438
457
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
439
458
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
440
459
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
441
|
-
# multiplying the raw score by 10x.
|
|
460
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
442
461
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
443
|
-
# trailing 15 minutes before the authorization.
|
|
462
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
444
463
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
445
|
-
# trailing hour up and until the authorization.
|
|
464
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
446
465
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
447
|
-
# trailing 24 hours up and until the authorization.
|
|
466
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
448
467
|
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
449
|
-
# the trailing 15 minutes before the authorization.
|
|
468
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
450
469
|
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
451
|
-
# the trailing hour up and until the authorization.
|
|
470
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
452
471
|
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
453
|
-
# the trailing 24 hours up and until the authorization.
|
|
472
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
454
473
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
455
474
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
456
475
|
# `PENDING_FULFILLMENT`.
|
|
@@ -475,18 +494,21 @@ module Lithic
|
|
|
475
494
|
# data, the service location postal code is used. Otherwise, falls back to the
|
|
476
495
|
# card acceptor postal code.
|
|
477
496
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
497
|
+
# Use an integer value.
|
|
478
498
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
479
|
-
# of the authorization.
|
|
499
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
500
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
480
501
|
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
481
502
|
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
482
503
|
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
504
|
+
# Use a decimal value.
|
|
483
505
|
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
484
506
|
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
485
|
-
# `parameters.interval`.
|
|
507
|
+
# `parameters.interval`. Use a decimal value.
|
|
486
508
|
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
487
509
|
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
488
510
|
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
489
|
-
# and `parameters.interval`.
|
|
511
|
+
# and `parameters.interval`. Use a decimal value.
|
|
490
512
|
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
491
513
|
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
492
514
|
# Requires `parameters.scope`.
|
|
@@ -497,26 +519,31 @@ module Lithic
|
|
|
497
519
|
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
498
520
|
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
499
521
|
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
500
|
-
# supported for `BUSINESS_ACCOUNT` scope.
|
|
522
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
501
523
|
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
502
|
-
# transaction for the entity. Requires
|
|
524
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
525
|
+
# `parameters.scope`. Use an integer value.
|
|
503
526
|
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
504
|
-
# the entity's transaction history. Requires `parameters.scope`.
|
|
527
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
528
|
+
# value.
|
|
505
529
|
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
506
530
|
# card's approved transaction history (capped at the 1000 most recently seen
|
|
507
531
|
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
508
532
|
# `parameters` required.
|
|
509
533
|
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
510
534
|
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
535
|
+
# Use a decimal value.
|
|
511
536
|
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
512
537
|
# between the postal code centers of the last card-present transaction and the
|
|
513
538
|
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
514
539
|
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
515
|
-
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
|
|
540
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
541
|
+
# decimal value.
|
|
516
542
|
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
517
543
|
# code centers of the last card-present transaction and the current transaction.
|
|
518
544
|
# Null if there is no prior card-present transaction or if either postal code
|
|
519
545
|
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
546
|
+
# Use a decimal value.
|
|
520
547
|
module Attribute
|
|
521
548
|
extend Lithic::Internal::Type::Enum
|
|
522
549
|
|