@@ -7,6 +7,12 @@ class AccountUpdateParams < Lithic::Internal::Type::BaseModel
77 extend Lithic ::Internal ::Type ::RequestParameters ::Converter
88 include Lithic ::Internal ::Type ::RequestParameters
99
10+ # @!attribute comment
11+ # Additional context or information related to the account.
12+ #
13+ # @return [String, nil]
14+ optional :comment , String
15+
1016 # @!attribute daily_spend_limit
1117 # Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
1218 # $1,000 limit). By default the daily spend limit is set to $1,250.
@@ -39,6 +45,38 @@ class AccountUpdateParams < Lithic::Internal::Type::BaseModel
3945 # @return [Symbol, Lithic::Models::AccountUpdateParams::State, nil]
4046 optional :state , enum : -> { Lithic ::AccountUpdateParams ::State }
4147
48+ # @!attribute substatus
49+ # Account state substatus values:
50+ #
51+ # - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
52+ # with stolen or fabricated identity information, encompassing both true
53+ # identity theft and synthetic identities.
54+ # - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
55+ # unauthorized access or fraudulent transactions, necessitating further
56+ # investigation.
57+ # - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
58+ # legitimate account holder. Examples include disputing valid transactions
59+ # without cause, falsely claiming non-receipt of goods, or engaging in
60+ # intentional bust-out schemes to exploit account services.
61+ # - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
62+ # of the account for personal reasons. This encompasses situations such as
63+ # bankruptcy, other financial considerations, or the account holder's death.
64+ # - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
65+ # business strategy, risk management, inactivity, product changes, regulatory
66+ # concerns, or violations of terms and conditions.
67+ # - `NOT_ACTIVE` - The account has not had any transactions or payment activity
68+ # within a specified period. This status applies to accounts that are paused or
69+ # closed due to inactivity.
70+ # - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
71+ # review. In future implementations, this status may prevent clients from
72+ # activating the account via APIs until the review is completed.
73+ # - `OTHER` - The reason for the account's current status does not fall into any
74+ # of the above categories. A comment should be provided to specify the
75+ # particular reason.
76+ #
77+ # @return [Symbol, Lithic::Models::AccountUpdateParams::Substatus, nil]
78+ optional :substatus , enum : -> { Lithic ::AccountUpdateParams ::Substatus }
79+
4280 # @!attribute verification_address
4381 # @deprecated
4482 #
@@ -50,10 +88,12 @@ class AccountUpdateParams < Lithic::Internal::Type::BaseModel
5088 # @return [Lithic::Models::AccountUpdateParams::VerificationAddress, nil]
5189 optional :verification_address , -> { Lithic ::AccountUpdateParams ::VerificationAddress }
5290
53- # @!method initialize(daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, verification_address: nil, request_options: {})
91+ # @!method initialize(comment: nil, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, substatus : nil, verification_address: nil, request_options: {})
5492 # Some parameter documentations has been truncated, see
5593 # {Lithic::Models::AccountUpdateParams} for more details.
5694 #
95+ # @param comment [String] Additional context or information related to the account.
96+ #
5797 # @param daily_spend_limit [Integer] Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a $1
5898 #
5999 # @param lifetime_spend_limit [Integer] Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a
@@ -62,6 +102,8 @@ class AccountUpdateParams < Lithic::Internal::Type::BaseModel
62102 #
63103 # @param state [Symbol, Lithic::Models::AccountUpdateParams::State] Account states.
64104 #
105+ # @param substatus [Symbol, Lithic::Models::AccountUpdateParams::Substatus] Account state substatus values:
106+ #
65107 # @param verification_address [Lithic::Models::AccountUpdateParams::VerificationAddress] Address used during Address Verification Service (AVS) checks during transaction
66108 #
67109 # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
@@ -78,6 +120,49 @@ module State
78120 # @return [Array<Symbol>]
79121 end
80122
123+ # Account state substatus values:
124+ #
125+ # - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
126+ # with stolen or fabricated identity information, encompassing both true
127+ # identity theft and synthetic identities.
128+ # - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
129+ # unauthorized access or fraudulent transactions, necessitating further
130+ # investigation.
131+ # - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
132+ # legitimate account holder. Examples include disputing valid transactions
133+ # without cause, falsely claiming non-receipt of goods, or engaging in
134+ # intentional bust-out schemes to exploit account services.
135+ # - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
136+ # of the account for personal reasons. This encompasses situations such as
137+ # bankruptcy, other financial considerations, or the account holder's death.
138+ # - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
139+ # business strategy, risk management, inactivity, product changes, regulatory
140+ # concerns, or violations of terms and conditions.
141+ # - `NOT_ACTIVE` - The account has not had any transactions or payment activity
142+ # within a specified period. This status applies to accounts that are paused or
143+ # closed due to inactivity.
144+ # - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
145+ # review. In future implementations, this status may prevent clients from
146+ # activating the account via APIs until the review is completed.
147+ # - `OTHER` - The reason for the account's current status does not fall into any
148+ # of the above categories. A comment should be provided to specify the
149+ # particular reason.
150+ module Substatus
151+ extend Lithic ::Internal ::Type ::Enum
152+
153+ FRAUD_IDENTIFIED = :FRAUD_IDENTIFIED
154+ SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
155+ RISK_VIOLATION = :RISK_VIOLATION
156+ END_USER_REQUEST = :END_USER_REQUEST
157+ ISSUER_REQUEST = :ISSUER_REQUEST
158+ NOT_ACTIVE = :NOT_ACTIVE
159+ INTERNAL_REVIEW = :INTERNAL_REVIEW
160+ OTHER = :OTHER
161+
162+ # @!method self.values
163+ # @return [Array<Symbol>]
164+ end
165+
81166 # @deprecated
82167 class VerificationAddress < Lithic ::Internal ::Type ::BaseModel
83168 # @!attribute address1
0 commit comments