lithic 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +2 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/account_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +10 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +119 -44
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +533 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +18 -14
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
- data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -9
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/balance.rb +8 -6
- data/lib/lithic/models/card_authorization.rb +1266 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
- data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
- data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/card_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/event.rb +13 -4
- data/lib/lithic/models/event_list_params.rb +7 -2
- data/lib/lithic/models/event_subscription.rb +7 -2
- data/lib/lithic/models/events/subscription_create_params.rb +7 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +7 -2
- data/lib/lithic/models/external_bank_account.rb +1 -1
- data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/statement.rb +4 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_event.rb +1 -0
- data/lib/lithic/models/kyb_business_entity.rb +2 -2
- data/lib/lithic/models/parsed_webhook_event.rb +4 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- data/lib/lithic/models/signals_response.rb +306 -0
- data/lib/lithic/models/statement_totals.rb +6 -6
- data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
- data/lib/lithic/models/transaction.rb +2 -2
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +14 -0
- data/lib/lithic/resources/accounts.rb +27 -0
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/resources/card_authorizations.rb +45 -0
- data/lib/lithic/resources/cards.rb +25 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +9 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/account_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +8 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +214 -63
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +24 -18
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +24 -12
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
- data/rbi/lithic/models/balance.rbi +12 -6
- data/rbi/lithic/models/card_authorization.rbi +2540 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
- data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
- data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
- data/rbi/lithic/models/card_program.rbi +3 -6
- data/rbi/lithic/models/card_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/event.rbi +23 -6
- data/rbi/lithic/models/event_list_params.rbi +11 -2
- data/rbi/lithic/models/event_subscription.rbi +11 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
- data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
- data/rbi/lithic/models/financial_event.rbi +2 -0
- data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- data/rbi/lithic/models/signals_response.rbi +352 -0
- data/rbi/lithic/models/statement_totals.rbi +9 -18
- data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
- data/rbi/lithic/models/transaction.rbi +3 -3
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/accounts.rbi +21 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
- data/rbi/lithic/resources/card_authorizations.rbi +35 -0
- data/rbi/lithic/resources/cards.rbi +19 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/account_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +29 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/balance.rbs +17 -9
- data/sig/lithic/models/card_authorization.rbs +1038 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
- data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
- data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
- data/sig/lithic/models/card_program.rbs +4 -6
- data/sig/lithic/models/card_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
- data/sig/lithic/models/financial_event.rbs +2 -0
- data/sig/lithic/models/kyb_business_entity.rbs +4 -6
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- data/sig/lithic/models/signals_response.rbs +170 -0
- data/sig/lithic/models/statement_totals.rbs +12 -18
- data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +4 -8
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +14 -0
- data/sig/lithic/resources/accounts.rbs +5 -0
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +29 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e10259688d627bb93eef2d363059f0e306c888a9a3220dd82efee18e717f1ba
|
|
4
|
+
data.tar.gz: ba6a76715e31f336634d5fad97de74ff5f272aa196ec23912e0096ff742ffac6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a46972e61a38e973879e34b963d742fe12faa0394569ab7ba090dc9702962e19525c71cf54d8958fe44b3f68608777ffc0a6a83b4fb3f1a743367921abc01fde
|
|
7
|
+
data.tar.gz: db062730b149f7841c0c8f7463a00219b4b15ad825f264f793ffb666f2b0bf0fea41b5ef94698fa4afd62f4f094aeac39ef65c989a817b60d64f8c72ae373014
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2026-05-27)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/lithic-com/lithic-ruby/compare/v0.14.0...v0.15.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add authorization challenge response endpoint and webhook ([a270862](https://github.com/lithic-com/lithic-ruby/commit/a270862d8522a456f88111f92d91d7adfe285b96))
|
|
10
|
+
* **api:** add INVALID_PAN value to TokenizationDeclineReason enum ([751f176](https://github.com/lithic-com/lithic-ruby/commit/751f176d6bd4a895c00edce99cb22055001c5597))
|
|
11
|
+
* **api:** Add OUT_OF_BAND challenge method and DECLINED status to Authorization ([886bb10](https://github.com/lithic-com/lithic-ruby/commit/886bb1020fcc81e4862cbceee98fcb8eb7ac9b35))
|
|
12
|
+
* **api:** Add pause external bank account endpoint ([1f9fdd2](https://github.com/lithic-com/lithic-ruby/commit/1f9fdd2ba99353edb1560877ca098664e4fbb1a9))
|
|
13
|
+
* **api:** Add schemas for authorization adjustment rules ([61998a2](https://github.com/lithic-com/lithic-ruby/commit/61998a2d54a2eb05f1fe517e34bfbedbe1dbd02c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **client:** elide content type header on requests without body ([d3a58d5](https://github.com/lithic-com/lithic-ruby/commit/d3a58d57130f65c30e56d39ba380cf8fe04e49da))
|
|
19
|
+
* **types:** correct value type from Integer to Float in auth rules ([c8a51d0](https://github.com/lithic-com/lithic-ruby/commit/c8a51d0231516251e038f074e3fc364222570f57))
|
|
20
|
+
* **types:** make cardholder_currency nullable in CardProgram ([89ded5f](https://github.com/lithic-com/lithic-ruby/commit/89ded5fe6729b1e0db8cb280e1da402b9a1a01b8))
|
|
21
|
+
* **types:** make external_id, naics_code nullable in enrollment, parent_company in kyb ([1128d8d](https://github.com/lithic-com/lithic-ruby/commit/1128d8df654667a9a2db5ec75e5a5eb9755c75e2))
|
|
22
|
+
* **types:** make fields nullable across balance/statement/settlement/etc, add enum values ([6259d4f](https://github.com/lithic-com/lithic-ruby/commit/6259d4fa0c42b77ce2f7abe4962c64ca9eb53117))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Documentation
|
|
26
|
+
|
|
27
|
+
* **api:** clarify ACCOUNT_AGE behavior in auth_rules conditional parameters ([8b7bfc8](https://github.com/lithic-com/lithic-ruby/commit/8b7bfc850151d17038fb50aecc6509aa81196e77))
|
|
28
|
+
|
|
29
|
+
## 0.14.0 (2026-05-08)
|
|
30
|
+
|
|
31
|
+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/lithic-com/lithic-ruby/compare/v0.13.0...v0.14.0)
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **api:** add retrieve_signals method to accounts and cards ([c6446ff](https://github.com/lithic-com/lithic-ruby/commit/c6446ffce562ebe1d451d86a56372e3bf91004e9))
|
|
36
|
+
* **api:** add travel speed/distance attributes and unit parameter to auth_rules ([846d5d9](https://github.com/lithic-com/lithic-ruby/commit/846d5d99cea53078bbda45f2a4b845bc4f7f33d2))
|
|
37
|
+
|
|
3
38
|
## 0.13.0 (2026-05-06)
|
|
4
39
|
|
|
5
40
|
Full Changelog: [v0.12.0...v0.13.0](https://github.com/lithic-com/lithic-ruby/compare/v0.12.0...v0.13.0)
|
data/README.md
CHANGED
data/lib/lithic/client.rb
CHANGED
|
@@ -47,6 +47,9 @@ module Lithic
|
|
|
47
47
|
# @return [Lithic::Resources::Cards]
|
|
48
48
|
attr_reader :cards
|
|
49
49
|
|
|
50
|
+
# @return [Lithic::Resources::CardAuthorizations]
|
|
51
|
+
attr_reader :card_authorizations
|
|
52
|
+
|
|
50
53
|
# @return [Lithic::Resources::CardBulkOrders]
|
|
51
54
|
attr_reader :card_bulk_orders
|
|
52
55
|
|
|
@@ -222,6 +225,7 @@ module Lithic
|
|
|
222
225
|
@tokenization_decisioning = Lithic::Resources::TokenizationDecisioning.new(client: self)
|
|
223
226
|
@tokenizations = Lithic::Resources::Tokenizations.new(client: self)
|
|
224
227
|
@cards = Lithic::Resources::Cards.new(client: self)
|
|
228
|
+
@card_authorizations = Lithic::Resources::CardAuthorizations.new(client: self)
|
|
225
229
|
@card_bulk_orders = Lithic::Resources::CardBulkOrders.new(client: self)
|
|
226
230
|
@balances = Lithic::Resources::Balances.new(client: self)
|
|
227
231
|
@disputes = Lithic::Resources::Disputes.new(client: self)
|
|
@@ -306,6 +306,8 @@ module Lithic
|
|
|
306
306
|
Lithic::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
|
|
307
307
|
end
|
|
308
308
|
|
|
309
|
+
headers.delete("content-type") if body.nil?
|
|
310
|
+
|
|
309
311
|
url = Lithic::Internal::Util.join_parsed_uri(
|
|
310
312
|
@base_url_components,
|
|
311
313
|
{**req, path: path, query: query}
|
|
@@ -88,7 +88,7 @@ module Lithic
|
|
|
88
88
|
# the Lithic ecosystem.
|
|
89
89
|
#
|
|
90
90
|
# @return [String, nil]
|
|
91
|
-
optional :external_id, String
|
|
91
|
+
optional :external_id, String, nil?: true
|
|
92
92
|
|
|
93
93
|
# @!attribute individual
|
|
94
94
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
|
@@ -102,7 +102,7 @@ module Lithic
|
|
|
102
102
|
# Classification System (NAICS) code for the business.
|
|
103
103
|
#
|
|
104
104
|
# @return [String, nil]
|
|
105
|
-
optional :naics_code, String
|
|
105
|
+
optional :naics_code, String, nil?: true
|
|
106
106
|
|
|
107
107
|
# @!attribute nature_of_business
|
|
108
108
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
|
@@ -191,11 +191,11 @@ module Lithic
|
|
|
191
191
|
#
|
|
192
192
|
# @param exemption_type [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ExemptionType, nil] The type of KYC exemption for a KYC-Exempt Account Holder. `null` if the account
|
|
193
193
|
#
|
|
194
|
-
# @param external_id [String] Customer-provided token that indicates a relationship with an object outside of
|
|
194
|
+
# @param external_id [String, nil] Customer-provided token that indicates a relationship with an object outside of
|
|
195
195
|
#
|
|
196
196
|
# @param individual [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual] Only present when user_type == "INDIVIDUAL". Information about the individual fo
|
|
197
197
|
#
|
|
198
|
-
# @param naics_code [String] Only present when user_type == "BUSINESS". 6-digit North American Industry Class
|
|
198
|
+
# @param naics_code [String, nil] Only present when user_type == "BUSINESS". 6-digit North American Industry Class
|
|
199
199
|
#
|
|
200
200
|
# @param nature_of_business [String] Only present when user_type == "BUSINESS". User-submitted description of the bus
|
|
201
201
|
#
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::Accounts#retrieve_signals
|
|
6
|
+
class AccountRetrieveSignalsParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :account_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(account_token:, request_options: {})
|
|
16
|
+
# @param account_token [String]
|
|
17
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -146,7 +146,7 @@ module Lithic
|
|
|
146
146
|
# @!attribute parameters
|
|
147
147
|
# Parameters for the Auth Rule
|
|
148
148
|
#
|
|
149
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters]
|
|
149
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
150
150
|
required :parameters, union: -> { Lithic::AuthRules::AuthRule::CurrentVersion::Parameters }
|
|
151
151
|
|
|
152
152
|
response_only do
|
|
@@ -162,7 +162,7 @@ module Lithic
|
|
|
162
162
|
# Some parameter documentations has been truncated, see
|
|
163
163
|
# {Lithic::Models::AuthRules::AuthRule::CurrentVersion} for more details.
|
|
164
164
|
#
|
|
165
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters] Parameters for the Auth Rule
|
|
165
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
166
166
|
#
|
|
167
167
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
168
168
|
|
|
@@ -192,8 +192,10 @@ module Lithic
|
|
|
192
192
|
# Parameters for defining a TypeScript code rule
|
|
193
193
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
194
194
|
|
|
195
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
196
|
+
|
|
195
197
|
# @!method self.variants
|
|
196
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters)]
|
|
198
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
197
199
|
end
|
|
198
200
|
end
|
|
199
201
|
|
|
@@ -209,7 +211,7 @@ module Lithic
|
|
|
209
211
|
# @!attribute parameters
|
|
210
212
|
# Parameters for the Auth Rule
|
|
211
213
|
#
|
|
212
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters]
|
|
214
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
213
215
|
required :parameters, union: -> { Lithic::AuthRules::AuthRule::DraftVersion::Parameters }
|
|
214
216
|
|
|
215
217
|
# @!attribute state
|
|
@@ -242,7 +244,7 @@ module Lithic
|
|
|
242
244
|
#
|
|
243
245
|
# @param error [String, nil] An error message if the draft version failed compilation. Populated when `state`
|
|
244
246
|
#
|
|
245
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters] Parameters for the Auth Rule
|
|
247
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
246
248
|
#
|
|
247
249
|
# @param state [Symbol, Lithic::Models::AuthRules::AuthRule::DraftVersion::State] The state of the draft version. Most rules are created synchronously and the sta
|
|
248
250
|
#
|
|
@@ -274,8 +276,10 @@ module Lithic
|
|
|
274
276
|
# Parameters for defining a TypeScript code rule
|
|
275
277
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
276
278
|
|
|
279
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
280
|
+
|
|
277
281
|
# @!method self.variants
|
|
278
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters)]
|
|
282
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
279
283
|
end
|
|
280
284
|
|
|
281
285
|
# The state of the draft version. Most rules are created synchronously and the
|
|
@@ -68,7 +68,7 @@ module Lithic
|
|
|
68
68
|
# @!attribute value
|
|
69
69
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
70
70
|
#
|
|
71
|
-
# @return [String, Integer, Array<String>, Time]
|
|
71
|
+
# @return [String, Integer, Float, Array<String>, Time]
|
|
72
72
|
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
73
73
|
|
|
74
74
|
# @!method initialize(attribute:, operation:, value:)
|
|
@@ -79,7 +79,7 @@ module Lithic
|
|
|
79
79
|
#
|
|
80
80
|
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
81
81
|
#
|
|
82
|
-
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
82
|
+
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
@@ -13,7 +13,7 @@ module Lithic
|
|
|
13
13
|
# @!attribute parameters
|
|
14
14
|
# Parameters for the Auth Rule
|
|
15
15
|
#
|
|
16
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters]
|
|
16
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
17
17
|
required :parameters, union: -> { Lithic::AuthRules::AuthRuleVersion::Parameters }
|
|
18
18
|
|
|
19
19
|
# @!attribute state
|
|
@@ -37,7 +37,7 @@ module Lithic
|
|
|
37
37
|
#
|
|
38
38
|
# @param created [Time] Timestamp of when this version was created.
|
|
39
39
|
#
|
|
40
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters] Parameters for the Auth Rule
|
|
40
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
41
41
|
#
|
|
42
42
|
# @param state [Symbol, Lithic::Models::AuthRules::AuthRuleVersion::State] The current state of this version.
|
|
43
43
|
#
|
|
@@ -69,8 +69,10 @@ module Lithic
|
|
|
69
69
|
# Parameters for defining a TypeScript code rule
|
|
70
70
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
71
71
|
|
|
72
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
73
|
+
|
|
72
74
|
# @!method self.variants
|
|
73
|
-
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters)]
|
|
75
|
+
# @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, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
74
76
|
end
|
|
75
77
|
|
|
76
78
|
# The current state of this version.
|
|
@@ -53,9 +53,10 @@ module Lithic
|
|
|
53
53
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
54
54
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
55
55
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
56
|
-
# fee on behalf of the cardholder.
|
|
56
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
57
57
|
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
|
58
|
-
# risk level, with a higher value indicating a higher amount of risk.
|
|
58
|
+
# risk level, with a higher value indicating a higher amount of risk. Use an
|
|
59
|
+
# integer value.
|
|
59
60
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
|
60
61
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
61
62
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
@@ -73,7 +74,7 @@ module Lithic
|
|
|
73
74
|
# @!attribute value
|
|
74
75
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
75
76
|
#
|
|
76
|
-
# @return [String, Integer, Array<String>, Time]
|
|
77
|
+
# @return [String, Integer, Float, Array<String>, Time]
|
|
77
78
|
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
78
79
|
|
|
79
80
|
# @!method initialize(attribute:, operation:, value:)
|
|
@@ -85,7 +86,7 @@ module Lithic
|
|
|
85
86
|
#
|
|
86
87
|
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
87
88
|
#
|
|
88
|
-
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
89
|
+
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
89
90
|
|
|
90
91
|
# The attribute to target.
|
|
91
92
|
#
|
|
@@ -104,9 +105,10 @@ module Lithic
|
|
|
104
105
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
105
106
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
106
107
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
107
|
-
# fee on behalf of the cardholder.
|
|
108
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
108
109
|
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
|
109
|
-
# risk level, with a higher value indicating a higher amount of risk.
|
|
110
|
+
# risk level, with a higher value indicating a higher amount of risk. Use an
|
|
111
|
+
# integer value.
|
|
110
112
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
|
111
113
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
112
114
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
@@ -190,7 +190,7 @@ module Lithic
|
|
|
190
190
|
# ID) of the entity initiating the ACH transaction.
|
|
191
191
|
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
|
|
192
192
|
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
|
|
193
|
-
# (cents).
|
|
193
|
+
# (cents). Use an integer value.
|
|
194
194
|
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
195
195
|
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
196
196
|
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
@@ -209,7 +209,7 @@ module Lithic
|
|
|
209
209
|
# @!attribute value
|
|
210
210
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
211
211
|
#
|
|
212
|
-
# @return [String, Integer, Array<String>, Time]
|
|
212
|
+
# @return [String, Integer, Float, Array<String>, Time]
|
|
213
213
|
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
214
214
|
|
|
215
215
|
# @!method initialize(attribute:, operation:, value:)
|
|
@@ -221,7 +221,7 @@ module Lithic
|
|
|
221
221
|
#
|
|
222
222
|
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
223
223
|
#
|
|
224
|
-
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
224
|
+
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
225
225
|
|
|
226
226
|
# The attribute to target.
|
|
227
227
|
#
|
|
@@ -232,7 +232,7 @@ module Lithic
|
|
|
232
232
|
# ID) of the entity initiating the ACH transaction.
|
|
233
233
|
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
|
|
234
234
|
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
|
|
235
|
-
# (cents).
|
|
235
|
+
# (cents). Use an integer value.
|
|
236
236
|
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
237
237
|
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
238
238
|
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|