@@ -262,6 +262,9 @@ type AccountHolder struct {
262262 // Only present when user_type == "INDIVIDUAL". Information about the individual
263263 // for which the account is being opened and KYC is being run.
264264 Individual AccountHolderIndividual `json:"individual"`
265+ // Only present when user_type == "BUSINESS". 6-digit North American Industry
266+ // Classification System (NAICS) code for the business.
267+ NaicsCode string `json:"naics_code"`
265268 // Only present when user_type == "BUSINESS". User-submitted description of the
266269 // business.
267270 NatureOfBusiness string `json:"nature_of_business"`
@@ -286,8 +289,8 @@ type AccountHolder struct {
286289 StatusReasons []AccountHolderStatusReason `json:"status_reasons"`
287290 // The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
288291 // attribute will be present. If the type is "BUSINESS" then the "business_entity",
289- // "control_person", "beneficial_owner_individuals", "nature_of_business", and
290- // "website_url" attributes will be present.
292+ // "control_person", "beneficial_owner_individuals", "naics_code",
293+ // "nature_of_business", and " website_url" attributes will be present.
291294 UserType AccountHolderUserType `json:"user_type"`
292295 // Information about the most recent identity verification attempt
293296 VerificationApplication AccountHolderVerificationApplication `json:"verification_application"`
@@ -310,6 +313,7 @@ type accountHolderJSON struct {
310313 ExemptionType apijson.Field
311314 ExternalID apijson.Field
312315 Individual apijson.Field
316+ NaicsCode apijson.Field
313317 NatureOfBusiness apijson.Field
314318 PhoneNumber apijson.Field
315319 RequiredDocuments apijson.Field
@@ -620,8 +624,8 @@ func (r AccountHolderStatusReason) IsKnown() bool {
620624
621625// The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
622626// attribute will be present. If the type is "BUSINESS" then the "business_entity",
623- // "control_person", "beneficial_owner_individuals", "nature_of_business", and
624- // "website_url" attributes will be present.
627+ // "control_person", "beneficial_owner_individuals", "naics_code",
628+ // "nature_of_business", and " website_url" attributes will be present.
625629type AccountHolderUserType string
626630
627631const (
@@ -783,6 +787,9 @@ type KYBParam struct {
783787 //
784788 // This field is required only if workflow type is `KYB_BYO`.
785789 KYBPassedTimestamp param.Field [string ] `json:"kyb_passed_timestamp"`
790+ // 6-digit North American Industry Classification System (NAICS) code for the
791+ // business.
792+ NaicsCode param.Field [string ] `json:"naics_code"`
786793 // Company website URL.
787794 WebsiteURL param.Field [string ] `json:"website_url"`
788795}
@@ -1317,6 +1324,9 @@ type AccountHolderUpdateResponse struct {
13171324 LastName string `json:"last_name"`
13181325 // The legal business name for the account holder
13191326 LegalBusinessName string `json:"legal_business_name"`
1327+ // Only present when user_type == "BUSINESS". 6-digit North American Industry
1328+ // Classification System (NAICS) code for the business.
1329+ NaicsCode string `json:"naics_code"`
13201330 // Only present when user_type == "BUSINESS". User-submitted description of the
13211331 // business.
13221332 NatureOfBusiness string `json:"nature_of_business"`
@@ -1339,8 +1349,8 @@ type AccountHolderUpdateResponse struct {
13391349 // attribute will be present.
13401350 //
13411351 // If the type is "BUSINESS" then the "business_entity", "control_person",
1342- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
1343- // attributes will be present.
1352+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
1353+ // "website_url" attributes will be present.
13441354 UserType AccountHolderUpdateResponseUserType `json:"user_type"`
13451355 // This field can have the runtime type of
13461356 // [AccountHolderUpdateResponseKYBKYCPatchResponseVerificationApplication].
@@ -1370,6 +1380,7 @@ type accountHolderUpdateResponseJSON struct {
13701380 Individual apijson.Field
13711381 LastName apijson.Field
13721382 LegalBusinessName apijson.Field
1383+ NaicsCode apijson.Field
13731384 NatureOfBusiness apijson.Field
13741385 PhoneNumber apijson.Field
13751386 RequiredDocuments apijson.Field
@@ -1474,6 +1485,9 @@ type AccountHolderUpdateResponseKYBKYCPatchResponse struct {
14741485 // Only present when user_type == "INDIVIDUAL". Information about the individual
14751486 // for which the account is being opened and KYC is being run.
14761487 Individual AccountHolderUpdateResponseKYBKYCPatchResponseIndividual `json:"individual"`
1488+ // Only present when user_type == "BUSINESS". 6-digit North American Industry
1489+ // Classification System (NAICS) code for the business.
1490+ NaicsCode string `json:"naics_code"`
14771491 // Only present when user_type == "BUSINESS". User-submitted description of the
14781492 // business.
14791493 NatureOfBusiness string `json:"nature_of_business"`
@@ -1497,8 +1511,8 @@ type AccountHolderUpdateResponseKYBKYCPatchResponse struct {
14971511 // attribute will be present.
14981512 //
14991513 // If the type is "BUSINESS" then the "business_entity", "control_person",
1500- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
1501- // attributes will be present.
1514+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
1515+ // "website_url" attributes will be present.
15021516 UserType AccountHolderUpdateResponseKYBKYCPatchResponseUserType `json:"user_type"`
15031517 // Information about the most recent identity verification attempt
15041518 VerificationApplication AccountHolderUpdateResponseKYBKYCPatchResponseVerificationApplication `json:"verification_application"`
@@ -1522,6 +1536,7 @@ type accountHolderUpdateResponseKybkycPatchResponseJSON struct {
15221536 ExemptionType apijson.Field
15231537 ExternalID apijson.Field
15241538 Individual apijson.Field
1539+ NaicsCode apijson.Field
15251540 NatureOfBusiness apijson.Field
15261541 PhoneNumber apijson.Field
15271542 RequiredDocuments apijson.Field
@@ -1887,8 +1902,8 @@ func (r AccountHolderUpdateResponseKybkycPatchResponseStatusReason) IsKnown() bo
18871902// attribute will be present.
18881903//
18891904// If the type is "BUSINESS" then the "business_entity", "control_person",
1890- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
1891- // attributes will be present.
1905+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
1906+ // "website_url" attributes will be present.
18921907type AccountHolderUpdateResponseKYBKYCPatchResponseUserType string
18931908
18941909const (
@@ -2132,8 +2147,8 @@ func (r AccountHolderUpdateResponseStatus) IsKnown() bool {
21322147// attribute will be present.
21332148//
21342149// If the type is "BUSINESS" then the "business_entity", "control_person",
2135- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
2136- // attributes will be present.
2150+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
2151+ // "website_url" attributes will be present.
21372152type AccountHolderUpdateResponseUserType string
21382153
21392154const (
@@ -2218,6 +2233,9 @@ type AccountHolderSimulateEnrollmentReviewResponse struct {
22182233 // Only present when user_type == "INDIVIDUAL". Information about the individual
22192234 // for which the account is being opened and KYC is being run.
22202235 Individual AccountHolderSimulateEnrollmentReviewResponseIndividual `json:"individual"`
2236+ // Only present when user_type == "BUSINESS". 6-digit North American Industry
2237+ // Classification System (NAICS) code for the business.
2238+ NaicsCode string `json:"naics_code"`
22212239 // Only present when user_type == "BUSINESS". User-submitted description of the
22222240 // business.
22232241 NatureOfBusiness string `json:"nature_of_business"`
@@ -2241,8 +2259,8 @@ type AccountHolderSimulateEnrollmentReviewResponse struct {
22412259 // attribute will be present.
22422260 //
22432261 // If the type is "BUSINESS" then the "business_entity", "control_person",
2244- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
2245- // attributes will be present.
2262+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
2263+ // "website_url" attributes will be present.
22462264 UserType AccountHolderSimulateEnrollmentReviewResponseUserType `json:"user_type"`
22472265 // Information about the most recent identity verification attempt
22482266 VerificationApplication AccountHolderSimulateEnrollmentReviewResponseVerificationApplication `json:"verification_application"`
@@ -2266,6 +2284,7 @@ type accountHolderSimulateEnrollmentReviewResponseJSON struct {
22662284 ExemptionType apijson.Field
22672285 ExternalID apijson.Field
22682286 Individual apijson.Field
2287+ NaicsCode apijson.Field
22692288 NatureOfBusiness apijson.Field
22702289 PhoneNumber apijson.Field
22712290 RequiredDocuments apijson.Field
@@ -2629,8 +2648,8 @@ func (r AccountHolderSimulateEnrollmentReviewResponseStatusReason) IsKnown() boo
26292648// attribute will be present.
26302649//
26312650// If the type is "BUSINESS" then the "business_entity", "control_person",
2632- // "beneficial_owner_individuals", "nature_of_business ", and "website_url"
2633- // attributes will be present.
2651+ // "beneficial_owner_individuals", "naics_code ", "nature_of_business", and
2652+ // "website_url" attributes will be present.
26342653type AccountHolderSimulateEnrollmentReviewResponseUserType string
26352654
26362655const (
@@ -2787,6 +2806,9 @@ type AccountHolderNewParamsBody struct {
27872806 KYCPassedTimestamp param.Field [string ] `json:"kyc_passed_timestamp"`
27882807 // The KYC Exempt user's last name
27892808 LastName param.Field [string ] `json:"last_name"`
2809+ // 6-digit North American Industry Classification System (NAICS) code for the
2810+ // business.
2811+ NaicsCode param.Field [string ] `json:"naics_code"`
27902812 // Short description of the company's line of business (i.e., what does the company
27912813 // do?).
27922814 NatureOfBusiness param.Field [string ] `json:"nature_of_business"`
@@ -2836,6 +2858,9 @@ type AccountHolderNewParamsBodyKYBDelegated struct {
28362858 // A user provided id that can be used to link an account holder with an external
28372859 // system
28382860 ExternalID param.Field [string ] `json:"external_id"`
2861+ // 6-digit North American Industry Classification System (NAICS) code for the
2862+ // business.
2863+ NaicsCode param.Field [string ] `json:"naics_code"`
28392864 // Short description of the company's line of business (i.e., what does the company
28402865 // do?).
28412866 NatureOfBusiness param.Field [string ] `json:"nature_of_business"`
@@ -3026,6 +3051,9 @@ type AccountHolderUpdateParamsBody struct {
30263051 LastName param.Field [string ] `json:"last_name"`
30273052 // Allowed for BYO-KYB. Legal business name of the account holder.
30283053 LegalBusinessName param.Field [string ] `json:"legal_business_name"`
3054+ // 6-digit North American Industry Classification System (NAICS) code for the
3055+ // business.
3056+ NaicsCode param.Field [string ] `json:"naics_code"`
30293057 // Short description of the company's line of business (i.e., what does the company
30303058 // do?).
30313059 NatureOfBusiness param.Field [string ] `json:"nature_of_business"`
@@ -3080,6 +3108,9 @@ type AccountHolderUpdateParamsBodyKYBPatchRequest struct {
30803108 // A user provided id that can be used to link an account holder with an external
30813109 // system
30823110 ExternalID param.Field [string ] `json:"external_id"`
3111+ // 6-digit North American Industry Classification System (NAICS) code for the
3112+ // business.
3113+ NaicsCode param.Field [string ] `json:"naics_code"`
30833114 // Short description of the company's line of business (i.e., what does the company
30843115 // do?).
30853116 NatureOfBusiness param.Field [string ] `json:"nature_of_business"`
0 commit comments