@@ -140,6 +140,79 @@ def create(
140140 """
141141 ...
142142
143+ @overload
144+ def create (
145+ self ,
146+ * ,
147+ business_entity : account_holder_create_params .KYBDelegatedBusinessEntity ,
148+ beneficial_owner_individuals : Iterable [account_holder_create_params .KYBDelegatedBeneficialOwnerIndividual ]
149+ | NotGiven = NOT_GIVEN ,
150+ control_person : account_holder_create_params .KYBDelegatedControlPerson | NotGiven = NOT_GIVEN ,
151+ external_id : str | NotGiven = NOT_GIVEN ,
152+ nature_of_business : str | NotGiven = NOT_GIVEN ,
153+ tos_timestamp : str | NotGiven = NOT_GIVEN ,
154+ website_url : str | NotGiven = NOT_GIVEN ,
155+ workflow : Literal ["KYB_DELEGATED" ] | NotGiven = NOT_GIVEN ,
156+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
157+ # The extra values given here take precedence over values defined on the client or passed to this method.
158+ extra_headers : Headers | None = None ,
159+ extra_query : Query | None = None ,
160+ extra_body : Body | None = None ,
161+ timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
162+ ) -> AccountHolderCreateResponse :
163+ """
164+ Create an account holder and initiate the appropriate onboarding workflow.
165+ Account holders and accounts have a 1:1 relationship. When an account holder is
166+ successfully created an associated account is also created. All calls to this
167+ endpoint will return a synchronous response. The response time will depend on
168+ the workflow. In some cases, the response may indicate the workflow is under
169+ review or further action will be needed to complete the account creation
170+ process. This endpoint can only be used on accounts that are part of the program
171+ that the calling API key manages.
172+
173+ Args:
174+ business_entity: Information for business for which the account is being opened.
175+
176+ beneficial_owner_individuals: You can submit a list of all direct and indirect individuals with 25% or more
177+ ownership in the company. A maximum of 4 beneficial owners can be submitted. If
178+ no individual owns 25% of the company you do not need to send beneficial owner
179+ information. See
180+ [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
181+ (Section I) for more background on individuals that should be included.
182+
183+ control_person: An individual with significant responsibility for managing the legal entity
184+ (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
185+ Officer, Managing Member, General Partner, President, Vice President, or
186+ Treasurer). This can be an executive, or someone who will have program-wide
187+ access to the cards that Lithic will provide. In some cases, this individual
188+ could also be a beneficial owner listed above. See
189+ [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
190+ (Section II) for more background.
191+
192+ external_id: A user provided id that can be used to link an account holder with an external
193+ system
194+
195+ nature_of_business: Short description of the company's line of business (i.e., what does the company
196+ do?).
197+
198+ tos_timestamp: An RFC 3339 timestamp indicating when the account holder accepted the applicable
199+ legal agreements (e.g., cardholder terms) as agreed upon during API customer's
200+ implementation with Lithic.
201+
202+ website_url: Company website URL.
203+
204+ workflow: Specifies the type of KYB workflow to run.
205+
206+ extra_headers: Send extra headers
207+
208+ extra_query: Add additional query parameters to the request
209+
210+ extra_body: Add additional JSON properties to the request
211+
212+ timeout: Override the client-level default timeout for this request, in seconds
213+ """
214+ ...
215+
143216 @overload
144217 def create (
145218 self ,
@@ -266,6 +339,7 @@ def create(
266339 "tos_timestamp" ,
267340 "workflow" ,
268341 ],
342+ ["business_entity" ],
269343 ["individual" , "tos_timestamp" , "workflow" ],
270344 ["address" , "email" , "first_name" , "kyc_exemption_type" , "last_name" , "phone_number" , "workflow" ],
271345 )
@@ -278,7 +352,11 @@ def create(
278352 control_person : account_holder_create_params .KYBControlPerson | NotGiven = NOT_GIVEN ,
279353 nature_of_business : str | NotGiven = NOT_GIVEN ,
280354 tos_timestamp : str | NotGiven = NOT_GIVEN ,
281- workflow : Literal ["KYB_BASIC" , "KYB_BYO" ] | Literal ["KYC_BASIC" , "KYC_BYO" ] | Literal ["KYC_EXEMPT" ],
355+ workflow : Literal ["KYB_BASIC" , "KYB_BYO" ]
356+ | Literal ["KYB_DELEGATED" ]
357+ | Literal ["KYC_BASIC" , "KYC_BYO" ]
358+ | Literal ["KYC_EXEMPT" ]
359+ | NotGiven = NOT_GIVEN ,
282360 beneficial_owner_entities : Iterable [account_holder_create_params .KYBBeneficialOwnerEntity ]
283361 | NotGiven = NOT_GIVEN ,
284362 external_id : str | NotGiven = NOT_GIVEN ,
@@ -1129,6 +1207,79 @@ async def create(
11291207 """
11301208 ...
11311209
1210+ @overload
1211+ async def create (
1212+ self ,
1213+ * ,
1214+ business_entity : account_holder_create_params .KYBDelegatedBusinessEntity ,
1215+ beneficial_owner_individuals : Iterable [account_holder_create_params .KYBDelegatedBeneficialOwnerIndividual ]
1216+ | NotGiven = NOT_GIVEN ,
1217+ control_person : account_holder_create_params .KYBDelegatedControlPerson | NotGiven = NOT_GIVEN ,
1218+ external_id : str | NotGiven = NOT_GIVEN ,
1219+ nature_of_business : str | NotGiven = NOT_GIVEN ,
1220+ tos_timestamp : str | NotGiven = NOT_GIVEN ,
1221+ website_url : str | NotGiven = NOT_GIVEN ,
1222+ workflow : Literal ["KYB_DELEGATED" ] | NotGiven = NOT_GIVEN ,
1223+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1224+ # The extra values given here take precedence over values defined on the client or passed to this method.
1225+ extra_headers : Headers | None = None ,
1226+ extra_query : Query | None = None ,
1227+ extra_body : Body | None = None ,
1228+ timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
1229+ ) -> AccountHolderCreateResponse :
1230+ """
1231+ Create an account holder and initiate the appropriate onboarding workflow.
1232+ Account holders and accounts have a 1:1 relationship. When an account holder is
1233+ successfully created an associated account is also created. All calls to this
1234+ endpoint will return a synchronous response. The response time will depend on
1235+ the workflow. In some cases, the response may indicate the workflow is under
1236+ review or further action will be needed to complete the account creation
1237+ process. This endpoint can only be used on accounts that are part of the program
1238+ that the calling API key manages.
1239+
1240+ Args:
1241+ business_entity: Information for business for which the account is being opened.
1242+
1243+ beneficial_owner_individuals: You can submit a list of all direct and indirect individuals with 25% or more
1244+ ownership in the company. A maximum of 4 beneficial owners can be submitted. If
1245+ no individual owns 25% of the company you do not need to send beneficial owner
1246+ information. See
1247+ [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
1248+ (Section I) for more background on individuals that should be included.
1249+
1250+ control_person: An individual with significant responsibility for managing the legal entity
1251+ (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
1252+ Officer, Managing Member, General Partner, President, Vice President, or
1253+ Treasurer). This can be an executive, or someone who will have program-wide
1254+ access to the cards that Lithic will provide. In some cases, this individual
1255+ could also be a beneficial owner listed above. See
1256+ [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
1257+ (Section II) for more background.
1258+
1259+ external_id: A user provided id that can be used to link an account holder with an external
1260+ system
1261+
1262+ nature_of_business: Short description of the company's line of business (i.e., what does the company
1263+ do?).
1264+
1265+ tos_timestamp: An RFC 3339 timestamp indicating when the account holder accepted the applicable
1266+ legal agreements (e.g., cardholder terms) as agreed upon during API customer's
1267+ implementation with Lithic.
1268+
1269+ website_url: Company website URL.
1270+
1271+ workflow: Specifies the type of KYB workflow to run.
1272+
1273+ extra_headers: Send extra headers
1274+
1275+ extra_query: Add additional query parameters to the request
1276+
1277+ extra_body: Add additional JSON properties to the request
1278+
1279+ timeout: Override the client-level default timeout for this request, in seconds
1280+ """
1281+ ...
1282+
11321283 @overload
11331284 async def create (
11341285 self ,
@@ -1255,6 +1406,7 @@ async def create(
12551406 "tos_timestamp" ,
12561407 "workflow" ,
12571408 ],
1409+ ["business_entity" ],
12581410 ["individual" , "tos_timestamp" , "workflow" ],
12591411 ["address" , "email" , "first_name" , "kyc_exemption_type" , "last_name" , "phone_number" , "workflow" ],
12601412 )
@@ -1267,7 +1419,11 @@ async def create(
12671419 control_person : account_holder_create_params .KYBControlPerson | NotGiven = NOT_GIVEN ,
12681420 nature_of_business : str | NotGiven = NOT_GIVEN ,
12691421 tos_timestamp : str | NotGiven = NOT_GIVEN ,
1270- workflow : Literal ["KYB_BASIC" , "KYB_BYO" ] | Literal ["KYC_BASIC" , "KYC_BYO" ] | Literal ["KYC_EXEMPT" ],
1422+ workflow : Literal ["KYB_BASIC" , "KYB_BYO" ]
1423+ | Literal ["KYB_DELEGATED" ]
1424+ | Literal ["KYC_BASIC" , "KYC_BYO" ]
1425+ | Literal ["KYC_EXEMPT" ]
1426+ | NotGiven = NOT_GIVEN ,
12711427 beneficial_owner_entities : Iterable [account_holder_create_params .KYBBeneficialOwnerEntity ]
12721428 | NotGiven = NOT_GIVEN ,
12731429 external_id : str | NotGiven = NOT_GIVEN ,
0 commit comments