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