@augustusbank/typescript-sdk 0.18.0 → 0.19.0

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/account-holders.d.mts +3379 -123
  10. package/resources/account-holders.d.mts.map +1 -1
  11. package/resources/account-holders.d.ts +3379 -123
  12. package/resources/account-holders.d.ts.map +1 -1
  13. package/resources/account-holders.js +6 -0
  14. package/resources/account-holders.js.map +1 -1
  15. package/resources/account-holders.mjs +6 -0
  16. package/resources/account-holders.mjs.map +1 -1
  17. package/resources/accounts.d.mts +4 -166
  18. package/resources/accounts.d.mts.map +1 -1
  19. package/resources/accounts.d.ts +4 -166
  20. package/resources/accounts.d.ts.map +1 -1
  21. package/resources/events.d.mts +3 -3
  22. package/resources/events.d.mts.map +1 -1
  23. package/resources/events.d.ts +3 -3
  24. package/resources/events.d.ts.map +1 -1
  25. package/resources/index.d.mts +2 -2
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +2 -2
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/webhook-subscriptions.d.mts +8 -8
  32. package/resources/webhook-subscriptions.d.mts.map +1 -1
  33. package/resources/webhook-subscriptions.d.ts +8 -8
  34. package/resources/webhook-subscriptions.d.ts.map +1 -1
  35. package/resources/webhooks.d.mts +1392 -2
  36. package/resources/webhooks.d.mts.map +1 -1
  37. package/resources/webhooks.d.ts +1392 -2
  38. package/resources/webhooks.d.ts.map +1 -1
  39. package/src/client.ts +8 -0
  40. package/src/resources/account-holders.ts +20047 -943
  41. package/src/resources/accounts.ts +5 -954
  42. package/src/resources/events.ts +6 -0
  43. package/src/resources/index.ts +4 -0
  44. package/src/resources/webhook-subscriptions.ts +16 -0
  45. package/src/resources/webhooks.ts +7758 -0
  46. package/src/version.ts +1 -1
  47. package/version.d.mts +1 -1
  48. package/version.d.ts +1 -1
  49. package/version.js +1 -1
  50. package/version.mjs +1 -1
@@ -11,6 +11,10 @@ export declare class AccountHolders extends APIResource {
11
11
  * Retrieves an account holder by ID.
12
12
  */
13
13
  retrieve(id: string, options?: RequestOptions): APIPromise<AccountHolderRetrieveResponse>;
14
+ /**
15
+ * Replaces the beneficiary details of an existing account holder.
16
+ */
17
+ update(id: string, body: AccountHolderUpdateParams, options?: RequestOptions): APIPromise<AccountHolderUpdateResponse>;
14
18
  /**
15
19
  * Lists account holders for the merchant with cursor-based pagination.
16
20
  */
@@ -25,11 +29,15 @@ export interface AccountHolderCreateResponse {
25
29
  /**
26
30
  * Beneficiary details used to create this account holder.
27
31
  */
28
- beneficiary_data: AccountHolderCreateResponse.UsBeneficiaryDataResponse | AccountHolderCreateResponse.NonUsBeneficiaryDataResponse;
32
+ beneficiary_data: AccountHolderCreateResponse.UsBeneficiaryDataResponse | AccountHolderCreateResponse.NonUsBeneficiaryDataResponse | AccountHolderCreateResponse.BusinessBeneficiaryDataResponse;
29
33
  /**
30
34
  * ISO 8601 UTC timestamp when the account holder was created.
31
35
  */
32
36
  created_at: string;
37
+ /**
38
+ * Type of the account holder.
39
+ */
40
+ holder_type: 'natural_person' | 'business';
33
41
  /**
34
42
  * Current account holder status.
35
43
  */
@@ -200,61 +208,380 @@ export declare namespace AccountHolderCreateResponse {
200
208
  street_line_2: string | null;
201
209
  }
202
210
  }
203
- }
204
- export interface AccountHolderRetrieveResponse {
205
- /**
206
- * Unique identifier of the account holder.
207
- */
208
- id: string;
209
- /**
210
- * Beneficiary details used to create this account holder.
211
- */
212
- beneficiary_data: AccountHolderRetrieveResponse.UsBeneficiaryDataResponse | AccountHolderRetrieveResponse.NonUsBeneficiaryDataResponse;
213
- /**
214
- * ISO 8601 UTC timestamp when the account holder was created.
215
- */
216
- created_at: string;
217
- /**
218
- * Current account holder status.
219
- */
220
- status: 'pending' | 'active' | 'closed';
221
- /**
222
- * Resource type discriminator.
223
- */
224
- type: 'account_holder';
225
- }
226
- export declare namespace AccountHolderRetrieveResponse {
227
- interface UsBeneficiaryDataResponse {
211
+ interface BusinessBeneficiaryDataResponse {
228
212
  /**
229
- * ISO 3166-1 alpha-2 country code of citizenship.
213
+ * Beneficial owners of the business. At least one required.
230
214
  */
231
- country_of_citizenship: 'US';
215
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
232
216
  /**
233
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
217
+ * Individual with primary responsibility for controlling, managing, or directing
218
+ * the business.
234
219
  */
235
- date_of_birth: string;
220
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
236
221
  /**
237
- * Government-issued identification with type: "ssn" (Social Security Number,
238
- * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
222
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
239
223
  */
240
- identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
224
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
241
225
  /**
242
- * Full legal name of the account holder.
226
+ * Trade name the business operates under, if different from the legal name.
243
227
  */
244
- legal_name: string;
228
+ doing_business_as: string | null;
245
229
  /**
246
- * Residential address of the account holder.
230
+ * Full legal name of the business.
247
231
  */
248
- residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
232
+ legal_business_name: string;
233
+ /**
234
+ * Physical operating address of the business.
235
+ */
236
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
237
+ /**
238
+ * Registered legal address of the business.
239
+ */
240
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
241
+ /**
242
+ * Business registration number: type "ein" (Employer Identification Number, format
243
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
244
+ */
245
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
246
+ /**
247
+ * State or subdivision where the business is incorporated.
248
+ */
249
+ state_of_incorporation: string;
250
+ /**
251
+ * Four-digit year the business was incorporated.
252
+ */
253
+ year_of_incorporation: number;
249
254
  }
250
- namespace UsBeneficiaryDataResponse {
251
- interface SsnIdentification {
252
- type: 'ssn';
253
- value: string;
255
+ namespace BusinessBeneficiaryDataResponse {
256
+ interface UsBeneficiaryDataResponse {
257
+ /**
258
+ * ISO 3166-1 alpha-2 country code of citizenship.
259
+ */
260
+ country_of_citizenship: 'US';
261
+ /**
262
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
263
+ */
264
+ date_of_birth: string;
265
+ /**
266
+ * Government-issued identification with type: "ssn" (Social Security Number,
267
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
268
+ */
269
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
270
+ /**
271
+ * Full legal name of the account holder.
272
+ */
273
+ legal_name: string;
274
+ /**
275
+ * Residential address of the account holder.
276
+ */
277
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
254
278
  }
255
- interface ItinIdentification {
256
- type: 'itin';
257
- value: string;
279
+ namespace UsBeneficiaryDataResponse {
280
+ interface SsnIdentification {
281
+ type: 'ssn';
282
+ value: string;
283
+ }
284
+ interface ItinIdentification {
285
+ type: 'itin';
286
+ value: string;
287
+ }
288
+ interface UsResidentialAddressResponse {
289
+ /**
290
+ * City name.
291
+ */
292
+ city: string;
293
+ /**
294
+ * ISO 3166-1 alpha-2 country code.
295
+ */
296
+ country: 'US';
297
+ /**
298
+ * Postal or ZIP code.
299
+ */
300
+ postal_code: string;
301
+ /**
302
+ * Two-letter state code.
303
+ */
304
+ state: string;
305
+ /**
306
+ * Primary street address.
307
+ */
308
+ street_line_1: string;
309
+ /**
310
+ * Secondary street address (apartment, suite, etc.).
311
+ */
312
+ street_line_2: string | null;
313
+ }
314
+ interface NonUsResidentialAddressResponse {
315
+ /**
316
+ * City name.
317
+ */
318
+ city: string;
319
+ /**
320
+ * ISO 3166-1 alpha-2 country code.
321
+ */
322
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
323
+ /**
324
+ * Postal or ZIP code.
325
+ */
326
+ postal_code: string;
327
+ /**
328
+ * Primary street address.
329
+ */
330
+ street_line_1: string;
331
+ /**
332
+ * Secondary street address (apartment, suite, etc.).
333
+ */
334
+ street_line_2: string | null;
335
+ }
336
+ }
337
+ interface NonUsBeneficiaryDataResponse {
338
+ /**
339
+ * ISO 3166-1 alpha-2 country code of citizenship.
340
+ */
341
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
342
+ /**
343
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
344
+ */
345
+ date_of_birth: string;
346
+ /**
347
+ * Government-issued identification with type: "id" (generic government-issued ID).
348
+ */
349
+ identification: NonUsBeneficiaryDataResponse.Identification;
350
+ /**
351
+ * Full legal name of the account holder.
352
+ */
353
+ legal_name: string;
354
+ /**
355
+ * Residential address of the account holder.
356
+ */
357
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
358
+ }
359
+ namespace NonUsBeneficiaryDataResponse {
360
+ /**
361
+ * Government-issued identification with type: "id" (generic government-issued ID).
362
+ */
363
+ interface Identification {
364
+ type: 'id';
365
+ value: string;
366
+ }
367
+ interface UsResidentialAddressResponse {
368
+ /**
369
+ * City name.
370
+ */
371
+ city: string;
372
+ /**
373
+ * ISO 3166-1 alpha-2 country code.
374
+ */
375
+ country: 'US';
376
+ /**
377
+ * Postal or ZIP code.
378
+ */
379
+ postal_code: string;
380
+ /**
381
+ * Two-letter state code.
382
+ */
383
+ state: string;
384
+ /**
385
+ * Primary street address.
386
+ */
387
+ street_line_1: string;
388
+ /**
389
+ * Secondary street address (apartment, suite, etc.).
390
+ */
391
+ street_line_2: string | null;
392
+ }
393
+ interface NonUsResidentialAddressResponse {
394
+ /**
395
+ * City name.
396
+ */
397
+ city: string;
398
+ /**
399
+ * ISO 3166-1 alpha-2 country code.
400
+ */
401
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
402
+ /**
403
+ * Postal or ZIP code.
404
+ */
405
+ postal_code: string;
406
+ /**
407
+ * Primary street address.
408
+ */
409
+ street_line_1: string;
410
+ /**
411
+ * Secondary street address (apartment, suite, etc.).
412
+ */
413
+ street_line_2: string | null;
414
+ }
415
+ }
416
+ interface UnionMember0 {
417
+ /**
418
+ * ISO 3166-1 alpha-2 country code of citizenship.
419
+ */
420
+ country_of_citizenship: 'US';
421
+ /**
422
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
423
+ */
424
+ date_of_birth: string;
425
+ /**
426
+ * Government-issued identification with type: "ssn" (Social Security Number,
427
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
428
+ */
429
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
430
+ /**
431
+ * Full legal name of the account holder.
432
+ */
433
+ legal_name: string;
434
+ /**
435
+ * Residential address of the account holder.
436
+ */
437
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
438
+ /**
439
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
440
+ * Director").
441
+ */
442
+ title: string;
443
+ }
444
+ namespace UnionMember0 {
445
+ interface SsnIdentification {
446
+ type: 'ssn';
447
+ value: string;
448
+ }
449
+ interface ItinIdentification {
450
+ type: 'itin';
451
+ value: string;
452
+ }
453
+ interface UsResidentialAddressResponse {
454
+ /**
455
+ * City name.
456
+ */
457
+ city: string;
458
+ /**
459
+ * ISO 3166-1 alpha-2 country code.
460
+ */
461
+ country: 'US';
462
+ /**
463
+ * Postal or ZIP code.
464
+ */
465
+ postal_code: string;
466
+ /**
467
+ * Two-letter state code.
468
+ */
469
+ state: string;
470
+ /**
471
+ * Primary street address.
472
+ */
473
+ street_line_1: string;
474
+ /**
475
+ * Secondary street address (apartment, suite, etc.).
476
+ */
477
+ street_line_2: string | null;
478
+ }
479
+ interface NonUsResidentialAddressResponse {
480
+ /**
481
+ * City name.
482
+ */
483
+ city: string;
484
+ /**
485
+ * ISO 3166-1 alpha-2 country code.
486
+ */
487
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
488
+ /**
489
+ * Postal or ZIP code.
490
+ */
491
+ postal_code: string;
492
+ /**
493
+ * Primary street address.
494
+ */
495
+ street_line_1: string;
496
+ /**
497
+ * Secondary street address (apartment, suite, etc.).
498
+ */
499
+ street_line_2: string | null;
500
+ }
501
+ }
502
+ interface UnionMember1 {
503
+ /**
504
+ * ISO 3166-1 alpha-2 country code of citizenship.
505
+ */
506
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
507
+ /**
508
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
509
+ */
510
+ date_of_birth: string;
511
+ /**
512
+ * Government-issued identification with type: "id" (generic government-issued ID).
513
+ */
514
+ identification: UnionMember1.Identification;
515
+ /**
516
+ * Full legal name of the account holder.
517
+ */
518
+ legal_name: string;
519
+ /**
520
+ * Residential address of the account holder.
521
+ */
522
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
523
+ /**
524
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
525
+ * Director").
526
+ */
527
+ title: string;
528
+ }
529
+ namespace UnionMember1 {
530
+ /**
531
+ * Government-issued identification with type: "id" (generic government-issued ID).
532
+ */
533
+ interface Identification {
534
+ type: 'id';
535
+ value: string;
536
+ }
537
+ interface UsResidentialAddressResponse {
538
+ /**
539
+ * City name.
540
+ */
541
+ city: string;
542
+ /**
543
+ * ISO 3166-1 alpha-2 country code.
544
+ */
545
+ country: 'US';
546
+ /**
547
+ * Postal or ZIP code.
548
+ */
549
+ postal_code: string;
550
+ /**
551
+ * Two-letter state code.
552
+ */
553
+ state: string;
554
+ /**
555
+ * Primary street address.
556
+ */
557
+ street_line_1: string;
558
+ /**
559
+ * Secondary street address (apartment, suite, etc.).
560
+ */
561
+ street_line_2: string | null;
562
+ }
563
+ interface NonUsResidentialAddressResponse {
564
+ /**
565
+ * City name.
566
+ */
567
+ city: string;
568
+ /**
569
+ * ISO 3166-1 alpha-2 country code.
570
+ */
571
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
572
+ /**
573
+ * Postal or ZIP code.
574
+ */
575
+ postal_code: string;
576
+ /**
577
+ * Primary street address.
578
+ */
579
+ street_line_1: string;
580
+ /**
581
+ * Secondary street address (apartment, suite, etc.).
582
+ */
583
+ street_line_2: string | null;
584
+ }
258
585
  }
259
586
  interface UsResidentialAddressResponse {
260
587
  /**
@@ -304,37 +631,6 @@ export declare namespace AccountHolderRetrieveResponse {
304
631
  */
305
632
  street_line_2: string | null;
306
633
  }
307
- }
308
- interface NonUsBeneficiaryDataResponse {
309
- /**
310
- * ISO 3166-1 alpha-2 country code of citizenship.
311
- */
312
- country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
313
- /**
314
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
315
- */
316
- date_of_birth: string;
317
- /**
318
- * Government-issued identification with type: "id" (generic government-issued ID).
319
- */
320
- identification: NonUsBeneficiaryDataResponse.Identification;
321
- /**
322
- * Full legal name of the account holder.
323
- */
324
- legal_name: string;
325
- /**
326
- * Residential address of the account holder.
327
- */
328
- residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
329
- }
330
- namespace NonUsBeneficiaryDataResponse {
331
- /**
332
- * Government-issued identification with type: "id" (generic government-issued ID).
333
- */
334
- interface Identification {
335
- type: 'id';
336
- value: string;
337
- }
338
634
  interface UsResidentialAddressResponse {
339
635
  /**
340
636
  * City name.
@@ -383,9 +679,17 @@ export declare namespace AccountHolderRetrieveResponse {
383
679
  */
384
680
  street_line_2: string | null;
385
681
  }
682
+ interface EinIdentification {
683
+ type: 'ein';
684
+ value: string;
685
+ }
686
+ interface SsnIdentification {
687
+ type: 'ssn';
688
+ value: string;
689
+ }
386
690
  }
387
691
  }
388
- export interface AccountHolderListResponse {
692
+ export interface AccountHolderRetrieveResponse {
389
693
  /**
390
694
  * Unique identifier of the account holder.
391
695
  */
@@ -393,11 +697,15 @@ export interface AccountHolderListResponse {
393
697
  /**
394
698
  * Beneficiary details used to create this account holder.
395
699
  */
396
- beneficiary_data: AccountHolderListResponse.UsBeneficiaryDataResponse | AccountHolderListResponse.NonUsBeneficiaryDataResponse;
700
+ beneficiary_data: AccountHolderRetrieveResponse.UsBeneficiaryDataResponse | AccountHolderRetrieveResponse.NonUsBeneficiaryDataResponse | AccountHolderRetrieveResponse.BusinessBeneficiaryDataResponse;
397
701
  /**
398
702
  * ISO 8601 UTC timestamp when the account holder was created.
399
703
  */
400
704
  created_at: string;
705
+ /**
706
+ * Type of the account holder.
707
+ */
708
+ holder_type: 'natural_person' | 'business';
401
709
  /**
402
710
  * Current account holder status.
403
711
  */
@@ -407,7 +715,7 @@ export interface AccountHolderListResponse {
407
715
  */
408
716
  type: 'account_holder';
409
717
  }
410
- export declare namespace AccountHolderListResponse {
718
+ export declare namespace AccountHolderRetrieveResponse {
411
719
  interface UsBeneficiaryDataResponse {
412
720
  /**
413
721
  * ISO 3166-1 alpha-2 country code of citizenship.
@@ -568,51 +876,382 @@ export declare namespace AccountHolderListResponse {
568
876
  street_line_2: string | null;
569
877
  }
570
878
  }
571
- }
572
- export interface AccountHolderCreateParams {
573
- /**
574
- * ID of the account program to create the account holder under.
575
- */
576
- account_program_id: string;
577
- /**
578
- * Personal information of the account holder.
579
- */
580
- beneficiary_data: AccountHolderCreateParams.UsBeneficiaryData | AccountHolderCreateParams.NonUsBeneficiaryData;
581
- }
582
- export declare namespace AccountHolderCreateParams {
583
- interface UsBeneficiaryData {
879
+ interface BusinessBeneficiaryDataResponse {
584
880
  /**
585
- * ISO 3166-1 alpha-2 country code of citizenship.
881
+ * Beneficial owners of the business. At least one required.
586
882
  */
587
- country_of_citizenship: 'US';
883
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
588
884
  /**
589
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
885
+ * Individual with primary responsibility for controlling, managing, or directing
886
+ * the business.
590
887
  */
591
- date_of_birth: string;
888
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
592
889
  /**
593
- * Government-issued identification with type: "ssn" (Social Security Number,
594
- * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
890
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
595
891
  */
596
- identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
892
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
597
893
  /**
598
- * Full legal name of the account holder.
894
+ * Trade name the business operates under, if different from the legal name.
599
895
  */
600
- legal_name: string;
896
+ doing_business_as: string | null;
601
897
  /**
602
- * Residential address of the account holder.
898
+ * Full legal name of the business.
603
899
  */
604
- residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
900
+ legal_business_name: string;
901
+ /**
902
+ * Physical operating address of the business.
903
+ */
904
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
905
+ /**
906
+ * Registered legal address of the business.
907
+ */
908
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
909
+ /**
910
+ * Business registration number: type "ein" (Employer Identification Number, format
911
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
912
+ */
913
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
914
+ /**
915
+ * State or subdivision where the business is incorporated.
916
+ */
917
+ state_of_incorporation: string;
918
+ /**
919
+ * Four-digit year the business was incorporated.
920
+ */
921
+ year_of_incorporation: number;
605
922
  }
606
- namespace UsBeneficiaryData {
607
- interface SsnIdentification {
608
- type: 'ssn';
609
- value: string;
923
+ namespace BusinessBeneficiaryDataResponse {
924
+ interface UsBeneficiaryDataResponse {
925
+ /**
926
+ * ISO 3166-1 alpha-2 country code of citizenship.
927
+ */
928
+ country_of_citizenship: 'US';
929
+ /**
930
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
931
+ */
932
+ date_of_birth: string;
933
+ /**
934
+ * Government-issued identification with type: "ssn" (Social Security Number,
935
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
936
+ */
937
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
938
+ /**
939
+ * Full legal name of the account holder.
940
+ */
941
+ legal_name: string;
942
+ /**
943
+ * Residential address of the account holder.
944
+ */
945
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
610
946
  }
611
- interface ItinIdentification {
612
- type: 'itin';
613
- value: string;
947
+ namespace UsBeneficiaryDataResponse {
948
+ interface SsnIdentification {
949
+ type: 'ssn';
950
+ value: string;
951
+ }
952
+ interface ItinIdentification {
953
+ type: 'itin';
954
+ value: string;
955
+ }
956
+ interface UsResidentialAddressResponse {
957
+ /**
958
+ * City name.
959
+ */
960
+ city: string;
961
+ /**
962
+ * ISO 3166-1 alpha-2 country code.
963
+ */
964
+ country: 'US';
965
+ /**
966
+ * Postal or ZIP code.
967
+ */
968
+ postal_code: string;
969
+ /**
970
+ * Two-letter state code.
971
+ */
972
+ state: string;
973
+ /**
974
+ * Primary street address.
975
+ */
976
+ street_line_1: string;
977
+ /**
978
+ * Secondary street address (apartment, suite, etc.).
979
+ */
980
+ street_line_2: string | null;
981
+ }
982
+ interface NonUsResidentialAddressResponse {
983
+ /**
984
+ * City name.
985
+ */
986
+ city: string;
987
+ /**
988
+ * ISO 3166-1 alpha-2 country code.
989
+ */
990
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
991
+ /**
992
+ * Postal or ZIP code.
993
+ */
994
+ postal_code: string;
995
+ /**
996
+ * Primary street address.
997
+ */
998
+ street_line_1: string;
999
+ /**
1000
+ * Secondary street address (apartment, suite, etc.).
1001
+ */
1002
+ street_line_2: string | null;
1003
+ }
614
1004
  }
615
- interface UsResidentialAddress {
1005
+ interface NonUsBeneficiaryDataResponse {
1006
+ /**
1007
+ * ISO 3166-1 alpha-2 country code of citizenship.
1008
+ */
1009
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1010
+ /**
1011
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1012
+ */
1013
+ date_of_birth: string;
1014
+ /**
1015
+ * Government-issued identification with type: "id" (generic government-issued ID).
1016
+ */
1017
+ identification: NonUsBeneficiaryDataResponse.Identification;
1018
+ /**
1019
+ * Full legal name of the account holder.
1020
+ */
1021
+ legal_name: string;
1022
+ /**
1023
+ * Residential address of the account holder.
1024
+ */
1025
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1026
+ }
1027
+ namespace NonUsBeneficiaryDataResponse {
1028
+ /**
1029
+ * Government-issued identification with type: "id" (generic government-issued ID).
1030
+ */
1031
+ interface Identification {
1032
+ type: 'id';
1033
+ value: string;
1034
+ }
1035
+ interface UsResidentialAddressResponse {
1036
+ /**
1037
+ * City name.
1038
+ */
1039
+ city: string;
1040
+ /**
1041
+ * ISO 3166-1 alpha-2 country code.
1042
+ */
1043
+ country: 'US';
1044
+ /**
1045
+ * Postal or ZIP code.
1046
+ */
1047
+ postal_code: string;
1048
+ /**
1049
+ * Two-letter state code.
1050
+ */
1051
+ state: string;
1052
+ /**
1053
+ * Primary street address.
1054
+ */
1055
+ street_line_1: string;
1056
+ /**
1057
+ * Secondary street address (apartment, suite, etc.).
1058
+ */
1059
+ street_line_2: string | null;
1060
+ }
1061
+ interface NonUsResidentialAddressResponse {
1062
+ /**
1063
+ * City name.
1064
+ */
1065
+ city: string;
1066
+ /**
1067
+ * ISO 3166-1 alpha-2 country code.
1068
+ */
1069
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1070
+ /**
1071
+ * Postal or ZIP code.
1072
+ */
1073
+ postal_code: string;
1074
+ /**
1075
+ * Primary street address.
1076
+ */
1077
+ street_line_1: string;
1078
+ /**
1079
+ * Secondary street address (apartment, suite, etc.).
1080
+ */
1081
+ street_line_2: string | null;
1082
+ }
1083
+ }
1084
+ interface UnionMember0 {
1085
+ /**
1086
+ * ISO 3166-1 alpha-2 country code of citizenship.
1087
+ */
1088
+ country_of_citizenship: 'US';
1089
+ /**
1090
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1091
+ */
1092
+ date_of_birth: string;
1093
+ /**
1094
+ * Government-issued identification with type: "ssn" (Social Security Number,
1095
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1096
+ */
1097
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
1098
+ /**
1099
+ * Full legal name of the account holder.
1100
+ */
1101
+ legal_name: string;
1102
+ /**
1103
+ * Residential address of the account holder.
1104
+ */
1105
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
1106
+ /**
1107
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1108
+ * Director").
1109
+ */
1110
+ title: string;
1111
+ }
1112
+ namespace UnionMember0 {
1113
+ interface SsnIdentification {
1114
+ type: 'ssn';
1115
+ value: string;
1116
+ }
1117
+ interface ItinIdentification {
1118
+ type: 'itin';
1119
+ value: string;
1120
+ }
1121
+ interface UsResidentialAddressResponse {
1122
+ /**
1123
+ * City name.
1124
+ */
1125
+ city: string;
1126
+ /**
1127
+ * ISO 3166-1 alpha-2 country code.
1128
+ */
1129
+ country: 'US';
1130
+ /**
1131
+ * Postal or ZIP code.
1132
+ */
1133
+ postal_code: string;
1134
+ /**
1135
+ * Two-letter state code.
1136
+ */
1137
+ state: string;
1138
+ /**
1139
+ * Primary street address.
1140
+ */
1141
+ street_line_1: string;
1142
+ /**
1143
+ * Secondary street address (apartment, suite, etc.).
1144
+ */
1145
+ street_line_2: string | null;
1146
+ }
1147
+ interface NonUsResidentialAddressResponse {
1148
+ /**
1149
+ * City name.
1150
+ */
1151
+ city: string;
1152
+ /**
1153
+ * ISO 3166-1 alpha-2 country code.
1154
+ */
1155
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1156
+ /**
1157
+ * Postal or ZIP code.
1158
+ */
1159
+ postal_code: string;
1160
+ /**
1161
+ * Primary street address.
1162
+ */
1163
+ street_line_1: string;
1164
+ /**
1165
+ * Secondary street address (apartment, suite, etc.).
1166
+ */
1167
+ street_line_2: string | null;
1168
+ }
1169
+ }
1170
+ interface UnionMember1 {
1171
+ /**
1172
+ * ISO 3166-1 alpha-2 country code of citizenship.
1173
+ */
1174
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1175
+ /**
1176
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1177
+ */
1178
+ date_of_birth: string;
1179
+ /**
1180
+ * Government-issued identification with type: "id" (generic government-issued ID).
1181
+ */
1182
+ identification: UnionMember1.Identification;
1183
+ /**
1184
+ * Full legal name of the account holder.
1185
+ */
1186
+ legal_name: string;
1187
+ /**
1188
+ * Residential address of the account holder.
1189
+ */
1190
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
1191
+ /**
1192
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1193
+ * Director").
1194
+ */
1195
+ title: string;
1196
+ }
1197
+ namespace UnionMember1 {
1198
+ /**
1199
+ * Government-issued identification with type: "id" (generic government-issued ID).
1200
+ */
1201
+ interface Identification {
1202
+ type: 'id';
1203
+ value: string;
1204
+ }
1205
+ interface UsResidentialAddressResponse {
1206
+ /**
1207
+ * City name.
1208
+ */
1209
+ city: string;
1210
+ /**
1211
+ * ISO 3166-1 alpha-2 country code.
1212
+ */
1213
+ country: 'US';
1214
+ /**
1215
+ * Postal or ZIP code.
1216
+ */
1217
+ postal_code: string;
1218
+ /**
1219
+ * Two-letter state code.
1220
+ */
1221
+ state: string;
1222
+ /**
1223
+ * Primary street address.
1224
+ */
1225
+ street_line_1: string;
1226
+ /**
1227
+ * Secondary street address (apartment, suite, etc.).
1228
+ */
1229
+ street_line_2: string | null;
1230
+ }
1231
+ interface NonUsResidentialAddressResponse {
1232
+ /**
1233
+ * City name.
1234
+ */
1235
+ city: string;
1236
+ /**
1237
+ * ISO 3166-1 alpha-2 country code.
1238
+ */
1239
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1240
+ /**
1241
+ * Postal or ZIP code.
1242
+ */
1243
+ postal_code: string;
1244
+ /**
1245
+ * Primary street address.
1246
+ */
1247
+ street_line_1: string;
1248
+ /**
1249
+ * Secondary street address (apartment, suite, etc.).
1250
+ */
1251
+ street_line_2: string | null;
1252
+ }
1253
+ }
1254
+ interface UsResidentialAddressResponse {
616
1255
  /**
617
1256
  * City name.
618
1257
  */
@@ -636,9 +1275,9 @@ export declare namespace AccountHolderCreateParams {
636
1275
  /**
637
1276
  * Secondary street address (apartment, suite, etc.).
638
1277
  */
639
- street_line_2?: string;
1278
+ street_line_2: string | null;
640
1279
  }
641
- interface NonUsResidentialAddress {
1280
+ interface NonUsResidentialAddressResponse {
642
1281
  /**
643
1282
  * City name.
644
1283
  */
@@ -658,17 +1297,2154 @@ export declare namespace AccountHolderCreateParams {
658
1297
  /**
659
1298
  * Secondary street address (apartment, suite, etc.).
660
1299
  */
661
- street_line_2?: string;
1300
+ street_line_2: string | null;
662
1301
  }
663
- }
664
- interface NonUsBeneficiaryData {
665
- /**
666
- * ISO 3166-1 alpha-2 country code of citizenship.
667
- */
668
- country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
669
- /**
670
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
671
- */
1302
+ interface UsResidentialAddressResponse {
1303
+ /**
1304
+ * City name.
1305
+ */
1306
+ city: string;
1307
+ /**
1308
+ * ISO 3166-1 alpha-2 country code.
1309
+ */
1310
+ country: 'US';
1311
+ /**
1312
+ * Postal or ZIP code.
1313
+ */
1314
+ postal_code: string;
1315
+ /**
1316
+ * Two-letter state code.
1317
+ */
1318
+ state: string;
1319
+ /**
1320
+ * Primary street address.
1321
+ */
1322
+ street_line_1: string;
1323
+ /**
1324
+ * Secondary street address (apartment, suite, etc.).
1325
+ */
1326
+ street_line_2: string | null;
1327
+ }
1328
+ interface NonUsResidentialAddressResponse {
1329
+ /**
1330
+ * City name.
1331
+ */
1332
+ city: string;
1333
+ /**
1334
+ * ISO 3166-1 alpha-2 country code.
1335
+ */
1336
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1337
+ /**
1338
+ * Postal or ZIP code.
1339
+ */
1340
+ postal_code: string;
1341
+ /**
1342
+ * Primary street address.
1343
+ */
1344
+ street_line_1: string;
1345
+ /**
1346
+ * Secondary street address (apartment, suite, etc.).
1347
+ */
1348
+ street_line_2: string | null;
1349
+ }
1350
+ interface EinIdentification {
1351
+ type: 'ein';
1352
+ value: string;
1353
+ }
1354
+ interface SsnIdentification {
1355
+ type: 'ssn';
1356
+ value: string;
1357
+ }
1358
+ }
1359
+ }
1360
+ export interface AccountHolderUpdateResponse {
1361
+ /**
1362
+ * Unique identifier of the account holder.
1363
+ */
1364
+ id: string;
1365
+ /**
1366
+ * Beneficiary details used to create this account holder.
1367
+ */
1368
+ beneficiary_data: AccountHolderUpdateResponse.UsBeneficiaryDataResponse | AccountHolderUpdateResponse.NonUsBeneficiaryDataResponse | AccountHolderUpdateResponse.BusinessBeneficiaryDataResponse;
1369
+ /**
1370
+ * ISO 8601 UTC timestamp when the account holder was created.
1371
+ */
1372
+ created_at: string;
1373
+ /**
1374
+ * Type of the account holder.
1375
+ */
1376
+ holder_type: 'natural_person' | 'business';
1377
+ /**
1378
+ * Current account holder status.
1379
+ */
1380
+ status: 'pending' | 'active' | 'closed';
1381
+ /**
1382
+ * Resource type discriminator.
1383
+ */
1384
+ type: 'account_holder';
1385
+ }
1386
+ export declare namespace AccountHolderUpdateResponse {
1387
+ interface UsBeneficiaryDataResponse {
1388
+ /**
1389
+ * ISO 3166-1 alpha-2 country code of citizenship.
1390
+ */
1391
+ country_of_citizenship: 'US';
1392
+ /**
1393
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1394
+ */
1395
+ date_of_birth: string;
1396
+ /**
1397
+ * Government-issued identification with type: "ssn" (Social Security Number,
1398
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1399
+ */
1400
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
1401
+ /**
1402
+ * Full legal name of the account holder.
1403
+ */
1404
+ legal_name: string;
1405
+ /**
1406
+ * Residential address of the account holder.
1407
+ */
1408
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1409
+ }
1410
+ namespace UsBeneficiaryDataResponse {
1411
+ interface SsnIdentification {
1412
+ type: 'ssn';
1413
+ value: string;
1414
+ }
1415
+ interface ItinIdentification {
1416
+ type: 'itin';
1417
+ value: string;
1418
+ }
1419
+ interface UsResidentialAddressResponse {
1420
+ /**
1421
+ * City name.
1422
+ */
1423
+ city: string;
1424
+ /**
1425
+ * ISO 3166-1 alpha-2 country code.
1426
+ */
1427
+ country: 'US';
1428
+ /**
1429
+ * Postal or ZIP code.
1430
+ */
1431
+ postal_code: string;
1432
+ /**
1433
+ * Two-letter state code.
1434
+ */
1435
+ state: string;
1436
+ /**
1437
+ * Primary street address.
1438
+ */
1439
+ street_line_1: string;
1440
+ /**
1441
+ * Secondary street address (apartment, suite, etc.).
1442
+ */
1443
+ street_line_2: string | null;
1444
+ }
1445
+ interface NonUsResidentialAddressResponse {
1446
+ /**
1447
+ * City name.
1448
+ */
1449
+ city: string;
1450
+ /**
1451
+ * ISO 3166-1 alpha-2 country code.
1452
+ */
1453
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1454
+ /**
1455
+ * Postal or ZIP code.
1456
+ */
1457
+ postal_code: string;
1458
+ /**
1459
+ * Primary street address.
1460
+ */
1461
+ street_line_1: string;
1462
+ /**
1463
+ * Secondary street address (apartment, suite, etc.).
1464
+ */
1465
+ street_line_2: string | null;
1466
+ }
1467
+ }
1468
+ interface NonUsBeneficiaryDataResponse {
1469
+ /**
1470
+ * ISO 3166-1 alpha-2 country code of citizenship.
1471
+ */
1472
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1473
+ /**
1474
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1475
+ */
1476
+ date_of_birth: string;
1477
+ /**
1478
+ * Government-issued identification with type: "id" (generic government-issued ID).
1479
+ */
1480
+ identification: NonUsBeneficiaryDataResponse.Identification;
1481
+ /**
1482
+ * Full legal name of the account holder.
1483
+ */
1484
+ legal_name: string;
1485
+ /**
1486
+ * Residential address of the account holder.
1487
+ */
1488
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1489
+ }
1490
+ namespace NonUsBeneficiaryDataResponse {
1491
+ /**
1492
+ * Government-issued identification with type: "id" (generic government-issued ID).
1493
+ */
1494
+ interface Identification {
1495
+ type: 'id';
1496
+ value: string;
1497
+ }
1498
+ interface UsResidentialAddressResponse {
1499
+ /**
1500
+ * City name.
1501
+ */
1502
+ city: string;
1503
+ /**
1504
+ * ISO 3166-1 alpha-2 country code.
1505
+ */
1506
+ country: 'US';
1507
+ /**
1508
+ * Postal or ZIP code.
1509
+ */
1510
+ postal_code: string;
1511
+ /**
1512
+ * Two-letter state code.
1513
+ */
1514
+ state: string;
1515
+ /**
1516
+ * Primary street address.
1517
+ */
1518
+ street_line_1: string;
1519
+ /**
1520
+ * Secondary street address (apartment, suite, etc.).
1521
+ */
1522
+ street_line_2: string | null;
1523
+ }
1524
+ interface NonUsResidentialAddressResponse {
1525
+ /**
1526
+ * City name.
1527
+ */
1528
+ city: string;
1529
+ /**
1530
+ * ISO 3166-1 alpha-2 country code.
1531
+ */
1532
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1533
+ /**
1534
+ * Postal or ZIP code.
1535
+ */
1536
+ postal_code: string;
1537
+ /**
1538
+ * Primary street address.
1539
+ */
1540
+ street_line_1: string;
1541
+ /**
1542
+ * Secondary street address (apartment, suite, etc.).
1543
+ */
1544
+ street_line_2: string | null;
1545
+ }
1546
+ }
1547
+ interface BusinessBeneficiaryDataResponse {
1548
+ /**
1549
+ * Beneficial owners of the business. At least one required.
1550
+ */
1551
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
1552
+ /**
1553
+ * Individual with primary responsibility for controlling, managing, or directing
1554
+ * the business.
1555
+ */
1556
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
1557
+ /**
1558
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
1559
+ */
1560
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1561
+ /**
1562
+ * Trade name the business operates under, if different from the legal name.
1563
+ */
1564
+ doing_business_as: string | null;
1565
+ /**
1566
+ * Full legal name of the business.
1567
+ */
1568
+ legal_business_name: string;
1569
+ /**
1570
+ * Physical operating address of the business.
1571
+ */
1572
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1573
+ /**
1574
+ * Registered legal address of the business.
1575
+ */
1576
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1577
+ /**
1578
+ * Business registration number: type "ein" (Employer Identification Number, format
1579
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1580
+ */
1581
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
1582
+ /**
1583
+ * State or subdivision where the business is incorporated.
1584
+ */
1585
+ state_of_incorporation: string;
1586
+ /**
1587
+ * Four-digit year the business was incorporated.
1588
+ */
1589
+ year_of_incorporation: number;
1590
+ }
1591
+ namespace BusinessBeneficiaryDataResponse {
1592
+ interface UsBeneficiaryDataResponse {
1593
+ /**
1594
+ * ISO 3166-1 alpha-2 country code of citizenship.
1595
+ */
1596
+ country_of_citizenship: 'US';
1597
+ /**
1598
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1599
+ */
1600
+ date_of_birth: string;
1601
+ /**
1602
+ * Government-issued identification with type: "ssn" (Social Security Number,
1603
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1604
+ */
1605
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
1606
+ /**
1607
+ * Full legal name of the account holder.
1608
+ */
1609
+ legal_name: string;
1610
+ /**
1611
+ * Residential address of the account holder.
1612
+ */
1613
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1614
+ }
1615
+ namespace UsBeneficiaryDataResponse {
1616
+ interface SsnIdentification {
1617
+ type: 'ssn';
1618
+ value: string;
1619
+ }
1620
+ interface ItinIdentification {
1621
+ type: 'itin';
1622
+ value: string;
1623
+ }
1624
+ interface UsResidentialAddressResponse {
1625
+ /**
1626
+ * City name.
1627
+ */
1628
+ city: string;
1629
+ /**
1630
+ * ISO 3166-1 alpha-2 country code.
1631
+ */
1632
+ country: 'US';
1633
+ /**
1634
+ * Postal or ZIP code.
1635
+ */
1636
+ postal_code: string;
1637
+ /**
1638
+ * Two-letter state code.
1639
+ */
1640
+ state: string;
1641
+ /**
1642
+ * Primary street address.
1643
+ */
1644
+ street_line_1: string;
1645
+ /**
1646
+ * Secondary street address (apartment, suite, etc.).
1647
+ */
1648
+ street_line_2: string | null;
1649
+ }
1650
+ interface NonUsResidentialAddressResponse {
1651
+ /**
1652
+ * City name.
1653
+ */
1654
+ city: string;
1655
+ /**
1656
+ * ISO 3166-1 alpha-2 country code.
1657
+ */
1658
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1659
+ /**
1660
+ * Postal or ZIP code.
1661
+ */
1662
+ postal_code: string;
1663
+ /**
1664
+ * Primary street address.
1665
+ */
1666
+ street_line_1: string;
1667
+ /**
1668
+ * Secondary street address (apartment, suite, etc.).
1669
+ */
1670
+ street_line_2: string | null;
1671
+ }
1672
+ }
1673
+ interface NonUsBeneficiaryDataResponse {
1674
+ /**
1675
+ * ISO 3166-1 alpha-2 country code of citizenship.
1676
+ */
1677
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1678
+ /**
1679
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1680
+ */
1681
+ date_of_birth: string;
1682
+ /**
1683
+ * Government-issued identification with type: "id" (generic government-issued ID).
1684
+ */
1685
+ identification: NonUsBeneficiaryDataResponse.Identification;
1686
+ /**
1687
+ * Full legal name of the account holder.
1688
+ */
1689
+ legal_name: string;
1690
+ /**
1691
+ * Residential address of the account holder.
1692
+ */
1693
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1694
+ }
1695
+ namespace NonUsBeneficiaryDataResponse {
1696
+ /**
1697
+ * Government-issued identification with type: "id" (generic government-issued ID).
1698
+ */
1699
+ interface Identification {
1700
+ type: 'id';
1701
+ value: string;
1702
+ }
1703
+ interface UsResidentialAddressResponse {
1704
+ /**
1705
+ * City name.
1706
+ */
1707
+ city: string;
1708
+ /**
1709
+ * ISO 3166-1 alpha-2 country code.
1710
+ */
1711
+ country: 'US';
1712
+ /**
1713
+ * Postal or ZIP code.
1714
+ */
1715
+ postal_code: string;
1716
+ /**
1717
+ * Two-letter state code.
1718
+ */
1719
+ state: string;
1720
+ /**
1721
+ * Primary street address.
1722
+ */
1723
+ street_line_1: string;
1724
+ /**
1725
+ * Secondary street address (apartment, suite, etc.).
1726
+ */
1727
+ street_line_2: string | null;
1728
+ }
1729
+ interface NonUsResidentialAddressResponse {
1730
+ /**
1731
+ * City name.
1732
+ */
1733
+ city: string;
1734
+ /**
1735
+ * ISO 3166-1 alpha-2 country code.
1736
+ */
1737
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1738
+ /**
1739
+ * Postal or ZIP code.
1740
+ */
1741
+ postal_code: string;
1742
+ /**
1743
+ * Primary street address.
1744
+ */
1745
+ street_line_1: string;
1746
+ /**
1747
+ * Secondary street address (apartment, suite, etc.).
1748
+ */
1749
+ street_line_2: string | null;
1750
+ }
1751
+ }
1752
+ interface UnionMember0 {
1753
+ /**
1754
+ * ISO 3166-1 alpha-2 country code of citizenship.
1755
+ */
1756
+ country_of_citizenship: 'US';
1757
+ /**
1758
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1759
+ */
1760
+ date_of_birth: string;
1761
+ /**
1762
+ * Government-issued identification with type: "ssn" (Social Security Number,
1763
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1764
+ */
1765
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
1766
+ /**
1767
+ * Full legal name of the account holder.
1768
+ */
1769
+ legal_name: string;
1770
+ /**
1771
+ * Residential address of the account holder.
1772
+ */
1773
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
1774
+ /**
1775
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1776
+ * Director").
1777
+ */
1778
+ title: string;
1779
+ }
1780
+ namespace UnionMember0 {
1781
+ interface SsnIdentification {
1782
+ type: 'ssn';
1783
+ value: string;
1784
+ }
1785
+ interface ItinIdentification {
1786
+ type: 'itin';
1787
+ value: string;
1788
+ }
1789
+ interface UsResidentialAddressResponse {
1790
+ /**
1791
+ * City name.
1792
+ */
1793
+ city: string;
1794
+ /**
1795
+ * ISO 3166-1 alpha-2 country code.
1796
+ */
1797
+ country: 'US';
1798
+ /**
1799
+ * Postal or ZIP code.
1800
+ */
1801
+ postal_code: string;
1802
+ /**
1803
+ * Two-letter state code.
1804
+ */
1805
+ state: string;
1806
+ /**
1807
+ * Primary street address.
1808
+ */
1809
+ street_line_1: string;
1810
+ /**
1811
+ * Secondary street address (apartment, suite, etc.).
1812
+ */
1813
+ street_line_2: string | null;
1814
+ }
1815
+ interface NonUsResidentialAddressResponse {
1816
+ /**
1817
+ * City name.
1818
+ */
1819
+ city: string;
1820
+ /**
1821
+ * ISO 3166-1 alpha-2 country code.
1822
+ */
1823
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1824
+ /**
1825
+ * Postal or ZIP code.
1826
+ */
1827
+ postal_code: string;
1828
+ /**
1829
+ * Primary street address.
1830
+ */
1831
+ street_line_1: string;
1832
+ /**
1833
+ * Secondary street address (apartment, suite, etc.).
1834
+ */
1835
+ street_line_2: string | null;
1836
+ }
1837
+ }
1838
+ interface UnionMember1 {
1839
+ /**
1840
+ * ISO 3166-1 alpha-2 country code of citizenship.
1841
+ */
1842
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1843
+ /**
1844
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1845
+ */
1846
+ date_of_birth: string;
1847
+ /**
1848
+ * Government-issued identification with type: "id" (generic government-issued ID).
1849
+ */
1850
+ identification: UnionMember1.Identification;
1851
+ /**
1852
+ * Full legal name of the account holder.
1853
+ */
1854
+ legal_name: string;
1855
+ /**
1856
+ * Residential address of the account holder.
1857
+ */
1858
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
1859
+ /**
1860
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1861
+ * Director").
1862
+ */
1863
+ title: string;
1864
+ }
1865
+ namespace UnionMember1 {
1866
+ /**
1867
+ * Government-issued identification with type: "id" (generic government-issued ID).
1868
+ */
1869
+ interface Identification {
1870
+ type: 'id';
1871
+ value: string;
1872
+ }
1873
+ interface UsResidentialAddressResponse {
1874
+ /**
1875
+ * City name.
1876
+ */
1877
+ city: string;
1878
+ /**
1879
+ * ISO 3166-1 alpha-2 country code.
1880
+ */
1881
+ country: 'US';
1882
+ /**
1883
+ * Postal or ZIP code.
1884
+ */
1885
+ postal_code: string;
1886
+ /**
1887
+ * Two-letter state code.
1888
+ */
1889
+ state: string;
1890
+ /**
1891
+ * Primary street address.
1892
+ */
1893
+ street_line_1: string;
1894
+ /**
1895
+ * Secondary street address (apartment, suite, etc.).
1896
+ */
1897
+ street_line_2: string | null;
1898
+ }
1899
+ interface NonUsResidentialAddressResponse {
1900
+ /**
1901
+ * City name.
1902
+ */
1903
+ city: string;
1904
+ /**
1905
+ * ISO 3166-1 alpha-2 country code.
1906
+ */
1907
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1908
+ /**
1909
+ * Postal or ZIP code.
1910
+ */
1911
+ postal_code: string;
1912
+ /**
1913
+ * Primary street address.
1914
+ */
1915
+ street_line_1: string;
1916
+ /**
1917
+ * Secondary street address (apartment, suite, etc.).
1918
+ */
1919
+ street_line_2: string | null;
1920
+ }
1921
+ }
1922
+ interface UsResidentialAddressResponse {
1923
+ /**
1924
+ * City name.
1925
+ */
1926
+ city: string;
1927
+ /**
1928
+ * ISO 3166-1 alpha-2 country code.
1929
+ */
1930
+ country: 'US';
1931
+ /**
1932
+ * Postal or ZIP code.
1933
+ */
1934
+ postal_code: string;
1935
+ /**
1936
+ * Two-letter state code.
1937
+ */
1938
+ state: string;
1939
+ /**
1940
+ * Primary street address.
1941
+ */
1942
+ street_line_1: string;
1943
+ /**
1944
+ * Secondary street address (apartment, suite, etc.).
1945
+ */
1946
+ street_line_2: string | null;
1947
+ }
1948
+ interface NonUsResidentialAddressResponse {
1949
+ /**
1950
+ * City name.
1951
+ */
1952
+ city: string;
1953
+ /**
1954
+ * ISO 3166-1 alpha-2 country code.
1955
+ */
1956
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
1957
+ /**
1958
+ * Postal or ZIP code.
1959
+ */
1960
+ postal_code: string;
1961
+ /**
1962
+ * Primary street address.
1963
+ */
1964
+ street_line_1: string;
1965
+ /**
1966
+ * Secondary street address (apartment, suite, etc.).
1967
+ */
1968
+ street_line_2: string | null;
1969
+ }
1970
+ interface UsResidentialAddressResponse {
1971
+ /**
1972
+ * City name.
1973
+ */
1974
+ city: string;
1975
+ /**
1976
+ * ISO 3166-1 alpha-2 country code.
1977
+ */
1978
+ country: 'US';
1979
+ /**
1980
+ * Postal or ZIP code.
1981
+ */
1982
+ postal_code: string;
1983
+ /**
1984
+ * Two-letter state code.
1985
+ */
1986
+ state: string;
1987
+ /**
1988
+ * Primary street address.
1989
+ */
1990
+ street_line_1: string;
1991
+ /**
1992
+ * Secondary street address (apartment, suite, etc.).
1993
+ */
1994
+ street_line_2: string | null;
1995
+ }
1996
+ interface NonUsResidentialAddressResponse {
1997
+ /**
1998
+ * City name.
1999
+ */
2000
+ city: string;
2001
+ /**
2002
+ * ISO 3166-1 alpha-2 country code.
2003
+ */
2004
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2005
+ /**
2006
+ * Postal or ZIP code.
2007
+ */
2008
+ postal_code: string;
2009
+ /**
2010
+ * Primary street address.
2011
+ */
2012
+ street_line_1: string;
2013
+ /**
2014
+ * Secondary street address (apartment, suite, etc.).
2015
+ */
2016
+ street_line_2: string | null;
2017
+ }
2018
+ interface EinIdentification {
2019
+ type: 'ein';
2020
+ value: string;
2021
+ }
2022
+ interface SsnIdentification {
2023
+ type: 'ssn';
2024
+ value: string;
2025
+ }
2026
+ }
2027
+ }
2028
+ export interface AccountHolderListResponse {
2029
+ /**
2030
+ * Unique identifier of the account holder.
2031
+ */
2032
+ id: string;
2033
+ /**
2034
+ * Beneficiary details used to create this account holder.
2035
+ */
2036
+ beneficiary_data: AccountHolderListResponse.UsBeneficiaryDataResponse | AccountHolderListResponse.NonUsBeneficiaryDataResponse | AccountHolderListResponse.BusinessBeneficiaryDataResponse;
2037
+ /**
2038
+ * ISO 8601 UTC timestamp when the account holder was created.
2039
+ */
2040
+ created_at: string;
2041
+ /**
2042
+ * Type of the account holder.
2043
+ */
2044
+ holder_type: 'natural_person' | 'business';
2045
+ /**
2046
+ * Current account holder status.
2047
+ */
2048
+ status: 'pending' | 'active' | 'closed';
2049
+ /**
2050
+ * Resource type discriminator.
2051
+ */
2052
+ type: 'account_holder';
2053
+ }
2054
+ export declare namespace AccountHolderListResponse {
2055
+ interface UsBeneficiaryDataResponse {
2056
+ /**
2057
+ * ISO 3166-1 alpha-2 country code of citizenship.
2058
+ */
2059
+ country_of_citizenship: 'US';
2060
+ /**
2061
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2062
+ */
2063
+ date_of_birth: string;
2064
+ /**
2065
+ * Government-issued identification with type: "ssn" (Social Security Number,
2066
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2067
+ */
2068
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
2069
+ /**
2070
+ * Full legal name of the account holder.
2071
+ */
2072
+ legal_name: string;
2073
+ /**
2074
+ * Residential address of the account holder.
2075
+ */
2076
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2077
+ }
2078
+ namespace UsBeneficiaryDataResponse {
2079
+ interface SsnIdentification {
2080
+ type: 'ssn';
2081
+ value: string;
2082
+ }
2083
+ interface ItinIdentification {
2084
+ type: 'itin';
2085
+ value: string;
2086
+ }
2087
+ interface UsResidentialAddressResponse {
2088
+ /**
2089
+ * City name.
2090
+ */
2091
+ city: string;
2092
+ /**
2093
+ * ISO 3166-1 alpha-2 country code.
2094
+ */
2095
+ country: 'US';
2096
+ /**
2097
+ * Postal or ZIP code.
2098
+ */
2099
+ postal_code: string;
2100
+ /**
2101
+ * Two-letter state code.
2102
+ */
2103
+ state: string;
2104
+ /**
2105
+ * Primary street address.
2106
+ */
2107
+ street_line_1: string;
2108
+ /**
2109
+ * Secondary street address (apartment, suite, etc.).
2110
+ */
2111
+ street_line_2: string | null;
2112
+ }
2113
+ interface NonUsResidentialAddressResponse {
2114
+ /**
2115
+ * City name.
2116
+ */
2117
+ city: string;
2118
+ /**
2119
+ * ISO 3166-1 alpha-2 country code.
2120
+ */
2121
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2122
+ /**
2123
+ * Postal or ZIP code.
2124
+ */
2125
+ postal_code: string;
2126
+ /**
2127
+ * Primary street address.
2128
+ */
2129
+ street_line_1: string;
2130
+ /**
2131
+ * Secondary street address (apartment, suite, etc.).
2132
+ */
2133
+ street_line_2: string | null;
2134
+ }
2135
+ }
2136
+ interface NonUsBeneficiaryDataResponse {
2137
+ /**
2138
+ * ISO 3166-1 alpha-2 country code of citizenship.
2139
+ */
2140
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2141
+ /**
2142
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2143
+ */
2144
+ date_of_birth: string;
2145
+ /**
2146
+ * Government-issued identification with type: "id" (generic government-issued ID).
2147
+ */
2148
+ identification: NonUsBeneficiaryDataResponse.Identification;
2149
+ /**
2150
+ * Full legal name of the account holder.
2151
+ */
2152
+ legal_name: string;
2153
+ /**
2154
+ * Residential address of the account holder.
2155
+ */
2156
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2157
+ }
2158
+ namespace NonUsBeneficiaryDataResponse {
2159
+ /**
2160
+ * Government-issued identification with type: "id" (generic government-issued ID).
2161
+ */
2162
+ interface Identification {
2163
+ type: 'id';
2164
+ value: string;
2165
+ }
2166
+ interface UsResidentialAddressResponse {
2167
+ /**
2168
+ * City name.
2169
+ */
2170
+ city: string;
2171
+ /**
2172
+ * ISO 3166-1 alpha-2 country code.
2173
+ */
2174
+ country: 'US';
2175
+ /**
2176
+ * Postal or ZIP code.
2177
+ */
2178
+ postal_code: string;
2179
+ /**
2180
+ * Two-letter state code.
2181
+ */
2182
+ state: string;
2183
+ /**
2184
+ * Primary street address.
2185
+ */
2186
+ street_line_1: string;
2187
+ /**
2188
+ * Secondary street address (apartment, suite, etc.).
2189
+ */
2190
+ street_line_2: string | null;
2191
+ }
2192
+ interface NonUsResidentialAddressResponse {
2193
+ /**
2194
+ * City name.
2195
+ */
2196
+ city: string;
2197
+ /**
2198
+ * ISO 3166-1 alpha-2 country code.
2199
+ */
2200
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2201
+ /**
2202
+ * Postal or ZIP code.
2203
+ */
2204
+ postal_code: string;
2205
+ /**
2206
+ * Primary street address.
2207
+ */
2208
+ street_line_1: string;
2209
+ /**
2210
+ * Secondary street address (apartment, suite, etc.).
2211
+ */
2212
+ street_line_2: string | null;
2213
+ }
2214
+ }
2215
+ interface BusinessBeneficiaryDataResponse {
2216
+ /**
2217
+ * Beneficial owners of the business. At least one required.
2218
+ */
2219
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
2220
+ /**
2221
+ * Individual with primary responsibility for controlling, managing, or directing
2222
+ * the business.
2223
+ */
2224
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
2225
+ /**
2226
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
2227
+ */
2228
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2229
+ /**
2230
+ * Trade name the business operates under, if different from the legal name.
2231
+ */
2232
+ doing_business_as: string | null;
2233
+ /**
2234
+ * Full legal name of the business.
2235
+ */
2236
+ legal_business_name: string;
2237
+ /**
2238
+ * Physical operating address of the business.
2239
+ */
2240
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2241
+ /**
2242
+ * Registered legal address of the business.
2243
+ */
2244
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2245
+ /**
2246
+ * Business registration number: type "ein" (Employer Identification Number, format
2247
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
2248
+ */
2249
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
2250
+ /**
2251
+ * State or subdivision where the business is incorporated.
2252
+ */
2253
+ state_of_incorporation: string;
2254
+ /**
2255
+ * Four-digit year the business was incorporated.
2256
+ */
2257
+ year_of_incorporation: number;
2258
+ }
2259
+ namespace BusinessBeneficiaryDataResponse {
2260
+ interface UsBeneficiaryDataResponse {
2261
+ /**
2262
+ * ISO 3166-1 alpha-2 country code of citizenship.
2263
+ */
2264
+ country_of_citizenship: 'US';
2265
+ /**
2266
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2267
+ */
2268
+ date_of_birth: string;
2269
+ /**
2270
+ * Government-issued identification with type: "ssn" (Social Security Number,
2271
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2272
+ */
2273
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
2274
+ /**
2275
+ * Full legal name of the account holder.
2276
+ */
2277
+ legal_name: string;
2278
+ /**
2279
+ * Residential address of the account holder.
2280
+ */
2281
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2282
+ }
2283
+ namespace UsBeneficiaryDataResponse {
2284
+ interface SsnIdentification {
2285
+ type: 'ssn';
2286
+ value: string;
2287
+ }
2288
+ interface ItinIdentification {
2289
+ type: 'itin';
2290
+ value: string;
2291
+ }
2292
+ interface UsResidentialAddressResponse {
2293
+ /**
2294
+ * City name.
2295
+ */
2296
+ city: string;
2297
+ /**
2298
+ * ISO 3166-1 alpha-2 country code.
2299
+ */
2300
+ country: 'US';
2301
+ /**
2302
+ * Postal or ZIP code.
2303
+ */
2304
+ postal_code: string;
2305
+ /**
2306
+ * Two-letter state code.
2307
+ */
2308
+ state: string;
2309
+ /**
2310
+ * Primary street address.
2311
+ */
2312
+ street_line_1: string;
2313
+ /**
2314
+ * Secondary street address (apartment, suite, etc.).
2315
+ */
2316
+ street_line_2: string | null;
2317
+ }
2318
+ interface NonUsResidentialAddressResponse {
2319
+ /**
2320
+ * City name.
2321
+ */
2322
+ city: string;
2323
+ /**
2324
+ * ISO 3166-1 alpha-2 country code.
2325
+ */
2326
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2327
+ /**
2328
+ * Postal or ZIP code.
2329
+ */
2330
+ postal_code: string;
2331
+ /**
2332
+ * Primary street address.
2333
+ */
2334
+ street_line_1: string;
2335
+ /**
2336
+ * Secondary street address (apartment, suite, etc.).
2337
+ */
2338
+ street_line_2: string | null;
2339
+ }
2340
+ }
2341
+ interface NonUsBeneficiaryDataResponse {
2342
+ /**
2343
+ * ISO 3166-1 alpha-2 country code of citizenship.
2344
+ */
2345
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2346
+ /**
2347
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2348
+ */
2349
+ date_of_birth: string;
2350
+ /**
2351
+ * Government-issued identification with type: "id" (generic government-issued ID).
2352
+ */
2353
+ identification: NonUsBeneficiaryDataResponse.Identification;
2354
+ /**
2355
+ * Full legal name of the account holder.
2356
+ */
2357
+ legal_name: string;
2358
+ /**
2359
+ * Residential address of the account holder.
2360
+ */
2361
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2362
+ }
2363
+ namespace NonUsBeneficiaryDataResponse {
2364
+ /**
2365
+ * Government-issued identification with type: "id" (generic government-issued ID).
2366
+ */
2367
+ interface Identification {
2368
+ type: 'id';
2369
+ value: string;
2370
+ }
2371
+ interface UsResidentialAddressResponse {
2372
+ /**
2373
+ * City name.
2374
+ */
2375
+ city: string;
2376
+ /**
2377
+ * ISO 3166-1 alpha-2 country code.
2378
+ */
2379
+ country: 'US';
2380
+ /**
2381
+ * Postal or ZIP code.
2382
+ */
2383
+ postal_code: string;
2384
+ /**
2385
+ * Two-letter state code.
2386
+ */
2387
+ state: string;
2388
+ /**
2389
+ * Primary street address.
2390
+ */
2391
+ street_line_1: string;
2392
+ /**
2393
+ * Secondary street address (apartment, suite, etc.).
2394
+ */
2395
+ street_line_2: string | null;
2396
+ }
2397
+ interface NonUsResidentialAddressResponse {
2398
+ /**
2399
+ * City name.
2400
+ */
2401
+ city: string;
2402
+ /**
2403
+ * ISO 3166-1 alpha-2 country code.
2404
+ */
2405
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2406
+ /**
2407
+ * Postal or ZIP code.
2408
+ */
2409
+ postal_code: string;
2410
+ /**
2411
+ * Primary street address.
2412
+ */
2413
+ street_line_1: string;
2414
+ /**
2415
+ * Secondary street address (apartment, suite, etc.).
2416
+ */
2417
+ street_line_2: string | null;
2418
+ }
2419
+ }
2420
+ interface UnionMember0 {
2421
+ /**
2422
+ * ISO 3166-1 alpha-2 country code of citizenship.
2423
+ */
2424
+ country_of_citizenship: 'US';
2425
+ /**
2426
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2427
+ */
2428
+ date_of_birth: string;
2429
+ /**
2430
+ * Government-issued identification with type: "ssn" (Social Security Number,
2431
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2432
+ */
2433
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
2434
+ /**
2435
+ * Full legal name of the account holder.
2436
+ */
2437
+ legal_name: string;
2438
+ /**
2439
+ * Residential address of the account holder.
2440
+ */
2441
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
2442
+ /**
2443
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
2444
+ * Director").
2445
+ */
2446
+ title: string;
2447
+ }
2448
+ namespace UnionMember0 {
2449
+ interface SsnIdentification {
2450
+ type: 'ssn';
2451
+ value: string;
2452
+ }
2453
+ interface ItinIdentification {
2454
+ type: 'itin';
2455
+ value: string;
2456
+ }
2457
+ interface UsResidentialAddressResponse {
2458
+ /**
2459
+ * City name.
2460
+ */
2461
+ city: string;
2462
+ /**
2463
+ * ISO 3166-1 alpha-2 country code.
2464
+ */
2465
+ country: 'US';
2466
+ /**
2467
+ * Postal or ZIP code.
2468
+ */
2469
+ postal_code: string;
2470
+ /**
2471
+ * Two-letter state code.
2472
+ */
2473
+ state: string;
2474
+ /**
2475
+ * Primary street address.
2476
+ */
2477
+ street_line_1: string;
2478
+ /**
2479
+ * Secondary street address (apartment, suite, etc.).
2480
+ */
2481
+ street_line_2: string | null;
2482
+ }
2483
+ interface NonUsResidentialAddressResponse {
2484
+ /**
2485
+ * City name.
2486
+ */
2487
+ city: string;
2488
+ /**
2489
+ * ISO 3166-1 alpha-2 country code.
2490
+ */
2491
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2492
+ /**
2493
+ * Postal or ZIP code.
2494
+ */
2495
+ postal_code: string;
2496
+ /**
2497
+ * Primary street address.
2498
+ */
2499
+ street_line_1: string;
2500
+ /**
2501
+ * Secondary street address (apartment, suite, etc.).
2502
+ */
2503
+ street_line_2: string | null;
2504
+ }
2505
+ }
2506
+ interface UnionMember1 {
2507
+ /**
2508
+ * ISO 3166-1 alpha-2 country code of citizenship.
2509
+ */
2510
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2511
+ /**
2512
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2513
+ */
2514
+ date_of_birth: string;
2515
+ /**
2516
+ * Government-issued identification with type: "id" (generic government-issued ID).
2517
+ */
2518
+ identification: UnionMember1.Identification;
2519
+ /**
2520
+ * Full legal name of the account holder.
2521
+ */
2522
+ legal_name: string;
2523
+ /**
2524
+ * Residential address of the account holder.
2525
+ */
2526
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
2527
+ /**
2528
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
2529
+ * Director").
2530
+ */
2531
+ title: string;
2532
+ }
2533
+ namespace UnionMember1 {
2534
+ /**
2535
+ * Government-issued identification with type: "id" (generic government-issued ID).
2536
+ */
2537
+ interface Identification {
2538
+ type: 'id';
2539
+ value: string;
2540
+ }
2541
+ interface UsResidentialAddressResponse {
2542
+ /**
2543
+ * City name.
2544
+ */
2545
+ city: string;
2546
+ /**
2547
+ * ISO 3166-1 alpha-2 country code.
2548
+ */
2549
+ country: 'US';
2550
+ /**
2551
+ * Postal or ZIP code.
2552
+ */
2553
+ postal_code: string;
2554
+ /**
2555
+ * Two-letter state code.
2556
+ */
2557
+ state: string;
2558
+ /**
2559
+ * Primary street address.
2560
+ */
2561
+ street_line_1: string;
2562
+ /**
2563
+ * Secondary street address (apartment, suite, etc.).
2564
+ */
2565
+ street_line_2: string | null;
2566
+ }
2567
+ interface NonUsResidentialAddressResponse {
2568
+ /**
2569
+ * City name.
2570
+ */
2571
+ city: string;
2572
+ /**
2573
+ * ISO 3166-1 alpha-2 country code.
2574
+ */
2575
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2576
+ /**
2577
+ * Postal or ZIP code.
2578
+ */
2579
+ postal_code: string;
2580
+ /**
2581
+ * Primary street address.
2582
+ */
2583
+ street_line_1: string;
2584
+ /**
2585
+ * Secondary street address (apartment, suite, etc.).
2586
+ */
2587
+ street_line_2: string | null;
2588
+ }
2589
+ }
2590
+ interface UsResidentialAddressResponse {
2591
+ /**
2592
+ * City name.
2593
+ */
2594
+ city: string;
2595
+ /**
2596
+ * ISO 3166-1 alpha-2 country code.
2597
+ */
2598
+ country: 'US';
2599
+ /**
2600
+ * Postal or ZIP code.
2601
+ */
2602
+ postal_code: string;
2603
+ /**
2604
+ * Two-letter state code.
2605
+ */
2606
+ state: string;
2607
+ /**
2608
+ * Primary street address.
2609
+ */
2610
+ street_line_1: string;
2611
+ /**
2612
+ * Secondary street address (apartment, suite, etc.).
2613
+ */
2614
+ street_line_2: string | null;
2615
+ }
2616
+ interface NonUsResidentialAddressResponse {
2617
+ /**
2618
+ * City name.
2619
+ */
2620
+ city: string;
2621
+ /**
2622
+ * ISO 3166-1 alpha-2 country code.
2623
+ */
2624
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2625
+ /**
2626
+ * Postal or ZIP code.
2627
+ */
2628
+ postal_code: string;
2629
+ /**
2630
+ * Primary street address.
2631
+ */
2632
+ street_line_1: string;
2633
+ /**
2634
+ * Secondary street address (apartment, suite, etc.).
2635
+ */
2636
+ street_line_2: string | null;
2637
+ }
2638
+ interface UsResidentialAddressResponse {
2639
+ /**
2640
+ * City name.
2641
+ */
2642
+ city: string;
2643
+ /**
2644
+ * ISO 3166-1 alpha-2 country code.
2645
+ */
2646
+ country: 'US';
2647
+ /**
2648
+ * Postal or ZIP code.
2649
+ */
2650
+ postal_code: string;
2651
+ /**
2652
+ * Two-letter state code.
2653
+ */
2654
+ state: string;
2655
+ /**
2656
+ * Primary street address.
2657
+ */
2658
+ street_line_1: string;
2659
+ /**
2660
+ * Secondary street address (apartment, suite, etc.).
2661
+ */
2662
+ street_line_2: string | null;
2663
+ }
2664
+ interface NonUsResidentialAddressResponse {
2665
+ /**
2666
+ * City name.
2667
+ */
2668
+ city: string;
2669
+ /**
2670
+ * ISO 3166-1 alpha-2 country code.
2671
+ */
2672
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2673
+ /**
2674
+ * Postal or ZIP code.
2675
+ */
2676
+ postal_code: string;
2677
+ /**
2678
+ * Primary street address.
2679
+ */
2680
+ street_line_1: string;
2681
+ /**
2682
+ * Secondary street address (apartment, suite, etc.).
2683
+ */
2684
+ street_line_2: string | null;
2685
+ }
2686
+ interface EinIdentification {
2687
+ type: 'ein';
2688
+ value: string;
2689
+ }
2690
+ interface SsnIdentification {
2691
+ type: 'ssn';
2692
+ value: string;
2693
+ }
2694
+ }
2695
+ }
2696
+ export interface AccountHolderCreateParams {
2697
+ /**
2698
+ * ID of the account program to create the account holder under.
2699
+ */
2700
+ account_program_id: string;
2701
+ /**
2702
+ * Personal information of the account holder.
2703
+ */
2704
+ beneficiary_data: AccountHolderCreateParams.UsBeneficiaryData | AccountHolderCreateParams.NonUsBeneficiaryData | AccountHolderCreateParams.BusinessBeneficiaryData;
2705
+ /**
2706
+ * Type of the account holder.
2707
+ */
2708
+ holder_type: 'natural_person' | 'business';
2709
+ }
2710
+ export declare namespace AccountHolderCreateParams {
2711
+ interface UsBeneficiaryData {
2712
+ /**
2713
+ * ISO 3166-1 alpha-2 country code of citizenship.
2714
+ */
2715
+ country_of_citizenship: 'US';
2716
+ /**
2717
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2718
+ */
2719
+ date_of_birth: string;
2720
+ /**
2721
+ * Government-issued identification with type: "ssn" (Social Security Number,
2722
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2723
+ */
2724
+ identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
2725
+ /**
2726
+ * Full legal name of the account holder.
2727
+ */
2728
+ legal_name: string;
2729
+ /**
2730
+ * Residential address of the account holder.
2731
+ */
2732
+ residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
2733
+ }
2734
+ namespace UsBeneficiaryData {
2735
+ interface SsnIdentification {
2736
+ type: 'ssn';
2737
+ value: string;
2738
+ }
2739
+ interface ItinIdentification {
2740
+ type: 'itin';
2741
+ value: string;
2742
+ }
2743
+ interface UsResidentialAddress {
2744
+ /**
2745
+ * City name.
2746
+ */
2747
+ city: string;
2748
+ /**
2749
+ * ISO 3166-1 alpha-2 country code.
2750
+ */
2751
+ country: 'US';
2752
+ /**
2753
+ * Postal or ZIP code.
2754
+ */
2755
+ postal_code: string;
2756
+ /**
2757
+ * Two-letter state code.
2758
+ */
2759
+ state: string;
2760
+ /**
2761
+ * Primary street address.
2762
+ */
2763
+ street_line_1: string;
2764
+ /**
2765
+ * Secondary street address (apartment, suite, etc.).
2766
+ */
2767
+ street_line_2?: string;
2768
+ }
2769
+ interface NonUsResidentialAddress {
2770
+ /**
2771
+ * City name.
2772
+ */
2773
+ city: string;
2774
+ /**
2775
+ * ISO 3166-1 alpha-2 country code.
2776
+ */
2777
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2778
+ /**
2779
+ * Postal or ZIP code.
2780
+ */
2781
+ postal_code: string;
2782
+ /**
2783
+ * Primary street address.
2784
+ */
2785
+ street_line_1: string;
2786
+ /**
2787
+ * Secondary street address (apartment, suite, etc.).
2788
+ */
2789
+ street_line_2?: string;
2790
+ }
2791
+ }
2792
+ interface NonUsBeneficiaryData {
2793
+ /**
2794
+ * ISO 3166-1 alpha-2 country code of citizenship.
2795
+ */
2796
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2797
+ /**
2798
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2799
+ */
2800
+ date_of_birth: string;
2801
+ /**
2802
+ * Government-issued identification with type: "id" (generic government-issued ID).
2803
+ */
2804
+ identification: NonUsBeneficiaryData.Identification;
2805
+ /**
2806
+ * Full legal name of the account holder.
2807
+ */
2808
+ legal_name: string;
2809
+ /**
2810
+ * Residential address of the account holder.
2811
+ */
2812
+ residential_address: NonUsBeneficiaryData.UsResidentialAddress | NonUsBeneficiaryData.NonUsResidentialAddress;
2813
+ }
2814
+ namespace NonUsBeneficiaryData {
2815
+ /**
2816
+ * Government-issued identification with type: "id" (generic government-issued ID).
2817
+ */
2818
+ interface Identification {
2819
+ type: 'id';
2820
+ value: string;
2821
+ }
2822
+ interface UsResidentialAddress {
2823
+ /**
2824
+ * City name.
2825
+ */
2826
+ city: string;
2827
+ /**
2828
+ * ISO 3166-1 alpha-2 country code.
2829
+ */
2830
+ country: 'US';
2831
+ /**
2832
+ * Postal or ZIP code.
2833
+ */
2834
+ postal_code: string;
2835
+ /**
2836
+ * Two-letter state code.
2837
+ */
2838
+ state: string;
2839
+ /**
2840
+ * Primary street address.
2841
+ */
2842
+ street_line_1: string;
2843
+ /**
2844
+ * Secondary street address (apartment, suite, etc.).
2845
+ */
2846
+ street_line_2?: string;
2847
+ }
2848
+ interface NonUsResidentialAddress {
2849
+ /**
2850
+ * City name.
2851
+ */
2852
+ city: string;
2853
+ /**
2854
+ * ISO 3166-1 alpha-2 country code.
2855
+ */
2856
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2857
+ /**
2858
+ * Postal or ZIP code.
2859
+ */
2860
+ postal_code: string;
2861
+ /**
2862
+ * Primary street address.
2863
+ */
2864
+ street_line_1: string;
2865
+ /**
2866
+ * Secondary street address (apartment, suite, etc.).
2867
+ */
2868
+ street_line_2?: string;
2869
+ }
2870
+ }
2871
+ interface BusinessBeneficiaryData {
2872
+ /**
2873
+ * Beneficial owners of the business. At least one required.
2874
+ */
2875
+ beneficial_owners: Array<BusinessBeneficiaryData.UsBeneficiaryData | BusinessBeneficiaryData.NonUsBeneficiaryData>;
2876
+ /**
2877
+ * Individual with primary responsibility for controlling, managing, or directing
2878
+ * the business.
2879
+ */
2880
+ control_person: BusinessBeneficiaryData.UnionMember0 | BusinessBeneficiaryData.UnionMember1;
2881
+ /**
2882
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
2883
+ */
2884
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2885
+ /**
2886
+ * Full legal name of the business.
2887
+ */
2888
+ legal_business_name: string;
2889
+ /**
2890
+ * Physical operating address of the business.
2891
+ */
2892
+ physical_address: BusinessBeneficiaryData.UsResidentialAddress | BusinessBeneficiaryData.NonUsResidentialAddress;
2893
+ /**
2894
+ * Registered legal address of the business.
2895
+ */
2896
+ registered_address: BusinessBeneficiaryData.UsResidentialAddress | BusinessBeneficiaryData.NonUsResidentialAddress;
2897
+ /**
2898
+ * Business registration number: type "ein" (Employer Identification Number, format
2899
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
2900
+ */
2901
+ registration_number: BusinessBeneficiaryData.EinIdentification | BusinessBeneficiaryData.SsnIdentification;
2902
+ /**
2903
+ * State or subdivision where the business is incorporated.
2904
+ */
2905
+ state_of_incorporation: string;
2906
+ /**
2907
+ * Four-digit year the business was incorporated.
2908
+ */
2909
+ year_of_incorporation: number;
2910
+ /**
2911
+ * Trade name the business operates under, if different from the legal name.
2912
+ */
2913
+ doing_business_as?: string;
2914
+ }
2915
+ namespace BusinessBeneficiaryData {
2916
+ interface UsBeneficiaryData {
2917
+ /**
2918
+ * ISO 3166-1 alpha-2 country code of citizenship.
2919
+ */
2920
+ country_of_citizenship: 'US';
2921
+ /**
2922
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2923
+ */
2924
+ date_of_birth: string;
2925
+ /**
2926
+ * Government-issued identification with type: "ssn" (Social Security Number,
2927
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2928
+ */
2929
+ identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
2930
+ /**
2931
+ * Full legal name of the account holder.
2932
+ */
2933
+ legal_name: string;
2934
+ /**
2935
+ * Residential address of the account holder.
2936
+ */
2937
+ residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
2938
+ }
2939
+ namespace UsBeneficiaryData {
2940
+ interface SsnIdentification {
2941
+ type: 'ssn';
2942
+ value: string;
2943
+ }
2944
+ interface ItinIdentification {
2945
+ type: 'itin';
2946
+ value: string;
2947
+ }
2948
+ interface UsResidentialAddress {
2949
+ /**
2950
+ * City name.
2951
+ */
2952
+ city: string;
2953
+ /**
2954
+ * ISO 3166-1 alpha-2 country code.
2955
+ */
2956
+ country: 'US';
2957
+ /**
2958
+ * Postal or ZIP code.
2959
+ */
2960
+ postal_code: string;
2961
+ /**
2962
+ * Two-letter state code.
2963
+ */
2964
+ state: string;
2965
+ /**
2966
+ * Primary street address.
2967
+ */
2968
+ street_line_1: string;
2969
+ /**
2970
+ * Secondary street address (apartment, suite, etc.).
2971
+ */
2972
+ street_line_2?: string;
2973
+ }
2974
+ interface NonUsResidentialAddress {
2975
+ /**
2976
+ * City name.
2977
+ */
2978
+ city: string;
2979
+ /**
2980
+ * ISO 3166-1 alpha-2 country code.
2981
+ */
2982
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
2983
+ /**
2984
+ * Postal or ZIP code.
2985
+ */
2986
+ postal_code: string;
2987
+ /**
2988
+ * Primary street address.
2989
+ */
2990
+ street_line_1: string;
2991
+ /**
2992
+ * Secondary street address (apartment, suite, etc.).
2993
+ */
2994
+ street_line_2?: string;
2995
+ }
2996
+ }
2997
+ interface NonUsBeneficiaryData {
2998
+ /**
2999
+ * ISO 3166-1 alpha-2 country code of citizenship.
3000
+ */
3001
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3002
+ /**
3003
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3004
+ */
3005
+ date_of_birth: string;
3006
+ /**
3007
+ * Government-issued identification with type: "id" (generic government-issued ID).
3008
+ */
3009
+ identification: NonUsBeneficiaryData.Identification;
3010
+ /**
3011
+ * Full legal name of the account holder.
3012
+ */
3013
+ legal_name: string;
3014
+ /**
3015
+ * Residential address of the account holder.
3016
+ */
3017
+ residential_address: NonUsBeneficiaryData.UsResidentialAddress | NonUsBeneficiaryData.NonUsResidentialAddress;
3018
+ }
3019
+ namespace NonUsBeneficiaryData {
3020
+ /**
3021
+ * Government-issued identification with type: "id" (generic government-issued ID).
3022
+ */
3023
+ interface Identification {
3024
+ type: 'id';
3025
+ value: string;
3026
+ }
3027
+ interface UsResidentialAddress {
3028
+ /**
3029
+ * City name.
3030
+ */
3031
+ city: string;
3032
+ /**
3033
+ * ISO 3166-1 alpha-2 country code.
3034
+ */
3035
+ country: 'US';
3036
+ /**
3037
+ * Postal or ZIP code.
3038
+ */
3039
+ postal_code: string;
3040
+ /**
3041
+ * Two-letter state code.
3042
+ */
3043
+ state: string;
3044
+ /**
3045
+ * Primary street address.
3046
+ */
3047
+ street_line_1: string;
3048
+ /**
3049
+ * Secondary street address (apartment, suite, etc.).
3050
+ */
3051
+ street_line_2?: string;
3052
+ }
3053
+ interface NonUsResidentialAddress {
3054
+ /**
3055
+ * City name.
3056
+ */
3057
+ city: string;
3058
+ /**
3059
+ * ISO 3166-1 alpha-2 country code.
3060
+ */
3061
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3062
+ /**
3063
+ * Postal or ZIP code.
3064
+ */
3065
+ postal_code: string;
3066
+ /**
3067
+ * Primary street address.
3068
+ */
3069
+ street_line_1: string;
3070
+ /**
3071
+ * Secondary street address (apartment, suite, etc.).
3072
+ */
3073
+ street_line_2?: string;
3074
+ }
3075
+ }
3076
+ interface UnionMember0 {
3077
+ /**
3078
+ * ISO 3166-1 alpha-2 country code of citizenship.
3079
+ */
3080
+ country_of_citizenship: 'US';
3081
+ /**
3082
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3083
+ */
3084
+ date_of_birth: string;
3085
+ /**
3086
+ * Government-issued identification with type: "ssn" (Social Security Number,
3087
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
3088
+ */
3089
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
3090
+ /**
3091
+ * Full legal name of the account holder.
3092
+ */
3093
+ legal_name: string;
3094
+ /**
3095
+ * Residential address of the account holder.
3096
+ */
3097
+ residential_address: UnionMember0.UsResidentialAddress | UnionMember0.NonUsResidentialAddress;
3098
+ /**
3099
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
3100
+ * Director").
3101
+ */
3102
+ title: string;
3103
+ }
3104
+ namespace UnionMember0 {
3105
+ interface SsnIdentification {
3106
+ type: 'ssn';
3107
+ value: string;
3108
+ }
3109
+ interface ItinIdentification {
3110
+ type: 'itin';
3111
+ value: string;
3112
+ }
3113
+ interface UsResidentialAddress {
3114
+ /**
3115
+ * City name.
3116
+ */
3117
+ city: string;
3118
+ /**
3119
+ * ISO 3166-1 alpha-2 country code.
3120
+ */
3121
+ country: 'US';
3122
+ /**
3123
+ * Postal or ZIP code.
3124
+ */
3125
+ postal_code: string;
3126
+ /**
3127
+ * Two-letter state code.
3128
+ */
3129
+ state: string;
3130
+ /**
3131
+ * Primary street address.
3132
+ */
3133
+ street_line_1: string;
3134
+ /**
3135
+ * Secondary street address (apartment, suite, etc.).
3136
+ */
3137
+ street_line_2?: string;
3138
+ }
3139
+ interface NonUsResidentialAddress {
3140
+ /**
3141
+ * City name.
3142
+ */
3143
+ city: string;
3144
+ /**
3145
+ * ISO 3166-1 alpha-2 country code.
3146
+ */
3147
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3148
+ /**
3149
+ * Postal or ZIP code.
3150
+ */
3151
+ postal_code: string;
3152
+ /**
3153
+ * Primary street address.
3154
+ */
3155
+ street_line_1: string;
3156
+ /**
3157
+ * Secondary street address (apartment, suite, etc.).
3158
+ */
3159
+ street_line_2?: string;
3160
+ }
3161
+ }
3162
+ interface UnionMember1 {
3163
+ /**
3164
+ * ISO 3166-1 alpha-2 country code of citizenship.
3165
+ */
3166
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3167
+ /**
3168
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3169
+ */
3170
+ date_of_birth: string;
3171
+ /**
3172
+ * Government-issued identification with type: "id" (generic government-issued ID).
3173
+ */
3174
+ identification: UnionMember1.Identification;
3175
+ /**
3176
+ * Full legal name of the account holder.
3177
+ */
3178
+ legal_name: string;
3179
+ /**
3180
+ * Residential address of the account holder.
3181
+ */
3182
+ residential_address: UnionMember1.UsResidentialAddress | UnionMember1.NonUsResidentialAddress;
3183
+ /**
3184
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
3185
+ * Director").
3186
+ */
3187
+ title: string;
3188
+ }
3189
+ namespace UnionMember1 {
3190
+ /**
3191
+ * Government-issued identification with type: "id" (generic government-issued ID).
3192
+ */
3193
+ interface Identification {
3194
+ type: 'id';
3195
+ value: string;
3196
+ }
3197
+ interface UsResidentialAddress {
3198
+ /**
3199
+ * City name.
3200
+ */
3201
+ city: string;
3202
+ /**
3203
+ * ISO 3166-1 alpha-2 country code.
3204
+ */
3205
+ country: 'US';
3206
+ /**
3207
+ * Postal or ZIP code.
3208
+ */
3209
+ postal_code: string;
3210
+ /**
3211
+ * Two-letter state code.
3212
+ */
3213
+ state: string;
3214
+ /**
3215
+ * Primary street address.
3216
+ */
3217
+ street_line_1: string;
3218
+ /**
3219
+ * Secondary street address (apartment, suite, etc.).
3220
+ */
3221
+ street_line_2?: string;
3222
+ }
3223
+ interface NonUsResidentialAddress {
3224
+ /**
3225
+ * City name.
3226
+ */
3227
+ city: string;
3228
+ /**
3229
+ * ISO 3166-1 alpha-2 country code.
3230
+ */
3231
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3232
+ /**
3233
+ * Postal or ZIP code.
3234
+ */
3235
+ postal_code: string;
3236
+ /**
3237
+ * Primary street address.
3238
+ */
3239
+ street_line_1: string;
3240
+ /**
3241
+ * Secondary street address (apartment, suite, etc.).
3242
+ */
3243
+ street_line_2?: string;
3244
+ }
3245
+ }
3246
+ interface UsResidentialAddress {
3247
+ /**
3248
+ * City name.
3249
+ */
3250
+ city: string;
3251
+ /**
3252
+ * ISO 3166-1 alpha-2 country code.
3253
+ */
3254
+ country: 'US';
3255
+ /**
3256
+ * Postal or ZIP code.
3257
+ */
3258
+ postal_code: string;
3259
+ /**
3260
+ * Two-letter state code.
3261
+ */
3262
+ state: string;
3263
+ /**
3264
+ * Primary street address.
3265
+ */
3266
+ street_line_1: string;
3267
+ /**
3268
+ * Secondary street address (apartment, suite, etc.).
3269
+ */
3270
+ street_line_2?: string;
3271
+ }
3272
+ interface NonUsResidentialAddress {
3273
+ /**
3274
+ * City name.
3275
+ */
3276
+ city: string;
3277
+ /**
3278
+ * ISO 3166-1 alpha-2 country code.
3279
+ */
3280
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3281
+ /**
3282
+ * Postal or ZIP code.
3283
+ */
3284
+ postal_code: string;
3285
+ /**
3286
+ * Primary street address.
3287
+ */
3288
+ street_line_1: string;
3289
+ /**
3290
+ * Secondary street address (apartment, suite, etc.).
3291
+ */
3292
+ street_line_2?: string;
3293
+ }
3294
+ interface UsResidentialAddress {
3295
+ /**
3296
+ * City name.
3297
+ */
3298
+ city: string;
3299
+ /**
3300
+ * ISO 3166-1 alpha-2 country code.
3301
+ */
3302
+ country: 'US';
3303
+ /**
3304
+ * Postal or ZIP code.
3305
+ */
3306
+ postal_code: string;
3307
+ /**
3308
+ * Two-letter state code.
3309
+ */
3310
+ state: string;
3311
+ /**
3312
+ * Primary street address.
3313
+ */
3314
+ street_line_1: string;
3315
+ /**
3316
+ * Secondary street address (apartment, suite, etc.).
3317
+ */
3318
+ street_line_2?: string;
3319
+ }
3320
+ interface NonUsResidentialAddress {
3321
+ /**
3322
+ * City name.
3323
+ */
3324
+ city: string;
3325
+ /**
3326
+ * ISO 3166-1 alpha-2 country code.
3327
+ */
3328
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3329
+ /**
3330
+ * Postal or ZIP code.
3331
+ */
3332
+ postal_code: string;
3333
+ /**
3334
+ * Primary street address.
3335
+ */
3336
+ street_line_1: string;
3337
+ /**
3338
+ * Secondary street address (apartment, suite, etc.).
3339
+ */
3340
+ street_line_2?: string;
3341
+ }
3342
+ interface EinIdentification {
3343
+ type: 'ein';
3344
+ value: string;
3345
+ }
3346
+ interface SsnIdentification {
3347
+ type: 'ssn';
3348
+ value: string;
3349
+ }
3350
+ }
3351
+ }
3352
+ export interface AccountHolderUpdateParams {
3353
+ /**
3354
+ * New beneficiary details replacing the current values.
3355
+ */
3356
+ beneficiary_data: AccountHolderUpdateParams.UsBeneficiaryData | AccountHolderUpdateParams.NonUsBeneficiaryData | AccountHolderUpdateParams.BusinessBeneficiaryData;
3357
+ }
3358
+ export declare namespace AccountHolderUpdateParams {
3359
+ interface UsBeneficiaryData {
3360
+ /**
3361
+ * ISO 3166-1 alpha-2 country code of citizenship.
3362
+ */
3363
+ country_of_citizenship: 'US';
3364
+ /**
3365
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3366
+ */
3367
+ date_of_birth: string;
3368
+ /**
3369
+ * Government-issued identification with type: "ssn" (Social Security Number,
3370
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
3371
+ */
3372
+ identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
3373
+ /**
3374
+ * Full legal name of the account holder.
3375
+ */
3376
+ legal_name: string;
3377
+ /**
3378
+ * Residential address of the account holder.
3379
+ */
3380
+ residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
3381
+ }
3382
+ namespace UsBeneficiaryData {
3383
+ interface SsnIdentification {
3384
+ type: 'ssn';
3385
+ value: string;
3386
+ }
3387
+ interface ItinIdentification {
3388
+ type: 'itin';
3389
+ value: string;
3390
+ }
3391
+ interface UsResidentialAddress {
3392
+ /**
3393
+ * City name.
3394
+ */
3395
+ city: string;
3396
+ /**
3397
+ * ISO 3166-1 alpha-2 country code.
3398
+ */
3399
+ country: 'US';
3400
+ /**
3401
+ * Postal or ZIP code.
3402
+ */
3403
+ postal_code: string;
3404
+ /**
3405
+ * Two-letter state code.
3406
+ */
3407
+ state: string;
3408
+ /**
3409
+ * Primary street address.
3410
+ */
3411
+ street_line_1: string;
3412
+ /**
3413
+ * Secondary street address (apartment, suite, etc.).
3414
+ */
3415
+ street_line_2?: string;
3416
+ }
3417
+ interface NonUsResidentialAddress {
3418
+ /**
3419
+ * City name.
3420
+ */
3421
+ city: string;
3422
+ /**
3423
+ * ISO 3166-1 alpha-2 country code.
3424
+ */
3425
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3426
+ /**
3427
+ * Postal or ZIP code.
3428
+ */
3429
+ postal_code: string;
3430
+ /**
3431
+ * Primary street address.
3432
+ */
3433
+ street_line_1: string;
3434
+ /**
3435
+ * Secondary street address (apartment, suite, etc.).
3436
+ */
3437
+ street_line_2?: string;
3438
+ }
3439
+ }
3440
+ interface NonUsBeneficiaryData {
3441
+ /**
3442
+ * ISO 3166-1 alpha-2 country code of citizenship.
3443
+ */
3444
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3445
+ /**
3446
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3447
+ */
672
3448
  date_of_birth: string;
673
3449
  /**
674
3450
  * Government-issued identification with type: "id" (generic government-issued ID).
@@ -740,10 +3516,490 @@ export declare namespace AccountHolderCreateParams {
740
3516
  street_line_2?: string;
741
3517
  }
742
3518
  }
3519
+ interface BusinessBeneficiaryData {
3520
+ /**
3521
+ * Beneficial owners of the business. At least one required.
3522
+ */
3523
+ beneficial_owners: Array<BusinessBeneficiaryData.UsBeneficiaryData | BusinessBeneficiaryData.NonUsBeneficiaryData>;
3524
+ /**
3525
+ * Individual with primary responsibility for controlling, managing, or directing
3526
+ * the business.
3527
+ */
3528
+ control_person: BusinessBeneficiaryData.UnionMember0 | BusinessBeneficiaryData.UnionMember1;
3529
+ /**
3530
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
3531
+ */
3532
+ country_of_incorporation: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3533
+ /**
3534
+ * Full legal name of the business.
3535
+ */
3536
+ legal_business_name: string;
3537
+ /**
3538
+ * Physical operating address of the business.
3539
+ */
3540
+ physical_address: BusinessBeneficiaryData.UsResidentialAddress | BusinessBeneficiaryData.NonUsResidentialAddress;
3541
+ /**
3542
+ * Registered legal address of the business.
3543
+ */
3544
+ registered_address: BusinessBeneficiaryData.UsResidentialAddress | BusinessBeneficiaryData.NonUsResidentialAddress;
3545
+ /**
3546
+ * Business registration number: type "ein" (Employer Identification Number, format
3547
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
3548
+ */
3549
+ registration_number: BusinessBeneficiaryData.EinIdentification | BusinessBeneficiaryData.SsnIdentification;
3550
+ /**
3551
+ * State or subdivision where the business is incorporated.
3552
+ */
3553
+ state_of_incorporation: string;
3554
+ /**
3555
+ * Four-digit year the business was incorporated.
3556
+ */
3557
+ year_of_incorporation: number;
3558
+ /**
3559
+ * Trade name the business operates under, if different from the legal name.
3560
+ */
3561
+ doing_business_as?: string;
3562
+ }
3563
+ namespace BusinessBeneficiaryData {
3564
+ interface UsBeneficiaryData {
3565
+ /**
3566
+ * ISO 3166-1 alpha-2 country code of citizenship.
3567
+ */
3568
+ country_of_citizenship: 'US';
3569
+ /**
3570
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3571
+ */
3572
+ date_of_birth: string;
3573
+ /**
3574
+ * Government-issued identification with type: "ssn" (Social Security Number,
3575
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
3576
+ */
3577
+ identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
3578
+ /**
3579
+ * Full legal name of the account holder.
3580
+ */
3581
+ legal_name: string;
3582
+ /**
3583
+ * Residential address of the account holder.
3584
+ */
3585
+ residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
3586
+ }
3587
+ namespace UsBeneficiaryData {
3588
+ interface SsnIdentification {
3589
+ type: 'ssn';
3590
+ value: string;
3591
+ }
3592
+ interface ItinIdentification {
3593
+ type: 'itin';
3594
+ value: string;
3595
+ }
3596
+ interface UsResidentialAddress {
3597
+ /**
3598
+ * City name.
3599
+ */
3600
+ city: string;
3601
+ /**
3602
+ * ISO 3166-1 alpha-2 country code.
3603
+ */
3604
+ country: 'US';
3605
+ /**
3606
+ * Postal or ZIP code.
3607
+ */
3608
+ postal_code: string;
3609
+ /**
3610
+ * Two-letter state code.
3611
+ */
3612
+ state: string;
3613
+ /**
3614
+ * Primary street address.
3615
+ */
3616
+ street_line_1: string;
3617
+ /**
3618
+ * Secondary street address (apartment, suite, etc.).
3619
+ */
3620
+ street_line_2?: string;
3621
+ }
3622
+ interface NonUsResidentialAddress {
3623
+ /**
3624
+ * City name.
3625
+ */
3626
+ city: string;
3627
+ /**
3628
+ * ISO 3166-1 alpha-2 country code.
3629
+ */
3630
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3631
+ /**
3632
+ * Postal or ZIP code.
3633
+ */
3634
+ postal_code: string;
3635
+ /**
3636
+ * Primary street address.
3637
+ */
3638
+ street_line_1: string;
3639
+ /**
3640
+ * Secondary street address (apartment, suite, etc.).
3641
+ */
3642
+ street_line_2?: string;
3643
+ }
3644
+ }
3645
+ interface NonUsBeneficiaryData {
3646
+ /**
3647
+ * ISO 3166-1 alpha-2 country code of citizenship.
3648
+ */
3649
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3650
+ /**
3651
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3652
+ */
3653
+ date_of_birth: string;
3654
+ /**
3655
+ * Government-issued identification with type: "id" (generic government-issued ID).
3656
+ */
3657
+ identification: NonUsBeneficiaryData.Identification;
3658
+ /**
3659
+ * Full legal name of the account holder.
3660
+ */
3661
+ legal_name: string;
3662
+ /**
3663
+ * Residential address of the account holder.
3664
+ */
3665
+ residential_address: NonUsBeneficiaryData.UsResidentialAddress | NonUsBeneficiaryData.NonUsResidentialAddress;
3666
+ }
3667
+ namespace NonUsBeneficiaryData {
3668
+ /**
3669
+ * Government-issued identification with type: "id" (generic government-issued ID).
3670
+ */
3671
+ interface Identification {
3672
+ type: 'id';
3673
+ value: string;
3674
+ }
3675
+ interface UsResidentialAddress {
3676
+ /**
3677
+ * City name.
3678
+ */
3679
+ city: string;
3680
+ /**
3681
+ * ISO 3166-1 alpha-2 country code.
3682
+ */
3683
+ country: 'US';
3684
+ /**
3685
+ * Postal or ZIP code.
3686
+ */
3687
+ postal_code: string;
3688
+ /**
3689
+ * Two-letter state code.
3690
+ */
3691
+ state: string;
3692
+ /**
3693
+ * Primary street address.
3694
+ */
3695
+ street_line_1: string;
3696
+ /**
3697
+ * Secondary street address (apartment, suite, etc.).
3698
+ */
3699
+ street_line_2?: string;
3700
+ }
3701
+ interface NonUsResidentialAddress {
3702
+ /**
3703
+ * City name.
3704
+ */
3705
+ city: string;
3706
+ /**
3707
+ * ISO 3166-1 alpha-2 country code.
3708
+ */
3709
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3710
+ /**
3711
+ * Postal or ZIP code.
3712
+ */
3713
+ postal_code: string;
3714
+ /**
3715
+ * Primary street address.
3716
+ */
3717
+ street_line_1: string;
3718
+ /**
3719
+ * Secondary street address (apartment, suite, etc.).
3720
+ */
3721
+ street_line_2?: string;
3722
+ }
3723
+ }
3724
+ interface UnionMember0 {
3725
+ /**
3726
+ * ISO 3166-1 alpha-2 country code of citizenship.
3727
+ */
3728
+ country_of_citizenship: 'US';
3729
+ /**
3730
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3731
+ */
3732
+ date_of_birth: string;
3733
+ /**
3734
+ * Government-issued identification with type: "ssn" (Social Security Number,
3735
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
3736
+ */
3737
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
3738
+ /**
3739
+ * Full legal name of the account holder.
3740
+ */
3741
+ legal_name: string;
3742
+ /**
3743
+ * Residential address of the account holder.
3744
+ */
3745
+ residential_address: UnionMember0.UsResidentialAddress | UnionMember0.NonUsResidentialAddress;
3746
+ /**
3747
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
3748
+ * Director").
3749
+ */
3750
+ title: string;
3751
+ }
3752
+ namespace UnionMember0 {
3753
+ interface SsnIdentification {
3754
+ type: 'ssn';
3755
+ value: string;
3756
+ }
3757
+ interface ItinIdentification {
3758
+ type: 'itin';
3759
+ value: string;
3760
+ }
3761
+ interface UsResidentialAddress {
3762
+ /**
3763
+ * City name.
3764
+ */
3765
+ city: string;
3766
+ /**
3767
+ * ISO 3166-1 alpha-2 country code.
3768
+ */
3769
+ country: 'US';
3770
+ /**
3771
+ * Postal or ZIP code.
3772
+ */
3773
+ postal_code: string;
3774
+ /**
3775
+ * Two-letter state code.
3776
+ */
3777
+ state: string;
3778
+ /**
3779
+ * Primary street address.
3780
+ */
3781
+ street_line_1: string;
3782
+ /**
3783
+ * Secondary street address (apartment, suite, etc.).
3784
+ */
3785
+ street_line_2?: string;
3786
+ }
3787
+ interface NonUsResidentialAddress {
3788
+ /**
3789
+ * City name.
3790
+ */
3791
+ city: string;
3792
+ /**
3793
+ * ISO 3166-1 alpha-2 country code.
3794
+ */
3795
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3796
+ /**
3797
+ * Postal or ZIP code.
3798
+ */
3799
+ postal_code: string;
3800
+ /**
3801
+ * Primary street address.
3802
+ */
3803
+ street_line_1: string;
3804
+ /**
3805
+ * Secondary street address (apartment, suite, etc.).
3806
+ */
3807
+ street_line_2?: string;
3808
+ }
3809
+ }
3810
+ interface UnionMember1 {
3811
+ /**
3812
+ * ISO 3166-1 alpha-2 country code of citizenship.
3813
+ */
3814
+ country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3815
+ /**
3816
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
3817
+ */
3818
+ date_of_birth: string;
3819
+ /**
3820
+ * Government-issued identification with type: "id" (generic government-issued ID).
3821
+ */
3822
+ identification: UnionMember1.Identification;
3823
+ /**
3824
+ * Full legal name of the account holder.
3825
+ */
3826
+ legal_name: string;
3827
+ /**
3828
+ * Residential address of the account holder.
3829
+ */
3830
+ residential_address: UnionMember1.UsResidentialAddress | UnionMember1.NonUsResidentialAddress;
3831
+ /**
3832
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
3833
+ * Director").
3834
+ */
3835
+ title: string;
3836
+ }
3837
+ namespace UnionMember1 {
3838
+ /**
3839
+ * Government-issued identification with type: "id" (generic government-issued ID).
3840
+ */
3841
+ interface Identification {
3842
+ type: 'id';
3843
+ value: string;
3844
+ }
3845
+ interface UsResidentialAddress {
3846
+ /**
3847
+ * City name.
3848
+ */
3849
+ city: string;
3850
+ /**
3851
+ * ISO 3166-1 alpha-2 country code.
3852
+ */
3853
+ country: 'US';
3854
+ /**
3855
+ * Postal or ZIP code.
3856
+ */
3857
+ postal_code: string;
3858
+ /**
3859
+ * Two-letter state code.
3860
+ */
3861
+ state: string;
3862
+ /**
3863
+ * Primary street address.
3864
+ */
3865
+ street_line_1: string;
3866
+ /**
3867
+ * Secondary street address (apartment, suite, etc.).
3868
+ */
3869
+ street_line_2?: string;
3870
+ }
3871
+ interface NonUsResidentialAddress {
3872
+ /**
3873
+ * City name.
3874
+ */
3875
+ city: string;
3876
+ /**
3877
+ * ISO 3166-1 alpha-2 country code.
3878
+ */
3879
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3880
+ /**
3881
+ * Postal or ZIP code.
3882
+ */
3883
+ postal_code: string;
3884
+ /**
3885
+ * Primary street address.
3886
+ */
3887
+ street_line_1: string;
3888
+ /**
3889
+ * Secondary street address (apartment, suite, etc.).
3890
+ */
3891
+ street_line_2?: string;
3892
+ }
3893
+ }
3894
+ interface UsResidentialAddress {
3895
+ /**
3896
+ * City name.
3897
+ */
3898
+ city: string;
3899
+ /**
3900
+ * ISO 3166-1 alpha-2 country code.
3901
+ */
3902
+ country: 'US';
3903
+ /**
3904
+ * Postal or ZIP code.
3905
+ */
3906
+ postal_code: string;
3907
+ /**
3908
+ * Two-letter state code.
3909
+ */
3910
+ state: string;
3911
+ /**
3912
+ * Primary street address.
3913
+ */
3914
+ street_line_1: string;
3915
+ /**
3916
+ * Secondary street address (apartment, suite, etc.).
3917
+ */
3918
+ street_line_2?: string;
3919
+ }
3920
+ interface NonUsResidentialAddress {
3921
+ /**
3922
+ * City name.
3923
+ */
3924
+ city: string;
3925
+ /**
3926
+ * ISO 3166-1 alpha-2 country code.
3927
+ */
3928
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3929
+ /**
3930
+ * Postal or ZIP code.
3931
+ */
3932
+ postal_code: string;
3933
+ /**
3934
+ * Primary street address.
3935
+ */
3936
+ street_line_1: string;
3937
+ /**
3938
+ * Secondary street address (apartment, suite, etc.).
3939
+ */
3940
+ street_line_2?: string;
3941
+ }
3942
+ interface UsResidentialAddress {
3943
+ /**
3944
+ * City name.
3945
+ */
3946
+ city: string;
3947
+ /**
3948
+ * ISO 3166-1 alpha-2 country code.
3949
+ */
3950
+ country: 'US';
3951
+ /**
3952
+ * Postal or ZIP code.
3953
+ */
3954
+ postal_code: string;
3955
+ /**
3956
+ * Two-letter state code.
3957
+ */
3958
+ state: string;
3959
+ /**
3960
+ * Primary street address.
3961
+ */
3962
+ street_line_1: string;
3963
+ /**
3964
+ * Secondary street address (apartment, suite, etc.).
3965
+ */
3966
+ street_line_2?: string;
3967
+ }
3968
+ interface NonUsResidentialAddress {
3969
+ /**
3970
+ * City name.
3971
+ */
3972
+ city: string;
3973
+ /**
3974
+ * ISO 3166-1 alpha-2 country code.
3975
+ */
3976
+ country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
3977
+ /**
3978
+ * Postal or ZIP code.
3979
+ */
3980
+ postal_code: string;
3981
+ /**
3982
+ * Primary street address.
3983
+ */
3984
+ street_line_1: string;
3985
+ /**
3986
+ * Secondary street address (apartment, suite, etc.).
3987
+ */
3988
+ street_line_2?: string;
3989
+ }
3990
+ interface EinIdentification {
3991
+ type: 'ein';
3992
+ value: string;
3993
+ }
3994
+ interface SsnIdentification {
3995
+ type: 'ssn';
3996
+ value: string;
3997
+ }
3998
+ }
743
3999
  }
744
4000
  export interface AccountHolderListParams extends CursorPageParams {
745
4001
  }
746
4002
  export declare namespace AccountHolders {
747
- export { type AccountHolderCreateResponse as AccountHolderCreateResponse, type AccountHolderRetrieveResponse as AccountHolderRetrieveResponse, type AccountHolderListResponse as AccountHolderListResponse, type AccountHolderListResponsesCursorPage as AccountHolderListResponsesCursorPage, type AccountHolderCreateParams as AccountHolderCreateParams, type AccountHolderListParams as AccountHolderListParams, };
4003
+ export { type AccountHolderCreateResponse as AccountHolderCreateResponse, type AccountHolderRetrieveResponse as AccountHolderRetrieveResponse, type AccountHolderUpdateResponse as AccountHolderUpdateResponse, type AccountHolderListResponse as AccountHolderListResponse, type AccountHolderListResponsesCursorPage as AccountHolderListResponsesCursorPage, type AccountHolderCreateParams as AccountHolderCreateParams, type AccountHolderUpdateParams as AccountHolderUpdateParams, type AccountHolderListParams as AccountHolderListParams, };
748
4004
  }
749
4005
  //# sourceMappingURL=account-holders.d.mts.map