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
|
@@ -10,27 +10,42 @@ module Lithic
|
|
|
10
10
|
# Creates a new V2 Auth rule in draft mode
|
|
11
11
|
sig do
|
|
12
12
|
params(
|
|
13
|
-
card_tokens: T::Array[String],
|
|
14
|
-
program_level: T::Boolean,
|
|
15
|
-
account_tokens: T::Array[String],
|
|
16
|
-
business_account_tokens: T::Array[String],
|
|
17
|
-
event_stream:
|
|
18
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
19
|
-
name: T.nilable(String),
|
|
20
13
|
parameters:
|
|
21
14
|
T.any(
|
|
22
15
|
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
|
23
16
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
24
17
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
25
18
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
26
|
-
Lithic::AuthRules::
|
|
19
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
20
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
21
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
27
22
|
),
|
|
28
23
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
24
|
+
card_tokens: T::Array[String],
|
|
25
|
+
program_level: T::Boolean,
|
|
26
|
+
account_tokens: T::Array[String],
|
|
27
|
+
business_account_tokens: T::Array[String],
|
|
28
|
+
event_stream:
|
|
29
|
+
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
30
|
+
name: T.nilable(String),
|
|
29
31
|
excluded_card_tokens: T::Array[String],
|
|
30
32
|
request_options: Lithic::RequestOptions::OrHash
|
|
31
33
|
).returns(Lithic::Models::AuthRules::V2CreateResponse)
|
|
32
34
|
end
|
|
33
35
|
def create(
|
|
36
|
+
# Parameters for the Auth Rule
|
|
37
|
+
parameters:,
|
|
38
|
+
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
39
|
+
# during which it will be evaluated. For rules that can be applied to one of
|
|
40
|
+
# several event streams, the effective one is defined by the separate
|
|
41
|
+
# `event_stream` field.
|
|
42
|
+
#
|
|
43
|
+
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
44
|
+
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
45
|
+
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
46
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
47
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
48
|
+
type:,
|
|
34
49
|
# Card tokens to which the Auth Rule applies.
|
|
35
50
|
card_tokens:,
|
|
36
51
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
@@ -43,18 +58,6 @@ module Lithic
|
|
|
43
58
|
event_stream: nil,
|
|
44
59
|
# Auth Rule Name
|
|
45
60
|
name: nil,
|
|
46
|
-
# Parameters for the Auth Rule
|
|
47
|
-
parameters: nil,
|
|
48
|
-
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
49
|
-
# during which it will be evaluated. For rules that can be applied to one of
|
|
50
|
-
# several event streams, the effective one is defined by the separate
|
|
51
|
-
# `event_stream` field.
|
|
52
|
-
#
|
|
53
|
-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
54
|
-
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
55
|
-
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
56
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
|
|
57
|
-
type: nil,
|
|
58
61
|
# Card tokens to which the Auth Rule does not apply.
|
|
59
62
|
excluded_card_tokens: nil,
|
|
60
63
|
request_options: {}
|
|
@@ -68,11 +71,7 @@ module Lithic
|
|
|
68
71
|
request_options: Lithic::RequestOptions::OrHash
|
|
69
72
|
).returns(Lithic::Models::AuthRules::V2RetrieveResponse)
|
|
70
73
|
end
|
|
71
|
-
def retrieve(
|
|
72
|
-
# Globally unique identifier for the Auth Rule.
|
|
73
|
-
auth_rule_token,
|
|
74
|
-
request_options: {}
|
|
75
|
-
)
|
|
74
|
+
def retrieve(auth_rule_token, request_options: {})
|
|
76
75
|
end
|
|
77
76
|
|
|
78
77
|
# Updates a V2 Auth rule's properties
|
|
@@ -94,7 +93,6 @@ module Lithic
|
|
|
94
93
|
).returns(Lithic::Models::AuthRules::V2UpdateResponse)
|
|
95
94
|
end
|
|
96
95
|
def update(
|
|
97
|
-
# Globally unique identifier for the Auth Rule.
|
|
98
96
|
auth_rule_token,
|
|
99
97
|
# Account tokens to which the Auth Rule applies.
|
|
100
98
|
account_tokens: nil,
|
|
@@ -167,43 +165,7 @@ module Lithic
|
|
|
167
165
|
request_options: Lithic::RequestOptions::OrHash
|
|
168
166
|
).void
|
|
169
167
|
end
|
|
170
|
-
def delete(
|
|
171
|
-
# Globally unique identifier for the Auth Rule.
|
|
172
|
-
auth_rule_token,
|
|
173
|
-
request_options: {}
|
|
174
|
-
)
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
# Associates a V2 Auth rule with a card program, the provided account(s) or
|
|
178
|
-
# card(s).
|
|
179
|
-
#
|
|
180
|
-
# Prefer using the `PATCH` method for this operation.
|
|
181
|
-
sig do
|
|
182
|
-
params(
|
|
183
|
-
auth_rule_token: String,
|
|
184
|
-
card_tokens: T::Array[String],
|
|
185
|
-
program_level: T::Boolean,
|
|
186
|
-
account_tokens: T::Array[String],
|
|
187
|
-
business_account_tokens: T::Array[String],
|
|
188
|
-
excluded_card_tokens: T::Array[String],
|
|
189
|
-
request_options: Lithic::RequestOptions::OrHash
|
|
190
|
-
).returns(Lithic::Models::AuthRules::V2ApplyResponse)
|
|
191
|
-
end
|
|
192
|
-
def apply(
|
|
193
|
-
# Globally unique identifier for the Auth Rule.
|
|
194
|
-
auth_rule_token,
|
|
195
|
-
# Card tokens to which the Auth Rule applies.
|
|
196
|
-
card_tokens:,
|
|
197
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
198
|
-
program_level:,
|
|
199
|
-
# Account tokens to which the Auth Rule applies.
|
|
200
|
-
account_tokens: nil,
|
|
201
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
202
|
-
business_account_tokens: nil,
|
|
203
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
204
|
-
excluded_card_tokens: nil,
|
|
205
|
-
request_options: {}
|
|
206
|
-
)
|
|
168
|
+
def delete(auth_rule_token, request_options: {})
|
|
207
169
|
end
|
|
208
170
|
|
|
209
171
|
# Creates a new draft version of a rule that will be ran in shadow mode.
|
|
@@ -220,14 +182,15 @@ module Lithic
|
|
|
220
182
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
221
183
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
222
184
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
223
|
-
Lithic::AuthRules::
|
|
185
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
186
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
187
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
224
188
|
)
|
|
225
189
|
),
|
|
226
190
|
request_options: Lithic::RequestOptions::OrHash
|
|
227
191
|
).returns(Lithic::Models::AuthRules::V2DraftResponse)
|
|
228
192
|
end
|
|
229
193
|
def draft(
|
|
230
|
-
# Globally unique identifier for the Auth Rule.
|
|
231
194
|
auth_rule_token,
|
|
232
195
|
# Parameters for the Auth Rule
|
|
233
196
|
parameters: nil,
|
|
@@ -243,11 +206,7 @@ module Lithic
|
|
|
243
206
|
request_options: Lithic::RequestOptions::OrHash
|
|
244
207
|
).returns(Lithic::Models::AuthRules::V2PromoteResponse)
|
|
245
208
|
end
|
|
246
|
-
def promote(
|
|
247
|
-
# Globally unique identifier for the Auth Rule.
|
|
248
|
-
auth_rule_token,
|
|
249
|
-
request_options: {}
|
|
250
|
-
)
|
|
209
|
+
def promote(auth_rule_token, request_options: {})
|
|
251
210
|
end
|
|
252
211
|
|
|
253
212
|
# Fetches the current calculated Feature values for the given Auth Rule
|
|
@@ -268,7 +227,6 @@ module Lithic
|
|
|
268
227
|
).returns(Lithic::Models::AuthRules::V2RetrieveFeaturesResponse)
|
|
269
228
|
end
|
|
270
229
|
def retrieve_features(
|
|
271
|
-
# Globally unique identifier for the Auth Rule.
|
|
272
230
|
auth_rule_token,
|
|
273
231
|
account_token: nil,
|
|
274
232
|
card_token: nil,
|
|
@@ -298,7 +256,6 @@ module Lithic
|
|
|
298
256
|
).returns(Lithic::Models::AuthRules::V2RetrieveReportResponse)
|
|
299
257
|
end
|
|
300
258
|
def retrieve_report(
|
|
301
|
-
# Globally unique identifier for the Auth Rule.
|
|
302
259
|
auth_rule_token,
|
|
303
260
|
# Start date for the report
|
|
304
261
|
begin_:,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class DisputesV2
|
|
6
|
+
# Retrieves a specific dispute by its token.
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
dispute_token: String,
|
|
10
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
11
|
+
).returns(Lithic::DisputeV2)
|
|
12
|
+
end
|
|
13
|
+
def retrieve(
|
|
14
|
+
# Token of the dispute to retrieve.
|
|
15
|
+
dispute_token,
|
|
16
|
+
request_options: {}
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# Returns a paginated list of disputes.
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
account_token: String,
|
|
24
|
+
begin_: Time,
|
|
25
|
+
card_token: String,
|
|
26
|
+
disputed_transaction_token: String,
|
|
27
|
+
end_: Time,
|
|
28
|
+
ending_before: String,
|
|
29
|
+
page_size: Integer,
|
|
30
|
+
starting_after: String,
|
|
31
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
32
|
+
).returns(Lithic::Internal::CursorPage[Lithic::DisputeV2])
|
|
33
|
+
end
|
|
34
|
+
def list(
|
|
35
|
+
# Filter by account token.
|
|
36
|
+
account_token: nil,
|
|
37
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
38
|
+
begin_: nil,
|
|
39
|
+
# Filter by card token.
|
|
40
|
+
card_token: nil,
|
|
41
|
+
# Filter by the token of the transaction being disputed. Corresponds with
|
|
42
|
+
# transaction_series.related_transaction_token in the Dispute.
|
|
43
|
+
disputed_transaction_token: nil,
|
|
44
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
45
|
+
end_: nil,
|
|
46
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
47
|
+
# Used to retrieve the previous page of results before this item.
|
|
48
|
+
ending_before: nil,
|
|
49
|
+
# Number of items to return.
|
|
50
|
+
page_size: nil,
|
|
51
|
+
# A cursor representing an item's token after which a page of results should
|
|
52
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
53
|
+
starting_after: nil,
|
|
54
|
+
request_options: {}
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# @api private
|
|
59
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
60
|
+
def self.new(client:)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -197,6 +197,16 @@ module Lithic
|
|
|
197
197
|
)
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
+
# Unpause an external bank account
|
|
201
|
+
sig do
|
|
202
|
+
params(
|
|
203
|
+
external_bank_account_token: String,
|
|
204
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
205
|
+
).returns(Lithic::Models::ExternalBankAccountUnpauseResponse)
|
|
206
|
+
end
|
|
207
|
+
def unpause(external_bank_account_token, request_options: {})
|
|
208
|
+
end
|
|
209
|
+
|
|
200
210
|
# @api private
|
|
201
211
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
202
212
|
def self.new(client:)
|
|
@@ -97,13 +97,61 @@ module Lithic
|
|
|
97
97
|
def retry_(payment_token, request_options: {})
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
+
# Return an ACH payment with a specified return reason code. Returns must be
|
|
101
|
+
# initiated within the time window specified by NACHA rules for each return code
|
|
102
|
+
# (typically 2 banking days for most codes, 60 calendar days for unauthorized
|
|
103
|
+
# debits). For a complete list of return codes and their meanings, see the
|
|
104
|
+
# [ACH Return Reasons documentation](https://docs.lithic.com/docs/ach-overview#ach-return-reasons).
|
|
105
|
+
#
|
|
106
|
+
# Note:
|
|
107
|
+
#
|
|
108
|
+
# - This endpoint does not modify the state of the financial account associated
|
|
109
|
+
# with the payment. If you would like to change the account state, use the
|
|
110
|
+
# [Update financial account status](https://docs.lithic.com/reference/updatefinancialaccountstatus)
|
|
111
|
+
# endpoint.
|
|
112
|
+
# - By default this endpoint is not enabled for your account. Please contact your
|
|
113
|
+
# implementations manager to enable this feature.
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
payment_token: String,
|
|
117
|
+
financial_account_token: String,
|
|
118
|
+
return_reason_code: String,
|
|
119
|
+
addenda: T.nilable(String),
|
|
120
|
+
date_of_death: T.nilable(Date),
|
|
121
|
+
memo: T.nilable(String),
|
|
122
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
123
|
+
).returns(Lithic::Payment)
|
|
124
|
+
end
|
|
125
|
+
def return_(
|
|
126
|
+
payment_token,
|
|
127
|
+
# Globally unique identifier for the financial account
|
|
128
|
+
financial_account_token:,
|
|
129
|
+
# ACH return reason code indicating the reason for returning the payment.
|
|
130
|
+
# Supported codes include R01-R53 and R80-R85. For a complete list of return codes
|
|
131
|
+
# and their meanings, see
|
|
132
|
+
# [ACH Return Reasons](https://docs.lithic.com/docs/ach-overview#ach-return-reasons)
|
|
133
|
+
return_reason_code:,
|
|
134
|
+
# Optional additional information about the return. Limited to 44 characters
|
|
135
|
+
addenda: nil,
|
|
136
|
+
# Date of death in YYYY-MM-DD format. Required when using return codes **R14**
|
|
137
|
+
# (representative payee deceased) or **R15** (beneficiary or account holder
|
|
138
|
+
# deceased)
|
|
139
|
+
date_of_death: nil,
|
|
140
|
+
# Optional memo for the return. Limited to 10 characters
|
|
141
|
+
memo: nil,
|
|
142
|
+
request_options: {}
|
|
143
|
+
)
|
|
144
|
+
end
|
|
145
|
+
|
|
100
146
|
# Simulate payment lifecycle event
|
|
101
147
|
sig do
|
|
102
148
|
params(
|
|
103
149
|
payment_token: String,
|
|
104
150
|
event_type: Lithic::PaymentSimulateActionParams::EventType::OrSymbol,
|
|
151
|
+
date_of_death: Date,
|
|
105
152
|
decline_reason:
|
|
106
153
|
Lithic::PaymentSimulateActionParams::DeclineReason::OrSymbol,
|
|
154
|
+
return_addenda: String,
|
|
107
155
|
return_reason_code: String,
|
|
108
156
|
request_options: Lithic::RequestOptions::OrHash
|
|
109
157
|
).returns(Lithic::Models::PaymentSimulateActionResponse)
|
|
@@ -112,8 +160,12 @@ module Lithic
|
|
|
112
160
|
payment_token,
|
|
113
161
|
# Event Type
|
|
114
162
|
event_type:,
|
|
163
|
+
# Date of Death for ACH Return
|
|
164
|
+
date_of_death: nil,
|
|
115
165
|
# Decline reason
|
|
116
166
|
decline_reason: nil,
|
|
167
|
+
# Return Addenda
|
|
168
|
+
return_addenda: nil,
|
|
117
169
|
# Return Reason Code
|
|
118
170
|
return_reason_code: nil,
|
|
119
171
|
request_options: {}
|
data/sig/lithic/client.rbs
CHANGED
|
@@ -18,7 +18,7 @@ module Lithic
|
|
|
18
18
|
created: Time,
|
|
19
19
|
currency: String,
|
|
20
20
|
descriptor: String,
|
|
21
|
-
events: ::Array[Lithic::
|
|
21
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
22
22
|
family: :INTERNAL,
|
|
23
23
|
financial_account_token: String,
|
|
24
24
|
pending_amount: Integer,
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
|
39
39
|
|
|
40
40
|
attr_accessor descriptor: String
|
|
41
41
|
|
|
42
|
-
attr_accessor events: ::Array[Lithic::
|
|
42
|
+
attr_accessor events: ::Array[Lithic::FinancialEvent]
|
|
43
43
|
|
|
44
44
|
attr_accessor family: :INTERNAL
|
|
45
45
|
|
|
@@ -61,7 +61,7 @@ module Lithic
|
|
|
61
61
|
created: Time,
|
|
62
62
|
currency: String,
|
|
63
63
|
descriptor: String,
|
|
64
|
-
events: ::Array[Lithic::
|
|
64
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
65
65
|
financial_account_token: String,
|
|
66
66
|
pending_amount: Integer,
|
|
67
67
|
result: Lithic::Models::AccountActivityListResponse::Internal::result,
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
created: Time,
|
|
78
78
|
currency: String,
|
|
79
79
|
descriptor: String,
|
|
80
|
-
events: ::Array[Lithic::
|
|
80
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
81
81
|
family: :INTERNAL,
|
|
82
82
|
financial_account_token: String,
|
|
83
83
|
pending_amount: Integer,
|
|
@@ -132,219 +132,6 @@ module Lithic
|
|
|
132
132
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::category]
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
type event =
|
|
136
|
-
{
|
|
137
|
-
token: String,
|
|
138
|
-
amount: Integer,
|
|
139
|
-
created: Time,
|
|
140
|
-
result: Lithic::Models::AccountActivityListResponse::Internal::Event::result,
|
|
141
|
-
type: Lithic::Models::AccountActivityListResponse::Internal::Event::type_
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
145
|
-
attr_reader token: String?
|
|
146
|
-
|
|
147
|
-
def token=: (String) -> String
|
|
148
|
-
|
|
149
|
-
attr_reader amount: Integer?
|
|
150
|
-
|
|
151
|
-
def amount=: (Integer) -> Integer
|
|
152
|
-
|
|
153
|
-
attr_reader created: Time?
|
|
154
|
-
|
|
155
|
-
def created=: (Time) -> Time
|
|
156
|
-
|
|
157
|
-
attr_reader result: Lithic::Models::AccountActivityListResponse::Internal::Event::result?
|
|
158
|
-
|
|
159
|
-
def result=: (
|
|
160
|
-
Lithic::Models::AccountActivityListResponse::Internal::Event::result
|
|
161
|
-
) -> Lithic::Models::AccountActivityListResponse::Internal::Event::result
|
|
162
|
-
|
|
163
|
-
attr_reader type: Lithic::Models::AccountActivityListResponse::Internal::Event::type_?
|
|
164
|
-
|
|
165
|
-
def type=: (
|
|
166
|
-
Lithic::Models::AccountActivityListResponse::Internal::Event::type_
|
|
167
|
-
) -> Lithic::Models::AccountActivityListResponse::Internal::Event::type_
|
|
168
|
-
|
|
169
|
-
def initialize: (
|
|
170
|
-
?token: String,
|
|
171
|
-
?amount: Integer,
|
|
172
|
-
?created: Time,
|
|
173
|
-
?result: Lithic::Models::AccountActivityListResponse::Internal::Event::result,
|
|
174
|
-
?type: Lithic::Models::AccountActivityListResponse::Internal::Event::type_
|
|
175
|
-
) -> void
|
|
176
|
-
|
|
177
|
-
def to_hash: -> {
|
|
178
|
-
token: String,
|
|
179
|
-
amount: Integer,
|
|
180
|
-
created: Time,
|
|
181
|
-
result: Lithic::Models::AccountActivityListResponse::Internal::Event::result,
|
|
182
|
-
type: Lithic::Models::AccountActivityListResponse::Internal::Event::type_
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
type result = :APPROVED | :DECLINED
|
|
186
|
-
|
|
187
|
-
module Result
|
|
188
|
-
extend Lithic::Internal::Type::Enum
|
|
189
|
-
|
|
190
|
-
APPROVED: :APPROVED
|
|
191
|
-
DECLINED: :DECLINED
|
|
192
|
-
|
|
193
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::Event::result]
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
type type_ =
|
|
197
|
-
:ACH_ORIGINATION_CANCELLED
|
|
198
|
-
| :ACH_ORIGINATION_INITIATED
|
|
199
|
-
| :ACH_ORIGINATION_PROCESSED
|
|
200
|
-
| :ACH_ORIGINATION_RELEASED
|
|
201
|
-
| :ACH_ORIGINATION_REJECTED
|
|
202
|
-
| :ACH_ORIGINATION_REVIEWED
|
|
203
|
-
| :ACH_ORIGINATION_SETTLED
|
|
204
|
-
| :ACH_RECEIPT_PROCESSED
|
|
205
|
-
| :ACH_RECEIPT_RELEASED
|
|
206
|
-
| :ACH_RECEIPT_SETTLED
|
|
207
|
-
| :ACH_RETURN_INITIATED
|
|
208
|
-
| :ACH_RETURN_PROCESSED
|
|
209
|
-
| :ACH_RETURN_REJECTED
|
|
210
|
-
| :ACH_RETURN_SETTLED
|
|
211
|
-
| :AUTHORIZATION
|
|
212
|
-
| :AUTHORIZATION_ADVICE
|
|
213
|
-
| :AUTHORIZATION_EXPIRY
|
|
214
|
-
| :AUTHORIZATION_REVERSAL
|
|
215
|
-
| :BALANCE_INQUIRY
|
|
216
|
-
| :BILLING_ERROR
|
|
217
|
-
| :BILLING_ERROR_REVERSAL
|
|
218
|
-
| :CARD_TO_CARD
|
|
219
|
-
| :CASH_BACK
|
|
220
|
-
| :CASH_BACK_REVERSAL
|
|
221
|
-
| :CLEARING
|
|
222
|
-
| :COLLECTION
|
|
223
|
-
| :CORRECTION_CREDIT
|
|
224
|
-
| :CORRECTION_DEBIT
|
|
225
|
-
| :CREDIT_AUTHORIZATION
|
|
226
|
-
| :CREDIT_AUTHORIZATION_ADVICE
|
|
227
|
-
| :CURRENCY_CONVERSION
|
|
228
|
-
| :CURRENCY_CONVERSION_REVERSAL
|
|
229
|
-
| :DISPUTE_WON
|
|
230
|
-
| :EXTERNAL_ACH_CANCELED
|
|
231
|
-
| :EXTERNAL_ACH_INITIATED
|
|
232
|
-
| :EXTERNAL_ACH_RELEASED
|
|
233
|
-
| :EXTERNAL_ACH_REVERSED
|
|
234
|
-
| :EXTERNAL_ACH_SETTLED
|
|
235
|
-
| :EXTERNAL_CHECK_CANCELED
|
|
236
|
-
| :EXTERNAL_CHECK_INITIATED
|
|
237
|
-
| :EXTERNAL_CHECK_RELEASED
|
|
238
|
-
| :EXTERNAL_CHECK_REVERSED
|
|
239
|
-
| :EXTERNAL_CHECK_SETTLED
|
|
240
|
-
| :EXTERNAL_TRANSFER_CANCELED
|
|
241
|
-
| :EXTERNAL_TRANSFER_INITIATED
|
|
242
|
-
| :EXTERNAL_TRANSFER_RELEASED
|
|
243
|
-
| :EXTERNAL_TRANSFER_REVERSED
|
|
244
|
-
| :EXTERNAL_TRANSFER_SETTLED
|
|
245
|
-
| :EXTERNAL_WIRE_CANCELED
|
|
246
|
-
| :EXTERNAL_WIRE_INITIATED
|
|
247
|
-
| :EXTERNAL_WIRE_RELEASED
|
|
248
|
-
| :EXTERNAL_WIRE_REVERSED
|
|
249
|
-
| :EXTERNAL_WIRE_SETTLED
|
|
250
|
-
| :FINANCIAL_AUTHORIZATION
|
|
251
|
-
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
252
|
-
| :INTEREST
|
|
253
|
-
| :INTEREST_REVERSAL
|
|
254
|
-
| :INTERNAL_ADJUSTMENT
|
|
255
|
-
| :LATE_PAYMENT
|
|
256
|
-
| :LATE_PAYMENT_REVERSAL
|
|
257
|
-
| :LOSS_WRITE_OFF
|
|
258
|
-
| :PROVISIONAL_CREDIT
|
|
259
|
-
| :PROVISIONAL_CREDIT_REVERSAL
|
|
260
|
-
| :SERVICE
|
|
261
|
-
| :RETURN
|
|
262
|
-
| :RETURN_REVERSAL
|
|
263
|
-
| :TRANSFER
|
|
264
|
-
| :TRANSFER_INSUFFICIENT_FUNDS
|
|
265
|
-
| :RETURNED_PAYMENT
|
|
266
|
-
| :RETURNED_PAYMENT_REVERSAL
|
|
267
|
-
| :LITHIC_NETWORK_PAYMENT
|
|
268
|
-
|
|
269
|
-
module Type
|
|
270
|
-
extend Lithic::Internal::Type::Enum
|
|
271
|
-
|
|
272
|
-
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
|
273
|
-
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
|
274
|
-
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
|
275
|
-
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
|
276
|
-
ACH_ORIGINATION_REJECTED: :ACH_ORIGINATION_REJECTED
|
|
277
|
-
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
278
|
-
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
279
|
-
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
280
|
-
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
281
|
-
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
282
|
-
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
283
|
-
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
284
|
-
ACH_RETURN_REJECTED: :ACH_RETURN_REJECTED
|
|
285
|
-
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
|
286
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
287
|
-
AUTHORIZATION_ADVICE: :AUTHORIZATION_ADVICE
|
|
288
|
-
AUTHORIZATION_EXPIRY: :AUTHORIZATION_EXPIRY
|
|
289
|
-
AUTHORIZATION_REVERSAL: :AUTHORIZATION_REVERSAL
|
|
290
|
-
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
|
291
|
-
BILLING_ERROR: :BILLING_ERROR
|
|
292
|
-
BILLING_ERROR_REVERSAL: :BILLING_ERROR_REVERSAL
|
|
293
|
-
CARD_TO_CARD: :CARD_TO_CARD
|
|
294
|
-
CASH_BACK: :CASH_BACK
|
|
295
|
-
CASH_BACK_REVERSAL: :CASH_BACK_REVERSAL
|
|
296
|
-
CLEARING: :CLEARING
|
|
297
|
-
COLLECTION: :COLLECTION
|
|
298
|
-
CORRECTION_CREDIT: :CORRECTION_CREDIT
|
|
299
|
-
CORRECTION_DEBIT: :CORRECTION_DEBIT
|
|
300
|
-
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
|
301
|
-
CREDIT_AUTHORIZATION_ADVICE: :CREDIT_AUTHORIZATION_ADVICE
|
|
302
|
-
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
|
303
|
-
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
304
|
-
DISPUTE_WON: :DISPUTE_WON
|
|
305
|
-
EXTERNAL_ACH_CANCELED: :EXTERNAL_ACH_CANCELED
|
|
306
|
-
EXTERNAL_ACH_INITIATED: :EXTERNAL_ACH_INITIATED
|
|
307
|
-
EXTERNAL_ACH_RELEASED: :EXTERNAL_ACH_RELEASED
|
|
308
|
-
EXTERNAL_ACH_REVERSED: :EXTERNAL_ACH_REVERSED
|
|
309
|
-
EXTERNAL_ACH_SETTLED: :EXTERNAL_ACH_SETTLED
|
|
310
|
-
EXTERNAL_CHECK_CANCELED: :EXTERNAL_CHECK_CANCELED
|
|
311
|
-
EXTERNAL_CHECK_INITIATED: :EXTERNAL_CHECK_INITIATED
|
|
312
|
-
EXTERNAL_CHECK_RELEASED: :EXTERNAL_CHECK_RELEASED
|
|
313
|
-
EXTERNAL_CHECK_REVERSED: :EXTERNAL_CHECK_REVERSED
|
|
314
|
-
EXTERNAL_CHECK_SETTLED: :EXTERNAL_CHECK_SETTLED
|
|
315
|
-
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
|
316
|
-
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
|
317
|
-
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
|
318
|
-
EXTERNAL_TRANSFER_REVERSED: :EXTERNAL_TRANSFER_REVERSED
|
|
319
|
-
EXTERNAL_TRANSFER_SETTLED: :EXTERNAL_TRANSFER_SETTLED
|
|
320
|
-
EXTERNAL_WIRE_CANCELED: :EXTERNAL_WIRE_CANCELED
|
|
321
|
-
EXTERNAL_WIRE_INITIATED: :EXTERNAL_WIRE_INITIATED
|
|
322
|
-
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
|
323
|
-
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
|
324
|
-
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
|
325
|
-
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
326
|
-
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
327
|
-
INTEREST: :INTEREST
|
|
328
|
-
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
329
|
-
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
330
|
-
LATE_PAYMENT: :LATE_PAYMENT
|
|
331
|
-
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
332
|
-
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
333
|
-
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
|
334
|
-
PROVISIONAL_CREDIT_REVERSAL: :PROVISIONAL_CREDIT_REVERSAL
|
|
335
|
-
SERVICE: :SERVICE
|
|
336
|
-
RETURN: :RETURN
|
|
337
|
-
RETURN_REVERSAL: :RETURN_REVERSAL
|
|
338
|
-
TRANSFER: :TRANSFER
|
|
339
|
-
TRANSFER_INSUFFICIENT_FUNDS: :TRANSFER_INSUFFICIENT_FUNDS
|
|
340
|
-
RETURNED_PAYMENT: :RETURNED_PAYMENT
|
|
341
|
-
RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
|
|
342
|
-
LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
|
|
343
|
-
|
|
344
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::Event::type_]
|
|
345
|
-
end
|
|
346
|
-
end
|
|
347
|
-
|
|
348
135
|
type result = :APPROVED | :DECLINED
|
|
349
136
|
|
|
350
137
|
module Result
|
|
@@ -356,7 +143,8 @@ module Lithic
|
|
|
356
143
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::result]
|
|
357
144
|
end
|
|
358
145
|
|
|
359
|
-
type status =
|
|
146
|
+
type status =
|
|
147
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
360
148
|
|
|
361
149
|
module Status
|
|
362
150
|
extend Lithic::Internal::Type::Enum
|
|
@@ -366,17 +154,75 @@ module Lithic
|
|
|
366
154
|
DECLINED: :DECLINED
|
|
367
155
|
REVERSED: :REVERSED
|
|
368
156
|
CANCELED: :CANCELED
|
|
157
|
+
RETURNED: :RETURNED
|
|
369
158
|
|
|
370
159
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::status]
|
|
371
160
|
end
|
|
372
161
|
end
|
|
373
162
|
|
|
374
|
-
type card =
|
|
163
|
+
type card =
|
|
164
|
+
{
|
|
165
|
+
token: String,
|
|
166
|
+
created: Time,
|
|
167
|
+
family: :CARD,
|
|
168
|
+
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
169
|
+
updated: Time
|
|
170
|
+
}
|
|
375
171
|
|
|
376
172
|
class Card < Lithic::Models::Transaction
|
|
377
|
-
def
|
|
173
|
+
def token: -> String
|
|
174
|
+
|
|
175
|
+
def token=: (String _) -> String
|
|
176
|
+
|
|
177
|
+
def created: -> Time
|
|
178
|
+
|
|
179
|
+
def created=: (Time _) -> Time
|
|
378
180
|
|
|
379
|
-
def
|
|
181
|
+
def family: -> :CARD
|
|
182
|
+
|
|
183
|
+
def family=: (:CARD _) -> :CARD
|
|
184
|
+
|
|
185
|
+
def status: -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
186
|
+
|
|
187
|
+
def status=: (
|
|
188
|
+
Lithic::Models::AccountActivityListResponse::Card::status _
|
|
189
|
+
) -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
190
|
+
|
|
191
|
+
def updated: -> Time
|
|
192
|
+
|
|
193
|
+
def updated=: (Time _) -> Time
|
|
194
|
+
|
|
195
|
+
def initialize: (
|
|
196
|
+
token: String,
|
|
197
|
+
created: Time,
|
|
198
|
+
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
199
|
+
updated: Time,
|
|
200
|
+
?family: :CARD
|
|
201
|
+
) -> void
|
|
202
|
+
|
|
203
|
+
def to_hash: -> {
|
|
204
|
+
token: String,
|
|
205
|
+
created: Time,
|
|
206
|
+
family: :CARD,
|
|
207
|
+
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
208
|
+
updated: Time
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type status =
|
|
212
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
213
|
+
|
|
214
|
+
module Status
|
|
215
|
+
extend Lithic::Internal::Type::Enum
|
|
216
|
+
|
|
217
|
+
PENDING: :PENDING
|
|
218
|
+
SETTLED: :SETTLED
|
|
219
|
+
DECLINED: :DECLINED
|
|
220
|
+
REVERSED: :REVERSED
|
|
221
|
+
CANCELED: :CANCELED
|
|
222
|
+
RETURNED: :RETURNED
|
|
223
|
+
|
|
224
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Card::status]
|
|
225
|
+
end
|
|
380
226
|
end
|
|
381
227
|
|
|
382
228
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_list_response]
|