lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56
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 +39 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +52 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -79,7 +79,8 @@ module Lithic
|
|
|
79
79
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
80
80
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
81
81
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
82
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
82
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
83
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
83
84
|
#
|
|
84
85
|
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::Type]
|
|
85
86
|
required :type, enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::Type }
|
|
@@ -125,7 +126,7 @@ module Lithic
|
|
|
125
126
|
# @!attribute parameters
|
|
126
127
|
# Parameters for the Auth Rule
|
|
127
128
|
#
|
|
128
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
129
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
129
130
|
required :parameters,
|
|
130
131
|
union: -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters }
|
|
131
132
|
|
|
@@ -142,7 +143,7 @@ module Lithic
|
|
|
142
143
|
# Some parameter documentations has been truncated, see
|
|
143
144
|
# {Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion} for more details.
|
|
144
145
|
#
|
|
145
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
146
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
146
147
|
#
|
|
147
148
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
148
149
|
|
|
@@ -160,260 +161,14 @@ module Lithic
|
|
|
160
161
|
|
|
161
162
|
variant -> { Lithic::AuthRules::Conditional3DSActionParameters }
|
|
162
163
|
|
|
163
|
-
variant -> { Lithic::
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
#
|
|
169
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action]
|
|
170
|
-
required :action,
|
|
171
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action }
|
|
172
|
-
|
|
173
|
-
# @!attribute conditions
|
|
174
|
-
#
|
|
175
|
-
# @return [Array<Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
|
176
|
-
required :conditions,
|
|
177
|
-
-> do
|
|
178
|
-
Lithic::Internal::Type::ArrayOf[
|
|
179
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
180
|
-
]
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
# @!method initialize(action:, conditions:)
|
|
184
|
-
# @param action [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action] The action to take if the conditions are met.
|
|
185
|
-
#
|
|
186
|
-
# @param conditions [Array<Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
|
187
|
-
|
|
188
|
-
# The action to take if the conditions are met.
|
|
189
|
-
#
|
|
190
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters#action
|
|
191
|
-
module Action
|
|
192
|
-
extend Lithic::Internal::Type::Enum
|
|
193
|
-
|
|
194
|
-
DECLINE = :DECLINE
|
|
195
|
-
CHALLENGE = :CHALLENGE
|
|
196
|
-
|
|
197
|
-
# @!method self.values
|
|
198
|
-
# @return [Array<Symbol>]
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
202
|
-
# @!attribute attribute
|
|
203
|
-
# The attribute to target.
|
|
204
|
-
#
|
|
205
|
-
# The following attributes may be targeted:
|
|
206
|
-
#
|
|
207
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
208
|
-
# business by the types of goods or services it provides.
|
|
209
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
210
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
211
|
-
# Netherlands Antilles.
|
|
212
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
213
|
-
# the transaction.
|
|
214
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
215
|
-
# (merchant).
|
|
216
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
217
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
218
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
219
|
-
# `TOKEN_AUTHENTICATED`.
|
|
220
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
221
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
222
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
223
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
224
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
225
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
226
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
227
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
228
|
-
# fee on behalf of the cardholder.
|
|
229
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
230
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
231
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
232
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
233
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
234
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
235
|
-
# multiplying the raw score by 10x.
|
|
236
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
237
|
-
# trailing 15 minutes before the authorization.
|
|
238
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
239
|
-
# trailing hour up and until the authorization.
|
|
240
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
241
|
-
# trailing 24 hours up and until the authorization.
|
|
242
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
243
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
244
|
-
# `PENDING_FULFILLMENT`.
|
|
245
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
246
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
247
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
248
|
-
# `OK`, `BLOCKED`.
|
|
249
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
250
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
251
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
252
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
253
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
254
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
255
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
256
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
257
|
-
#
|
|
258
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute, nil]
|
|
259
|
-
optional :attribute,
|
|
260
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute }
|
|
261
|
-
|
|
262
|
-
# @!attribute operation
|
|
263
|
-
# The operation to apply to the attribute
|
|
264
|
-
#
|
|
265
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation, nil]
|
|
266
|
-
optional :operation,
|
|
267
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation }
|
|
268
|
-
|
|
269
|
-
# @!attribute value
|
|
270
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
271
|
-
#
|
|
272
|
-
# @return [String, Integer, Array<String>, nil]
|
|
273
|
-
optional :value,
|
|
274
|
-
union: -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value }
|
|
275
|
-
|
|
276
|
-
# @!method initialize(attribute: nil, operation: nil, value: nil)
|
|
277
|
-
# Some parameter documentations has been truncated, see
|
|
278
|
-
# {Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition}
|
|
279
|
-
# for more details.
|
|
280
|
-
#
|
|
281
|
-
# @param attribute [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute] The attribute to target.
|
|
282
|
-
#
|
|
283
|
-
# @param operation [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation] The operation to apply to the attribute
|
|
284
|
-
#
|
|
285
|
-
# @param value [String, Integer, Array<String>] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
286
|
-
|
|
287
|
-
# The attribute to target.
|
|
288
|
-
#
|
|
289
|
-
# The following attributes may be targeted:
|
|
290
|
-
#
|
|
291
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
292
|
-
# business by the types of goods or services it provides.
|
|
293
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
294
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
295
|
-
# Netherlands Antilles.
|
|
296
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
297
|
-
# the transaction.
|
|
298
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
299
|
-
# (merchant).
|
|
300
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
301
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
302
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
303
|
-
# `TOKEN_AUTHENTICATED`.
|
|
304
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
305
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
306
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
307
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
308
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
309
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
310
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
311
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
312
|
-
# fee on behalf of the cardholder.
|
|
313
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
314
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
315
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
316
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
317
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
318
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
319
|
-
# multiplying the raw score by 10x.
|
|
320
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
321
|
-
# trailing 15 minutes before the authorization.
|
|
322
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
323
|
-
# trailing hour up and until the authorization.
|
|
324
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
325
|
-
# trailing 24 hours up and until the authorization.
|
|
326
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
327
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
328
|
-
# `PENDING_FULFILLMENT`.
|
|
329
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
330
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
331
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
332
|
-
# `OK`, `BLOCKED`.
|
|
333
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
334
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
335
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
336
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
337
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
338
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
339
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
340
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
341
|
-
#
|
|
342
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#attribute
|
|
343
|
-
module Attribute
|
|
344
|
-
extend Lithic::Internal::Type::Enum
|
|
345
|
-
|
|
346
|
-
MCC = :MCC
|
|
347
|
-
COUNTRY = :COUNTRY
|
|
348
|
-
CURRENCY = :CURRENCY
|
|
349
|
-
MERCHANT_ID = :MERCHANT_ID
|
|
350
|
-
DESCRIPTOR = :DESCRIPTOR
|
|
351
|
-
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
|
352
|
-
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
|
353
|
-
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
|
354
|
-
CASH_AMOUNT = :CASH_AMOUNT
|
|
355
|
-
RISK_SCORE = :RISK_SCORE
|
|
356
|
-
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
|
357
|
-
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
|
358
|
-
CARD_TRANSACTION_COUNT_24_H = :CARD_TRANSACTION_COUNT_24H
|
|
359
|
-
CARD_STATE = :CARD_STATE
|
|
360
|
-
PIN_ENTERED = :PIN_ENTERED
|
|
361
|
-
PIN_STATUS = :PIN_STATUS
|
|
362
|
-
WALLET_TYPE = :WALLET_TYPE
|
|
363
|
-
TRANSACTION_INITIATOR = :TRANSACTION_INITIATOR
|
|
364
|
-
ADDRESS_MATCH = :ADDRESS_MATCH
|
|
365
|
-
|
|
366
|
-
# @!method self.values
|
|
367
|
-
# @return [Array<Symbol>]
|
|
368
|
-
end
|
|
369
|
-
|
|
370
|
-
# The operation to apply to the attribute
|
|
371
|
-
#
|
|
372
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#operation
|
|
373
|
-
module Operation
|
|
374
|
-
extend Lithic::Internal::Type::Enum
|
|
375
|
-
|
|
376
|
-
IS_ONE_OF = :IS_ONE_OF
|
|
377
|
-
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
|
378
|
-
MATCHES = :MATCHES
|
|
379
|
-
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
|
380
|
-
IS_EQUAL_TO = :IS_EQUAL_TO
|
|
381
|
-
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
|
382
|
-
IS_GREATER_THAN = :IS_GREATER_THAN
|
|
383
|
-
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
|
384
|
-
IS_LESS_THAN = :IS_LESS_THAN
|
|
385
|
-
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
|
386
|
-
|
|
387
|
-
# @!method self.values
|
|
388
|
-
# @return [Array<Symbol>]
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
392
|
-
#
|
|
393
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#value
|
|
394
|
-
module Value
|
|
395
|
-
extend Lithic::Internal::Type::Union
|
|
396
|
-
|
|
397
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
398
|
-
variant String
|
|
399
|
-
|
|
400
|
-
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
|
401
|
-
variant Integer
|
|
402
|
-
|
|
403
|
-
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
|
404
|
-
variant -> { Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::StringArray }
|
|
405
|
-
|
|
406
|
-
# @!method self.variants
|
|
407
|
-
# @return [Array(String, Integer, Array<String>)]
|
|
408
|
-
|
|
409
|
-
# @type [Lithic::Internal::Type::Converter]
|
|
410
|
-
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
|
411
|
-
end
|
|
412
|
-
end
|
|
413
|
-
end
|
|
164
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
165
|
+
|
|
166
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
167
|
+
|
|
168
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
414
169
|
|
|
415
170
|
# @!method self.variants
|
|
416
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
171
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
417
172
|
end
|
|
418
173
|
end
|
|
419
174
|
|
|
@@ -422,7 +177,7 @@ module Lithic
|
|
|
422
177
|
# @!attribute parameters
|
|
423
178
|
# Parameters for the Auth Rule
|
|
424
179
|
#
|
|
425
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
180
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
426
181
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters }
|
|
427
182
|
|
|
428
183
|
response_only do
|
|
@@ -438,7 +193,7 @@ module Lithic
|
|
|
438
193
|
# Some parameter documentations has been truncated, see
|
|
439
194
|
# {Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion} for more details.
|
|
440
195
|
#
|
|
441
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
196
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
442
197
|
#
|
|
443
198
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
444
199
|
|
|
@@ -456,260 +211,14 @@ module Lithic
|
|
|
456
211
|
|
|
457
212
|
variant -> { Lithic::AuthRules::Conditional3DSActionParameters }
|
|
458
213
|
|
|
459
|
-
variant -> { Lithic::
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
#
|
|
465
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action]
|
|
466
|
-
required :action,
|
|
467
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action }
|
|
468
|
-
|
|
469
|
-
# @!attribute conditions
|
|
470
|
-
#
|
|
471
|
-
# @return [Array<Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
|
472
|
-
required :conditions,
|
|
473
|
-
-> do
|
|
474
|
-
Lithic::Internal::Type::ArrayOf[
|
|
475
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
476
|
-
]
|
|
477
|
-
end
|
|
478
|
-
|
|
479
|
-
# @!method initialize(action:, conditions:)
|
|
480
|
-
# @param action [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action] The action to take if the conditions are met.
|
|
481
|
-
#
|
|
482
|
-
# @param conditions [Array<Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
|
483
|
-
|
|
484
|
-
# The action to take if the conditions are met.
|
|
485
|
-
#
|
|
486
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters#action
|
|
487
|
-
module Action
|
|
488
|
-
extend Lithic::Internal::Type::Enum
|
|
489
|
-
|
|
490
|
-
DECLINE = :DECLINE
|
|
491
|
-
CHALLENGE = :CHALLENGE
|
|
492
|
-
|
|
493
|
-
# @!method self.values
|
|
494
|
-
# @return [Array<Symbol>]
|
|
495
|
-
end
|
|
496
|
-
|
|
497
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
498
|
-
# @!attribute attribute
|
|
499
|
-
# The attribute to target.
|
|
500
|
-
#
|
|
501
|
-
# The following attributes may be targeted:
|
|
502
|
-
#
|
|
503
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
504
|
-
# business by the types of goods or services it provides.
|
|
505
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
506
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
507
|
-
# Netherlands Antilles.
|
|
508
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
509
|
-
# the transaction.
|
|
510
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
511
|
-
# (merchant).
|
|
512
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
513
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
514
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
515
|
-
# `TOKEN_AUTHENTICATED`.
|
|
516
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
517
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
518
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
519
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
520
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
521
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
522
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
523
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
524
|
-
# fee on behalf of the cardholder.
|
|
525
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
526
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
527
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
528
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
529
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
530
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
531
|
-
# multiplying the raw score by 10x.
|
|
532
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
533
|
-
# trailing 15 minutes before the authorization.
|
|
534
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
535
|
-
# trailing hour up and until the authorization.
|
|
536
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
537
|
-
# trailing 24 hours up and until the authorization.
|
|
538
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
539
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
540
|
-
# `PENDING_FULFILLMENT`.
|
|
541
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
542
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
543
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
544
|
-
# `OK`, `BLOCKED`.
|
|
545
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
546
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
547
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
548
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
549
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
550
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
551
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
552
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
553
|
-
#
|
|
554
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute, nil]
|
|
555
|
-
optional :attribute,
|
|
556
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute }
|
|
557
|
-
|
|
558
|
-
# @!attribute operation
|
|
559
|
-
# The operation to apply to the attribute
|
|
560
|
-
#
|
|
561
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation, nil]
|
|
562
|
-
optional :operation,
|
|
563
|
-
enum: -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation }
|
|
564
|
-
|
|
565
|
-
# @!attribute value
|
|
566
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
567
|
-
#
|
|
568
|
-
# @return [String, Integer, Array<String>, nil]
|
|
569
|
-
optional :value,
|
|
570
|
-
union: -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value }
|
|
571
|
-
|
|
572
|
-
# @!method initialize(attribute: nil, operation: nil, value: nil)
|
|
573
|
-
# Some parameter documentations has been truncated, see
|
|
574
|
-
# {Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition}
|
|
575
|
-
# for more details.
|
|
576
|
-
#
|
|
577
|
-
# @param attribute [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute] The attribute to target.
|
|
578
|
-
#
|
|
579
|
-
# @param operation [Symbol, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation] The operation to apply to the attribute
|
|
580
|
-
#
|
|
581
|
-
# @param value [String, Integer, Array<String>] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
582
|
-
|
|
583
|
-
# The attribute to target.
|
|
584
|
-
#
|
|
585
|
-
# The following attributes may be targeted:
|
|
586
|
-
#
|
|
587
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
588
|
-
# business by the types of goods or services it provides.
|
|
589
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
590
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
591
|
-
# Netherlands Antilles.
|
|
592
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
593
|
-
# the transaction.
|
|
594
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
595
|
-
# (merchant).
|
|
596
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
597
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
598
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
599
|
-
# `TOKEN_AUTHENTICATED`.
|
|
600
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
601
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
602
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
603
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
604
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
605
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
606
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
607
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
608
|
-
# fee on behalf of the cardholder.
|
|
609
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
610
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
611
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
612
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
613
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
614
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
615
|
-
# multiplying the raw score by 10x.
|
|
616
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
617
|
-
# trailing 15 minutes before the authorization.
|
|
618
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
619
|
-
# trailing hour up and until the authorization.
|
|
620
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
621
|
-
# trailing 24 hours up and until the authorization.
|
|
622
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
623
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
624
|
-
# `PENDING_FULFILLMENT`.
|
|
625
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
626
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
627
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
628
|
-
# `OK`, `BLOCKED`.
|
|
629
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
630
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
631
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
632
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
633
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
634
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
635
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
636
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
637
|
-
#
|
|
638
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#attribute
|
|
639
|
-
module Attribute
|
|
640
|
-
extend Lithic::Internal::Type::Enum
|
|
641
|
-
|
|
642
|
-
MCC = :MCC
|
|
643
|
-
COUNTRY = :COUNTRY
|
|
644
|
-
CURRENCY = :CURRENCY
|
|
645
|
-
MERCHANT_ID = :MERCHANT_ID
|
|
646
|
-
DESCRIPTOR = :DESCRIPTOR
|
|
647
|
-
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
|
648
|
-
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
|
649
|
-
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
|
650
|
-
CASH_AMOUNT = :CASH_AMOUNT
|
|
651
|
-
RISK_SCORE = :RISK_SCORE
|
|
652
|
-
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
|
653
|
-
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
|
654
|
-
CARD_TRANSACTION_COUNT_24_H = :CARD_TRANSACTION_COUNT_24H
|
|
655
|
-
CARD_STATE = :CARD_STATE
|
|
656
|
-
PIN_ENTERED = :PIN_ENTERED
|
|
657
|
-
PIN_STATUS = :PIN_STATUS
|
|
658
|
-
WALLET_TYPE = :WALLET_TYPE
|
|
659
|
-
TRANSACTION_INITIATOR = :TRANSACTION_INITIATOR
|
|
660
|
-
ADDRESS_MATCH = :ADDRESS_MATCH
|
|
661
|
-
|
|
662
|
-
# @!method self.values
|
|
663
|
-
# @return [Array<Symbol>]
|
|
664
|
-
end
|
|
665
|
-
|
|
666
|
-
# The operation to apply to the attribute
|
|
667
|
-
#
|
|
668
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#operation
|
|
669
|
-
module Operation
|
|
670
|
-
extend Lithic::Internal::Type::Enum
|
|
671
|
-
|
|
672
|
-
IS_ONE_OF = :IS_ONE_OF
|
|
673
|
-
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
|
674
|
-
MATCHES = :MATCHES
|
|
675
|
-
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
|
676
|
-
IS_EQUAL_TO = :IS_EQUAL_TO
|
|
677
|
-
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
|
678
|
-
IS_GREATER_THAN = :IS_GREATER_THAN
|
|
679
|
-
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
|
680
|
-
IS_LESS_THAN = :IS_LESS_THAN
|
|
681
|
-
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
|
682
|
-
|
|
683
|
-
# @!method self.values
|
|
684
|
-
# @return [Array<Symbol>]
|
|
685
|
-
end
|
|
686
|
-
|
|
687
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
688
|
-
#
|
|
689
|
-
# @see Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition#value
|
|
690
|
-
module Value
|
|
691
|
-
extend Lithic::Internal::Type::Union
|
|
692
|
-
|
|
693
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
694
|
-
variant String
|
|
695
|
-
|
|
696
|
-
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
|
697
|
-
variant Integer
|
|
698
|
-
|
|
699
|
-
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
|
700
|
-
variant -> { Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::StringArray }
|
|
701
|
-
|
|
702
|
-
# @!method self.variants
|
|
703
|
-
# @return [Array(String, Integer, Array<String>)]
|
|
704
|
-
|
|
705
|
-
# @type [Lithic::Internal::Type::Converter]
|
|
706
|
-
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
|
707
|
-
end
|
|
708
|
-
end
|
|
709
|
-
end
|
|
214
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
215
|
+
|
|
216
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
217
|
+
|
|
218
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
710
219
|
|
|
711
220
|
# @!method self.variants
|
|
712
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::
|
|
221
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
713
222
|
end
|
|
714
223
|
end
|
|
715
224
|
|
|
@@ -721,6 +230,9 @@ module Lithic
|
|
|
721
230
|
|
|
722
231
|
AUTHORIZATION = :AUTHORIZATION
|
|
723
232
|
THREE_DS_AUTHENTICATION = :THREE_DS_AUTHENTICATION
|
|
233
|
+
TOKENIZATION = :TOKENIZATION
|
|
234
|
+
ACH_CREDIT_RECEIPT = :ACH_CREDIT_RECEIPT
|
|
235
|
+
ACH_DEBIT_RECEIPT = :ACH_DEBIT_RECEIPT
|
|
724
236
|
|
|
725
237
|
# @!method self.values
|
|
726
238
|
# @return [Array<Symbol>]
|
|
@@ -747,7 +259,8 @@ module Lithic
|
|
|
747
259
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
748
260
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
749
261
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
750
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
262
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
263
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
751
264
|
#
|
|
752
265
|
# @see Lithic::Models::AuthRules::V2UpdateResponse#type
|
|
753
266
|
module Type
|
|
@@ -10,13 +10,10 @@ module Lithic
|
|
|
10
10
|
required :filters, -> { Lithic::AuthRules::VelocityLimitParams::Filters }
|
|
11
11
|
|
|
12
12
|
# @!attribute period
|
|
13
|
-
#
|
|
13
|
+
# Velocity over the current day since 00:00 / 12 AM in Eastern Time
|
|
14
14
|
#
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
#
|
|
18
|
-
# @return [Integer, Symbol, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth, Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear]
|
|
19
|
-
required :period, union: -> { Lithic::AuthRules::VelocityLimitParamsPeriodWindow }
|
|
15
|
+
# @return [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]
|
|
16
|
+
required :period, union: -> { Lithic::AuthRules::VelocityLimitPeriod }
|
|
20
17
|
|
|
21
18
|
# @!attribute scope
|
|
22
19
|
# The scope the velocity is calculated for
|
|
@@ -48,7 +45,7 @@ module Lithic
|
|
|
48
45
|
#
|
|
49
46
|
# @param filters [Lithic::Models::AuthRules::VelocityLimitParams::Filters]
|
|
50
47
|
#
|
|
51
|
-
# @param period [
|
|
48
|
+
# @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] Velocity over the current day since 00:00 / 12 AM in Eastern Time
|
|
52
49
|
#
|
|
53
50
|
# @param scope [Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope] The scope the velocity is calculated for
|
|
54
51
|
#
|