lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.40
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 +10 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account.rb +88 -1
- data/lib/lithic/models/account_update_params.rb +86 -1
- data/lib/lithic/models/aggregate_balance.rb +1 -0
- data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +4 -10
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +238 -16
- data/lib/lithic/models/balance.rb +1 -0
- data/lib/lithic/models/balance_list_params.rb +1 -0
- data/lib/lithic/models/card_create_params.rb +90 -1
- data/lib/lithic/models/card_program.rb +10 -1
- data/lib/lithic/models/card_update_params.rb +98 -1
- data/lib/lithic/models/cards/balance_list_response.rb +1 -0
- data/lib/lithic/models/external_resource.rb +34 -0
- data/lib/lithic/models/external_resource_type.rb +18 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
- data/lib/lithic/models/management_operation_create_params.rb +30 -1
- data/lib/lithic/models/management_operation_transaction.rb +22 -1
- data/lib/lithic/models/network_program.rb +41 -0
- data/lib/lithic/models/network_program_list_params.rb +43 -0
- data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
- data/lib/lithic/models/non_pci_card.rb +88 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/transaction.rb +31 -20
- data/lib/lithic/models.rb +10 -0
- data/lib/lithic/resources/accounts.rb +5 -1
- data/lib/lithic/resources/cards.rb +12 -2
- data/lib/lithic/resources/management_operations.rb +13 -1
- data/lib/lithic/resources/network_programs.rb +64 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +6 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account.rbi +131 -0
- data/rbi/lithic/models/account_update_params.rbi +159 -0
- data/rbi/lithic/models/aggregate_balance.rbi +5 -0
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +6 -15
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
- data/rbi/lithic/models/balance.rbi +2 -0
- data/rbi/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lithic/models/card_create_params.rbi +190 -0
- data/rbi/lithic/models/card_program.rbi +13 -0
- data/rbi/lithic/models/card_update_params.rbi +168 -0
- data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/external_resource.rbi +57 -0
- data/rbi/lithic/models/external_resource_type.rbi +26 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +15 -0
- data/rbi/lithic/models/network_program.rbi +61 -0
- data/rbi/lithic/models/network_program_list_params.rbi +72 -0
- data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/non_pci_card.rbi +133 -3
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/transaction.rbi +23 -31
- data/rbi/lithic/models.rbi +10 -0
- data/rbi/lithic/resources/accounts.rbi +32 -0
- data/rbi/lithic/resources/cards.rbi +70 -0
- data/rbi/lithic/resources/management_operations.rbi +4 -0
- data/rbi/lithic/resources/network_programs.rbi +48 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account.rbs +41 -0
- data/sig/lithic/models/account_update_params.rbs +41 -0
- data/sig/lithic/models/aggregate_balance.rbs +2 -1
- data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
- data/sig/lithic/models/balance.rbs +2 -1
- data/sig/lithic/models/balance_list_params.rbs +2 -1
- data/sig/lithic/models/card_create_params.rbs +47 -0
- data/sig/lithic/models/card_program.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +55 -1
- data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
- data/sig/lithic/models/external_resource.rbs +32 -0
- data/sig/lithic/models/external_resource_type.rbs +16 -0
- data/sig/lithic/models/financial_account_list_params.rbs +2 -1
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
- data/sig/lithic/models/management_operation_create_params.rbs +20 -0
- data/sig/lithic/models/management_operation_transaction.rbs +5 -0
- data/sig/lithic/models/network_program.rbs +35 -0
- data/sig/lithic/models/network_program_list_params.rbs +38 -0
- data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
- data/sig/lithic/models/non_pci_card.rbs +55 -3
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +2 -6
- data/sig/lithic/models.rbs +10 -0
- data/sig/lithic/resources/accounts.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/management_operations.rbs +1 -0
- data/sig/lithic/resources/network_programs.rbs +19 -0
- metadata +20 -2
@@ -66,6 +66,46 @@ module Lithic
|
|
66
66
|
sig { params(cardholder_currency: String).void }
|
67
67
|
attr_writer :cardholder_currency
|
68
68
|
|
69
|
+
# Additional context or information related to the account.
|
70
|
+
sig { returns(T.nilable(String)) }
|
71
|
+
attr_reader :comment
|
72
|
+
|
73
|
+
sig { params(comment: String).void }
|
74
|
+
attr_writer :comment
|
75
|
+
|
76
|
+
# Account state substatus values:
|
77
|
+
#
|
78
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
79
|
+
# with stolen or fabricated identity information, encompassing both true
|
80
|
+
# identity theft and synthetic identities.
|
81
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
82
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
83
|
+
# investigation.
|
84
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
85
|
+
# legitimate account holder. Examples include disputing valid transactions
|
86
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
87
|
+
# intentional bust-out schemes to exploit account services.
|
88
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
89
|
+
# of the account for personal reasons. This encompasses situations such as
|
90
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
91
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
92
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
93
|
+
# concerns, or violations of terms and conditions.
|
94
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
95
|
+
# within a specified period. This status applies to accounts that are paused or
|
96
|
+
# closed due to inactivity.
|
97
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
98
|
+
# review. In future implementations, this status may prevent clients from
|
99
|
+
# activating the account via APIs until the review is completed.
|
100
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
101
|
+
# of the above categories. A comment should be provided to specify the
|
102
|
+
# particular reason.
|
103
|
+
sig { returns(T.nilable(Lithic::Account::Substatus::TaggedSymbol)) }
|
104
|
+
attr_reader :substatus
|
105
|
+
|
106
|
+
sig { params(substatus: Lithic::Account::Substatus::OrSymbol).void }
|
107
|
+
attr_writer :substatus
|
108
|
+
|
69
109
|
sig { returns(T.nilable(Lithic::Account::VerificationAddress)) }
|
70
110
|
attr_reader :verification_address
|
71
111
|
|
@@ -85,6 +125,8 @@ module Lithic
|
|
85
125
|
account_holder: Lithic::Account::AccountHolder::OrHash,
|
86
126
|
auth_rule_tokens: T::Array[String],
|
87
127
|
cardholder_currency: String,
|
128
|
+
comment: String,
|
129
|
+
substatus: Lithic::Account::Substatus::OrSymbol,
|
88
130
|
verification_address: Lithic::Account::VerificationAddress::OrHash
|
89
131
|
).returns(T.attached_class)
|
90
132
|
end
|
@@ -121,6 +163,36 @@ module Lithic
|
|
121
163
|
auth_rule_tokens: nil,
|
122
164
|
# 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
123
165
|
cardholder_currency: nil,
|
166
|
+
# Additional context or information related to the account.
|
167
|
+
comment: nil,
|
168
|
+
# Account state substatus values:
|
169
|
+
#
|
170
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
171
|
+
# with stolen or fabricated identity information, encompassing both true
|
172
|
+
# identity theft and synthetic identities.
|
173
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
174
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
175
|
+
# investigation.
|
176
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
177
|
+
# legitimate account holder. Examples include disputing valid transactions
|
178
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
179
|
+
# intentional bust-out schemes to exploit account services.
|
180
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
181
|
+
# of the account for personal reasons. This encompasses situations such as
|
182
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
183
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
184
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
185
|
+
# concerns, or violations of terms and conditions.
|
186
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
187
|
+
# within a specified period. This status applies to accounts that are paused or
|
188
|
+
# closed due to inactivity.
|
189
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
190
|
+
# review. In future implementations, this status may prevent clients from
|
191
|
+
# activating the account via APIs until the review is completed.
|
192
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
193
|
+
# of the above categories. A comment should be provided to specify the
|
194
|
+
# particular reason.
|
195
|
+
substatus: nil,
|
124
196
|
verification_address: nil
|
125
197
|
)
|
126
198
|
end
|
@@ -135,6 +207,8 @@ module Lithic
|
|
135
207
|
account_holder: Lithic::Account::AccountHolder,
|
136
208
|
auth_rule_tokens: T::Array[String],
|
137
209
|
cardholder_currency: String,
|
210
|
+
comment: String,
|
211
|
+
substatus: Lithic::Account::Substatus::TaggedSymbol,
|
138
212
|
verification_address: Lithic::Account::VerificationAddress
|
139
213
|
}
|
140
214
|
)
|
@@ -275,6 +349,63 @@ module Lithic
|
|
275
349
|
end
|
276
350
|
end
|
277
351
|
|
352
|
+
# Account state substatus values:
|
353
|
+
#
|
354
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
355
|
+
# with stolen or fabricated identity information, encompassing both true
|
356
|
+
# identity theft and synthetic identities.
|
357
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
358
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
359
|
+
# investigation.
|
360
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
361
|
+
# legitimate account holder. Examples include disputing valid transactions
|
362
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
363
|
+
# intentional bust-out schemes to exploit account services.
|
364
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
365
|
+
# of the account for personal reasons. This encompasses situations such as
|
366
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
367
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
368
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
369
|
+
# concerns, or violations of terms and conditions.
|
370
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
371
|
+
# within a specified period. This status applies to accounts that are paused or
|
372
|
+
# closed due to inactivity.
|
373
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
374
|
+
# review. In future implementations, this status may prevent clients from
|
375
|
+
# activating the account via APIs until the review is completed.
|
376
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
377
|
+
# of the above categories. A comment should be provided to specify the
|
378
|
+
# particular reason.
|
379
|
+
module Substatus
|
380
|
+
extend Lithic::Internal::Type::Enum
|
381
|
+
|
382
|
+
TaggedSymbol =
|
383
|
+
T.type_alias { T.all(Symbol, Lithic::Account::Substatus) }
|
384
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
385
|
+
|
386
|
+
FRAUD_IDENTIFIED =
|
387
|
+
T.let(:FRAUD_IDENTIFIED, Lithic::Account::Substatus::TaggedSymbol)
|
388
|
+
SUSPICIOUS_ACTIVITY =
|
389
|
+
T.let(:SUSPICIOUS_ACTIVITY, Lithic::Account::Substatus::TaggedSymbol)
|
390
|
+
RISK_VIOLATION =
|
391
|
+
T.let(:RISK_VIOLATION, Lithic::Account::Substatus::TaggedSymbol)
|
392
|
+
END_USER_REQUEST =
|
393
|
+
T.let(:END_USER_REQUEST, Lithic::Account::Substatus::TaggedSymbol)
|
394
|
+
ISSUER_REQUEST =
|
395
|
+
T.let(:ISSUER_REQUEST, Lithic::Account::Substatus::TaggedSymbol)
|
396
|
+
NOT_ACTIVE =
|
397
|
+
T.let(:NOT_ACTIVE, Lithic::Account::Substatus::TaggedSymbol)
|
398
|
+
INTERNAL_REVIEW =
|
399
|
+
T.let(:INTERNAL_REVIEW, Lithic::Account::Substatus::TaggedSymbol)
|
400
|
+
OTHER = T.let(:OTHER, Lithic::Account::Substatus::TaggedSymbol)
|
401
|
+
|
402
|
+
sig do
|
403
|
+
override.returns(T::Array[Lithic::Account::Substatus::TaggedSymbol])
|
404
|
+
end
|
405
|
+
def self.values
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
278
409
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
279
410
|
OrHash =
|
280
411
|
T.type_alias do
|
@@ -11,6 +11,13 @@ module Lithic
|
|
11
11
|
T.any(Lithic::AccountUpdateParams, Lithic::Internal::AnyHash)
|
12
12
|
end
|
13
13
|
|
14
|
+
# Additional context or information related to the account.
|
15
|
+
sig { returns(T.nilable(String)) }
|
16
|
+
attr_reader :comment
|
17
|
+
|
18
|
+
sig { params(comment: String).void }
|
19
|
+
attr_writer :comment
|
20
|
+
|
14
21
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
15
22
|
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
16
23
|
sig { returns(T.nilable(Integer)) }
|
@@ -47,6 +54,43 @@ module Lithic
|
|
47
54
|
sig { params(state: Lithic::AccountUpdateParams::State::OrSymbol).void }
|
48
55
|
attr_writer :state
|
49
56
|
|
57
|
+
# Account state substatus values:
|
58
|
+
#
|
59
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
60
|
+
# with stolen or fabricated identity information, encompassing both true
|
61
|
+
# identity theft and synthetic identities.
|
62
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
63
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
64
|
+
# investigation.
|
65
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
66
|
+
# legitimate account holder. Examples include disputing valid transactions
|
67
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
68
|
+
# intentional bust-out schemes to exploit account services.
|
69
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
70
|
+
# of the account for personal reasons. This encompasses situations such as
|
71
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
72
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
73
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
74
|
+
# concerns, or violations of terms and conditions.
|
75
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
76
|
+
# within a specified period. This status applies to accounts that are paused or
|
77
|
+
# closed due to inactivity.
|
78
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
79
|
+
# review. In future implementations, this status may prevent clients from
|
80
|
+
# activating the account via APIs until the review is completed.
|
81
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
82
|
+
# of the above categories. A comment should be provided to specify the
|
83
|
+
# particular reason.
|
84
|
+
sig do
|
85
|
+
returns(T.nilable(Lithic::AccountUpdateParams::Substatus::OrSymbol))
|
86
|
+
end
|
87
|
+
attr_reader :substatus
|
88
|
+
|
89
|
+
sig do
|
90
|
+
params(substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol).void
|
91
|
+
end
|
92
|
+
attr_writer :substatus
|
93
|
+
|
50
94
|
# Address used during Address Verification Service (AVS) checks during
|
51
95
|
# transactions if enabled via Auth Rules. This field is deprecated as AVS checks
|
52
96
|
# are no longer supported by Auth Rules. The field will be removed from the schema
|
@@ -66,16 +110,20 @@ module Lithic
|
|
66
110
|
|
67
111
|
sig do
|
68
112
|
params(
|
113
|
+
comment: String,
|
69
114
|
daily_spend_limit: Integer,
|
70
115
|
lifetime_spend_limit: Integer,
|
71
116
|
monthly_spend_limit: Integer,
|
72
117
|
state: Lithic::AccountUpdateParams::State::OrSymbol,
|
118
|
+
substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
|
73
119
|
verification_address:
|
74
120
|
Lithic::AccountUpdateParams::VerificationAddress::OrHash,
|
75
121
|
request_options: Lithic::RequestOptions::OrHash
|
76
122
|
).returns(T.attached_class)
|
77
123
|
end
|
78
124
|
def self.new(
|
125
|
+
# Additional context or information related to the account.
|
126
|
+
comment: nil,
|
79
127
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
80
128
|
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
81
129
|
daily_spend_limit: nil,
|
@@ -92,6 +140,34 @@ module Lithic
|
|
92
140
|
monthly_spend_limit: nil,
|
93
141
|
# Account states.
|
94
142
|
state: nil,
|
143
|
+
# Account state substatus values:
|
144
|
+
#
|
145
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
146
|
+
# with stolen or fabricated identity information, encompassing both true
|
147
|
+
# identity theft and synthetic identities.
|
148
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
149
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
150
|
+
# investigation.
|
151
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
152
|
+
# legitimate account holder. Examples include disputing valid transactions
|
153
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
154
|
+
# intentional bust-out schemes to exploit account services.
|
155
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
156
|
+
# of the account for personal reasons. This encompasses situations such as
|
157
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
158
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
159
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
160
|
+
# concerns, or violations of terms and conditions.
|
161
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
162
|
+
# within a specified period. This status applies to accounts that are paused or
|
163
|
+
# closed due to inactivity.
|
164
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
165
|
+
# review. In future implementations, this status may prevent clients from
|
166
|
+
# activating the account via APIs until the review is completed.
|
167
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
168
|
+
# of the above categories. A comment should be provided to specify the
|
169
|
+
# particular reason.
|
170
|
+
substatus: nil,
|
95
171
|
# Address used during Address Verification Service (AVS) checks during
|
96
172
|
# transactions if enabled via Auth Rules. This field is deprecated as AVS checks
|
97
173
|
# are no longer supported by Auth Rules. The field will be removed from the schema
|
@@ -104,10 +180,12 @@ module Lithic
|
|
104
180
|
sig do
|
105
181
|
override.returns(
|
106
182
|
{
|
183
|
+
comment: String,
|
107
184
|
daily_spend_limit: Integer,
|
108
185
|
lifetime_spend_limit: Integer,
|
109
186
|
monthly_spend_limit: Integer,
|
110
187
|
state: Lithic::AccountUpdateParams::State::OrSymbol,
|
188
|
+
substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
|
111
189
|
verification_address:
|
112
190
|
Lithic::AccountUpdateParams::VerificationAddress,
|
113
191
|
request_options: Lithic::RequestOptions
|
@@ -141,6 +219,87 @@ module Lithic
|
|
141
219
|
end
|
142
220
|
end
|
143
221
|
|
222
|
+
# Account state substatus values:
|
223
|
+
#
|
224
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
225
|
+
# with stolen or fabricated identity information, encompassing both true
|
226
|
+
# identity theft and synthetic identities.
|
227
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
228
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
229
|
+
# investigation.
|
230
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
231
|
+
# legitimate account holder. Examples include disputing valid transactions
|
232
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
233
|
+
# intentional bust-out schemes to exploit account services.
|
234
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
235
|
+
# of the account for personal reasons. This encompasses situations such as
|
236
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
237
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
238
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
239
|
+
# concerns, or violations of terms and conditions.
|
240
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
241
|
+
# within a specified period. This status applies to accounts that are paused or
|
242
|
+
# closed due to inactivity.
|
243
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
244
|
+
# review. In future implementations, this status may prevent clients from
|
245
|
+
# activating the account via APIs until the review is completed.
|
246
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
247
|
+
# of the above categories. A comment should be provided to specify the
|
248
|
+
# particular reason.
|
249
|
+
module Substatus
|
250
|
+
extend Lithic::Internal::Type::Enum
|
251
|
+
|
252
|
+
TaggedSymbol =
|
253
|
+
T.type_alias { T.all(Symbol, Lithic::AccountUpdateParams::Substatus) }
|
254
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
255
|
+
|
256
|
+
FRAUD_IDENTIFIED =
|
257
|
+
T.let(
|
258
|
+
:FRAUD_IDENTIFIED,
|
259
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
260
|
+
)
|
261
|
+
SUSPICIOUS_ACTIVITY =
|
262
|
+
T.let(
|
263
|
+
:SUSPICIOUS_ACTIVITY,
|
264
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
265
|
+
)
|
266
|
+
RISK_VIOLATION =
|
267
|
+
T.let(
|
268
|
+
:RISK_VIOLATION,
|
269
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
270
|
+
)
|
271
|
+
END_USER_REQUEST =
|
272
|
+
T.let(
|
273
|
+
:END_USER_REQUEST,
|
274
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
275
|
+
)
|
276
|
+
ISSUER_REQUEST =
|
277
|
+
T.let(
|
278
|
+
:ISSUER_REQUEST,
|
279
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
280
|
+
)
|
281
|
+
NOT_ACTIVE =
|
282
|
+
T.let(
|
283
|
+
:NOT_ACTIVE,
|
284
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
285
|
+
)
|
286
|
+
INTERNAL_REVIEW =
|
287
|
+
T.let(
|
288
|
+
:INTERNAL_REVIEW,
|
289
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
290
|
+
)
|
291
|
+
OTHER =
|
292
|
+
T.let(:OTHER, Lithic::AccountUpdateParams::Substatus::TaggedSymbol)
|
293
|
+
|
294
|
+
sig do
|
295
|
+
override.returns(
|
296
|
+
T::Array[Lithic::AccountUpdateParams::Substatus::TaggedSymbol]
|
297
|
+
)
|
298
|
+
end
|
299
|
+
def self.values
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
144
303
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
145
304
|
OrHash =
|
146
305
|
T.type_alias do
|
@@ -143,6 +143,11 @@ module Lithic
|
|
143
143
|
:RESERVE,
|
144
144
|
Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
|
145
145
|
)
|
146
|
+
SECURITY =
|
147
|
+
T.let(
|
148
|
+
:SECURITY,
|
149
|
+
Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
|
150
|
+
)
|
146
151
|
|
147
152
|
sig do
|
148
153
|
override.returns(
|
@@ -83,6 +83,11 @@ module Lithic
|
|
83
83
|
:RESERVE,
|
84
84
|
Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
|
85
85
|
)
|
86
|
+
SECURITY =
|
87
|
+
T.let(
|
88
|
+
:SECURITY,
|
89
|
+
Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
|
90
|
+
)
|
86
91
|
|
87
92
|
sig do
|
88
93
|
override.returns(
|
@@ -123,11 +123,8 @@ module Lithic
|
|
123
123
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
124
124
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
125
125
|
# fee on behalf of the cardholder.
|
126
|
-
# - `RISK_SCORE`:
|
127
|
-
#
|
128
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
129
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
130
|
-
# multiplying the raw score by 10x.
|
126
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
127
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
131
128
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
132
129
|
sig do
|
133
130
|
returns(
|
@@ -211,11 +208,8 @@ module Lithic
|
|
211
208
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
212
209
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
213
210
|
# fee on behalf of the cardholder.
|
214
|
-
# - `RISK_SCORE`:
|
215
|
-
#
|
216
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
217
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
218
|
-
# multiplying the raw score by 10x.
|
211
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
212
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
219
213
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
220
214
|
attribute: nil,
|
221
215
|
# The operation to apply to the attribute
|
@@ -258,11 +252,8 @@ module Lithic
|
|
258
252
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
259
253
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
260
254
|
# fee on behalf of the cardholder.
|
261
|
-
# - `RISK_SCORE`:
|
262
|
-
#
|
263
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
264
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
265
|
-
# multiplying the raw score by 10x.
|
255
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
256
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
266
257
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
267
258
|
module Attribute
|
268
259
|
extend Lithic::Internal::Type::Enum
|
@@ -28,7 +28,12 @@ module Lithic
|
|
28
28
|
returns(
|
29
29
|
T.any(
|
30
30
|
Integer,
|
31
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
31
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
32
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
|
33
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
|
34
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
|
35
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
|
36
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
32
37
|
)
|
33
38
|
)
|
34
39
|
end
|
@@ -57,7 +62,12 @@ module Lithic
|
|
57
62
|
period:
|
58
63
|
T.any(
|
59
64
|
Integer,
|
60
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
65
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
66
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::OrHash,
|
67
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::OrHash,
|
68
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::OrHash,
|
69
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::OrHash,
|
70
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::OrHash
|
61
71
|
),
|
62
72
|
scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
|
63
73
|
limit_amount: T.nilable(Integer),
|
@@ -90,7 +100,12 @@ module Lithic
|
|
90
100
|
period:
|
91
101
|
T.any(
|
92
102
|
Integer,
|
93
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
103
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
104
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
|
105
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
|
106
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
|
107
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
|
108
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
94
109
|
),
|
95
110
|
scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
|
96
111
|
limit_amount: T.nilable(Integer),
|
@@ -172,28 +187,6 @@ module Lithic
|
|
172
187
|
end
|
173
188
|
end
|
174
189
|
|
175
|
-
# The size of the trailing window to calculate Spend Velocity over in seconds. The
|
176
|
-
# minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
|
177
|
-
module Period
|
178
|
-
extend Lithic::Internal::Type::Union
|
179
|
-
|
180
|
-
Variants =
|
181
|
-
T.type_alias do
|
182
|
-
T.any(
|
183
|
-
Integer,
|
184
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol
|
185
|
-
)
|
186
|
-
end
|
187
|
-
|
188
|
-
sig do
|
189
|
-
override.returns(
|
190
|
-
T::Array[Lithic::AuthRules::VelocityLimitParams::Period::Variants]
|
191
|
-
)
|
192
|
-
end
|
193
|
-
def self.variants
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
190
|
module Scope
|
198
191
|
extend Lithic::Internal::Type::Enum
|
199
192
|
|