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