@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
@@ -1450,6 +1450,1396 @@ export declare namespace ConversionFailedWebhookEvent {
1450
1450
  }
1451
1451
  }
1452
1452
  }
1453
+ export interface AccountHolderActiveWebhookEvent {
1454
+ /**
1455
+ * Unique identifier for the event. Stable across retries.
1456
+ */
1457
+ id: string;
1458
+ /**
1459
+ * API version the payload was rendered at. Stable across retries and redeliveries.
1460
+ */
1461
+ api_version: string;
1462
+ /**
1463
+ * ISO 8601 UTC timestamp when the event was created.
1464
+ */
1465
+ date: string;
1466
+ /**
1467
+ * Full resource snapshot at the time of the event.
1468
+ */
1469
+ payload: AccountHolderActiveWebhookEvent.Payload;
1470
+ /**
1471
+ * Event type in resource.action format.
1472
+ */
1473
+ type: 'account_holder.active';
1474
+ }
1475
+ export declare namespace AccountHolderActiveWebhookEvent {
1476
+ /**
1477
+ * Full resource snapshot at the time of the event.
1478
+ */
1479
+ interface Payload {
1480
+ /**
1481
+ * Unique identifier of the account holder.
1482
+ */
1483
+ id: string;
1484
+ /**
1485
+ * Beneficiary details used to create this account holder.
1486
+ */
1487
+ beneficiary_data: Payload.UsBeneficiaryDataResponse | Payload.NonUsBeneficiaryDataResponse | Payload.BusinessBeneficiaryDataResponse;
1488
+ /**
1489
+ * ISO 8601 UTC timestamp when the account holder was created.
1490
+ */
1491
+ created_at: string;
1492
+ /**
1493
+ * Type of the account holder.
1494
+ */
1495
+ holder_type: 'natural_person' | 'business';
1496
+ /**
1497
+ * Current account holder status.
1498
+ */
1499
+ status: 'pending' | 'active' | 'closed';
1500
+ /**
1501
+ * Resource type discriminator.
1502
+ */
1503
+ type: 'account_holder';
1504
+ }
1505
+ namespace Payload {
1506
+ interface UsBeneficiaryDataResponse {
1507
+ /**
1508
+ * ISO 3166-1 alpha-2 country code of citizenship.
1509
+ */
1510
+ country_of_citizenship: 'US';
1511
+ /**
1512
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1513
+ */
1514
+ date_of_birth: string;
1515
+ /**
1516
+ * Government-issued identification with type: "ssn" (Social Security Number,
1517
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1518
+ */
1519
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
1520
+ /**
1521
+ * Full legal name of the account holder.
1522
+ */
1523
+ legal_name: string;
1524
+ /**
1525
+ * Residential address of the account holder.
1526
+ */
1527
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1528
+ }
1529
+ namespace UsBeneficiaryDataResponse {
1530
+ interface SsnIdentification {
1531
+ type: 'ssn';
1532
+ value: string;
1533
+ }
1534
+ interface ItinIdentification {
1535
+ type: 'itin';
1536
+ value: string;
1537
+ }
1538
+ interface UsResidentialAddressResponse {
1539
+ /**
1540
+ * City name.
1541
+ */
1542
+ city: string;
1543
+ /**
1544
+ * ISO 3166-1 alpha-2 country code.
1545
+ */
1546
+ country: 'US';
1547
+ /**
1548
+ * Postal or ZIP code.
1549
+ */
1550
+ postal_code: string;
1551
+ /**
1552
+ * Two-letter state code.
1553
+ */
1554
+ state: string;
1555
+ /**
1556
+ * Primary street address.
1557
+ */
1558
+ street_line_1: string;
1559
+ /**
1560
+ * Secondary street address (apartment, suite, etc.).
1561
+ */
1562
+ street_line_2: string | null;
1563
+ }
1564
+ interface NonUsResidentialAddressResponse {
1565
+ /**
1566
+ * City name.
1567
+ */
1568
+ city: string;
1569
+ /**
1570
+ * ISO 3166-1 alpha-2 country code.
1571
+ */
1572
+ 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';
1573
+ /**
1574
+ * Postal or ZIP code.
1575
+ */
1576
+ postal_code: string;
1577
+ /**
1578
+ * Primary street address.
1579
+ */
1580
+ street_line_1: string;
1581
+ /**
1582
+ * Secondary street address (apartment, suite, etc.).
1583
+ */
1584
+ street_line_2: string | null;
1585
+ }
1586
+ }
1587
+ interface NonUsBeneficiaryDataResponse {
1588
+ /**
1589
+ * ISO 3166-1 alpha-2 country code of citizenship.
1590
+ */
1591
+ 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';
1592
+ /**
1593
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1594
+ */
1595
+ date_of_birth: string;
1596
+ /**
1597
+ * Government-issued identification with type: "id" (generic government-issued ID).
1598
+ */
1599
+ identification: NonUsBeneficiaryDataResponse.Identification;
1600
+ /**
1601
+ * Full legal name of the account holder.
1602
+ */
1603
+ legal_name: string;
1604
+ /**
1605
+ * Residential address of the account holder.
1606
+ */
1607
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1608
+ }
1609
+ namespace NonUsBeneficiaryDataResponse {
1610
+ /**
1611
+ * Government-issued identification with type: "id" (generic government-issued ID).
1612
+ */
1613
+ interface Identification {
1614
+ type: 'id';
1615
+ value: string;
1616
+ }
1617
+ interface UsResidentialAddressResponse {
1618
+ /**
1619
+ * City name.
1620
+ */
1621
+ city: string;
1622
+ /**
1623
+ * ISO 3166-1 alpha-2 country code.
1624
+ */
1625
+ country: 'US';
1626
+ /**
1627
+ * Postal or ZIP code.
1628
+ */
1629
+ postal_code: string;
1630
+ /**
1631
+ * Two-letter state code.
1632
+ */
1633
+ state: string;
1634
+ /**
1635
+ * Primary street address.
1636
+ */
1637
+ street_line_1: string;
1638
+ /**
1639
+ * Secondary street address (apartment, suite, etc.).
1640
+ */
1641
+ street_line_2: string | null;
1642
+ }
1643
+ interface NonUsResidentialAddressResponse {
1644
+ /**
1645
+ * City name.
1646
+ */
1647
+ city: string;
1648
+ /**
1649
+ * ISO 3166-1 alpha-2 country code.
1650
+ */
1651
+ 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';
1652
+ /**
1653
+ * Postal or ZIP code.
1654
+ */
1655
+ postal_code: string;
1656
+ /**
1657
+ * Primary street address.
1658
+ */
1659
+ street_line_1: string;
1660
+ /**
1661
+ * Secondary street address (apartment, suite, etc.).
1662
+ */
1663
+ street_line_2: string | null;
1664
+ }
1665
+ }
1666
+ interface BusinessBeneficiaryDataResponse {
1667
+ /**
1668
+ * Beneficial owners of the business. At least one required.
1669
+ */
1670
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
1671
+ /**
1672
+ * Individual with primary responsibility for controlling, managing, or directing
1673
+ * the business.
1674
+ */
1675
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
1676
+ /**
1677
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
1678
+ */
1679
+ 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';
1680
+ /**
1681
+ * Trade name the business operates under, if different from the legal name.
1682
+ */
1683
+ doing_business_as: string | null;
1684
+ /**
1685
+ * Full legal name of the business.
1686
+ */
1687
+ legal_business_name: string;
1688
+ /**
1689
+ * Physical operating address of the business.
1690
+ */
1691
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1692
+ /**
1693
+ * Registered legal address of the business.
1694
+ */
1695
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1696
+ /**
1697
+ * Business registration number: type "ein" (Employer Identification Number, format
1698
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1699
+ */
1700
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
1701
+ /**
1702
+ * State or subdivision where the business is incorporated.
1703
+ */
1704
+ state_of_incorporation: string;
1705
+ /**
1706
+ * Four-digit year the business was incorporated.
1707
+ */
1708
+ year_of_incorporation: number;
1709
+ }
1710
+ namespace BusinessBeneficiaryDataResponse {
1711
+ interface UsBeneficiaryDataResponse {
1712
+ /**
1713
+ * ISO 3166-1 alpha-2 country code of citizenship.
1714
+ */
1715
+ country_of_citizenship: 'US';
1716
+ /**
1717
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1718
+ */
1719
+ date_of_birth: string;
1720
+ /**
1721
+ * Government-issued identification with type: "ssn" (Social Security Number,
1722
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1723
+ */
1724
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
1725
+ /**
1726
+ * Full legal name of the account holder.
1727
+ */
1728
+ legal_name: string;
1729
+ /**
1730
+ * Residential address of the account holder.
1731
+ */
1732
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1733
+ }
1734
+ namespace UsBeneficiaryDataResponse {
1735
+ interface SsnIdentification {
1736
+ type: 'ssn';
1737
+ value: string;
1738
+ }
1739
+ interface ItinIdentification {
1740
+ type: 'itin';
1741
+ value: string;
1742
+ }
1743
+ interface UsResidentialAddressResponse {
1744
+ /**
1745
+ * City name.
1746
+ */
1747
+ city: string;
1748
+ /**
1749
+ * ISO 3166-1 alpha-2 country code.
1750
+ */
1751
+ country: 'US';
1752
+ /**
1753
+ * Postal or ZIP code.
1754
+ */
1755
+ postal_code: string;
1756
+ /**
1757
+ * Two-letter state code.
1758
+ */
1759
+ state: string;
1760
+ /**
1761
+ * Primary street address.
1762
+ */
1763
+ street_line_1: string;
1764
+ /**
1765
+ * Secondary street address (apartment, suite, etc.).
1766
+ */
1767
+ street_line_2: string | null;
1768
+ }
1769
+ interface NonUsResidentialAddressResponse {
1770
+ /**
1771
+ * City name.
1772
+ */
1773
+ city: string;
1774
+ /**
1775
+ * ISO 3166-1 alpha-2 country code.
1776
+ */
1777
+ 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';
1778
+ /**
1779
+ * Postal or ZIP code.
1780
+ */
1781
+ postal_code: string;
1782
+ /**
1783
+ * Primary street address.
1784
+ */
1785
+ street_line_1: string;
1786
+ /**
1787
+ * Secondary street address (apartment, suite, etc.).
1788
+ */
1789
+ street_line_2: string | null;
1790
+ }
1791
+ }
1792
+ interface NonUsBeneficiaryDataResponse {
1793
+ /**
1794
+ * ISO 3166-1 alpha-2 country code of citizenship.
1795
+ */
1796
+ 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';
1797
+ /**
1798
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1799
+ */
1800
+ date_of_birth: string;
1801
+ /**
1802
+ * Government-issued identification with type: "id" (generic government-issued ID).
1803
+ */
1804
+ identification: NonUsBeneficiaryDataResponse.Identification;
1805
+ /**
1806
+ * Full legal name of the account holder.
1807
+ */
1808
+ legal_name: string;
1809
+ /**
1810
+ * Residential address of the account holder.
1811
+ */
1812
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
1813
+ }
1814
+ namespace NonUsBeneficiaryDataResponse {
1815
+ /**
1816
+ * Government-issued identification with type: "id" (generic government-issued ID).
1817
+ */
1818
+ interface Identification {
1819
+ type: 'id';
1820
+ value: string;
1821
+ }
1822
+ interface UsResidentialAddressResponse {
1823
+ /**
1824
+ * City name.
1825
+ */
1826
+ city: string;
1827
+ /**
1828
+ * ISO 3166-1 alpha-2 country code.
1829
+ */
1830
+ country: 'US';
1831
+ /**
1832
+ * Postal or ZIP code.
1833
+ */
1834
+ postal_code: string;
1835
+ /**
1836
+ * Two-letter state code.
1837
+ */
1838
+ state: string;
1839
+ /**
1840
+ * Primary street address.
1841
+ */
1842
+ street_line_1: string;
1843
+ /**
1844
+ * Secondary street address (apartment, suite, etc.).
1845
+ */
1846
+ street_line_2: string | null;
1847
+ }
1848
+ interface NonUsResidentialAddressResponse {
1849
+ /**
1850
+ * City name.
1851
+ */
1852
+ city: string;
1853
+ /**
1854
+ * ISO 3166-1 alpha-2 country code.
1855
+ */
1856
+ 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';
1857
+ /**
1858
+ * Postal or ZIP code.
1859
+ */
1860
+ postal_code: string;
1861
+ /**
1862
+ * Primary street address.
1863
+ */
1864
+ street_line_1: string;
1865
+ /**
1866
+ * Secondary street address (apartment, suite, etc.).
1867
+ */
1868
+ street_line_2: string | null;
1869
+ }
1870
+ }
1871
+ interface UnionMember0 {
1872
+ /**
1873
+ * ISO 3166-1 alpha-2 country code of citizenship.
1874
+ */
1875
+ country_of_citizenship: 'US';
1876
+ /**
1877
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1878
+ */
1879
+ date_of_birth: string;
1880
+ /**
1881
+ * Government-issued identification with type: "ssn" (Social Security Number,
1882
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
1883
+ */
1884
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
1885
+ /**
1886
+ * Full legal name of the account holder.
1887
+ */
1888
+ legal_name: string;
1889
+ /**
1890
+ * Residential address of the account holder.
1891
+ */
1892
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
1893
+ /**
1894
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1895
+ * Director").
1896
+ */
1897
+ title: string;
1898
+ }
1899
+ namespace UnionMember0 {
1900
+ interface SsnIdentification {
1901
+ type: 'ssn';
1902
+ value: string;
1903
+ }
1904
+ interface ItinIdentification {
1905
+ type: 'itin';
1906
+ value: string;
1907
+ }
1908
+ interface UsResidentialAddressResponse {
1909
+ /**
1910
+ * City name.
1911
+ */
1912
+ city: string;
1913
+ /**
1914
+ * ISO 3166-1 alpha-2 country code.
1915
+ */
1916
+ country: 'US';
1917
+ /**
1918
+ * Postal or ZIP code.
1919
+ */
1920
+ postal_code: string;
1921
+ /**
1922
+ * Two-letter state code.
1923
+ */
1924
+ state: string;
1925
+ /**
1926
+ * Primary street address.
1927
+ */
1928
+ street_line_1: string;
1929
+ /**
1930
+ * Secondary street address (apartment, suite, etc.).
1931
+ */
1932
+ street_line_2: string | null;
1933
+ }
1934
+ interface NonUsResidentialAddressResponse {
1935
+ /**
1936
+ * City name.
1937
+ */
1938
+ city: string;
1939
+ /**
1940
+ * ISO 3166-1 alpha-2 country code.
1941
+ */
1942
+ 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';
1943
+ /**
1944
+ * Postal or ZIP code.
1945
+ */
1946
+ postal_code: string;
1947
+ /**
1948
+ * Primary street address.
1949
+ */
1950
+ street_line_1: string;
1951
+ /**
1952
+ * Secondary street address (apartment, suite, etc.).
1953
+ */
1954
+ street_line_2: string | null;
1955
+ }
1956
+ }
1957
+ interface UnionMember1 {
1958
+ /**
1959
+ * ISO 3166-1 alpha-2 country code of citizenship.
1960
+ */
1961
+ 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';
1962
+ /**
1963
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
1964
+ */
1965
+ date_of_birth: string;
1966
+ /**
1967
+ * Government-issued identification with type: "id" (generic government-issued ID).
1968
+ */
1969
+ identification: UnionMember1.Identification;
1970
+ /**
1971
+ * Full legal name of the account holder.
1972
+ */
1973
+ legal_name: string;
1974
+ /**
1975
+ * Residential address of the account holder.
1976
+ */
1977
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
1978
+ /**
1979
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
1980
+ * Director").
1981
+ */
1982
+ title: string;
1983
+ }
1984
+ namespace UnionMember1 {
1985
+ /**
1986
+ * Government-issued identification with type: "id" (generic government-issued ID).
1987
+ */
1988
+ interface Identification {
1989
+ type: 'id';
1990
+ value: string;
1991
+ }
1992
+ interface UsResidentialAddressResponse {
1993
+ /**
1994
+ * City name.
1995
+ */
1996
+ city: string;
1997
+ /**
1998
+ * ISO 3166-1 alpha-2 country code.
1999
+ */
2000
+ country: 'US';
2001
+ /**
2002
+ * Postal or ZIP code.
2003
+ */
2004
+ postal_code: string;
2005
+ /**
2006
+ * Two-letter state code.
2007
+ */
2008
+ state: 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 NonUsResidentialAddressResponse {
2019
+ /**
2020
+ * City name.
2021
+ */
2022
+ city: string;
2023
+ /**
2024
+ * ISO 3166-1 alpha-2 country code.
2025
+ */
2026
+ 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';
2027
+ /**
2028
+ * Postal or ZIP code.
2029
+ */
2030
+ postal_code: string;
2031
+ /**
2032
+ * Primary street address.
2033
+ */
2034
+ street_line_1: string;
2035
+ /**
2036
+ * Secondary street address (apartment, suite, etc.).
2037
+ */
2038
+ street_line_2: string | null;
2039
+ }
2040
+ }
2041
+ interface UsResidentialAddressResponse {
2042
+ /**
2043
+ * City name.
2044
+ */
2045
+ city: string;
2046
+ /**
2047
+ * ISO 3166-1 alpha-2 country code.
2048
+ */
2049
+ country: 'US';
2050
+ /**
2051
+ * Postal or ZIP code.
2052
+ */
2053
+ postal_code: string;
2054
+ /**
2055
+ * Two-letter state code.
2056
+ */
2057
+ state: string;
2058
+ /**
2059
+ * Primary street address.
2060
+ */
2061
+ street_line_1: string;
2062
+ /**
2063
+ * Secondary street address (apartment, suite, etc.).
2064
+ */
2065
+ street_line_2: string | null;
2066
+ }
2067
+ interface NonUsResidentialAddressResponse {
2068
+ /**
2069
+ * City name.
2070
+ */
2071
+ city: string;
2072
+ /**
2073
+ * ISO 3166-1 alpha-2 country code.
2074
+ */
2075
+ 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';
2076
+ /**
2077
+ * Postal or ZIP code.
2078
+ */
2079
+ postal_code: string;
2080
+ /**
2081
+ * Primary street address.
2082
+ */
2083
+ street_line_1: string;
2084
+ /**
2085
+ * Secondary street address (apartment, suite, etc.).
2086
+ */
2087
+ street_line_2: string | null;
2088
+ }
2089
+ interface UsResidentialAddressResponse {
2090
+ /**
2091
+ * City name.
2092
+ */
2093
+ city: string;
2094
+ /**
2095
+ * ISO 3166-1 alpha-2 country code.
2096
+ */
2097
+ country: 'US';
2098
+ /**
2099
+ * Postal or ZIP code.
2100
+ */
2101
+ postal_code: string;
2102
+ /**
2103
+ * Two-letter state code.
2104
+ */
2105
+ state: string;
2106
+ /**
2107
+ * Primary street address.
2108
+ */
2109
+ street_line_1: string;
2110
+ /**
2111
+ * Secondary street address (apartment, suite, etc.).
2112
+ */
2113
+ street_line_2: string | null;
2114
+ }
2115
+ interface NonUsResidentialAddressResponse {
2116
+ /**
2117
+ * City name.
2118
+ */
2119
+ city: string;
2120
+ /**
2121
+ * ISO 3166-1 alpha-2 country code.
2122
+ */
2123
+ 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';
2124
+ /**
2125
+ * Postal or ZIP code.
2126
+ */
2127
+ postal_code: string;
2128
+ /**
2129
+ * Primary street address.
2130
+ */
2131
+ street_line_1: string;
2132
+ /**
2133
+ * Secondary street address (apartment, suite, etc.).
2134
+ */
2135
+ street_line_2: string | null;
2136
+ }
2137
+ interface EinIdentification {
2138
+ type: 'ein';
2139
+ value: string;
2140
+ }
2141
+ interface SsnIdentification {
2142
+ type: 'ssn';
2143
+ value: string;
2144
+ }
2145
+ }
2146
+ }
2147
+ }
2148
+ export interface AccountHolderClosedWebhookEvent {
2149
+ /**
2150
+ * Unique identifier for the event. Stable across retries.
2151
+ */
2152
+ id: string;
2153
+ /**
2154
+ * API version the payload was rendered at. Stable across retries and redeliveries.
2155
+ */
2156
+ api_version: string;
2157
+ /**
2158
+ * ISO 8601 UTC timestamp when the event was created.
2159
+ */
2160
+ date: string;
2161
+ /**
2162
+ * Full resource snapshot at the time of the event.
2163
+ */
2164
+ payload: AccountHolderClosedWebhookEvent.Payload;
2165
+ /**
2166
+ * Event type in resource.action format.
2167
+ */
2168
+ type: 'account_holder.closed';
2169
+ }
2170
+ export declare namespace AccountHolderClosedWebhookEvent {
2171
+ /**
2172
+ * Full resource snapshot at the time of the event.
2173
+ */
2174
+ interface Payload {
2175
+ /**
2176
+ * Unique identifier of the account holder.
2177
+ */
2178
+ id: string;
2179
+ /**
2180
+ * Beneficiary details used to create this account holder.
2181
+ */
2182
+ beneficiary_data: Payload.UsBeneficiaryDataResponse | Payload.NonUsBeneficiaryDataResponse | Payload.BusinessBeneficiaryDataResponse;
2183
+ /**
2184
+ * ISO 8601 UTC timestamp when the account holder was created.
2185
+ */
2186
+ created_at: string;
2187
+ /**
2188
+ * Type of the account holder.
2189
+ */
2190
+ holder_type: 'natural_person' | 'business';
2191
+ /**
2192
+ * Current account holder status.
2193
+ */
2194
+ status: 'pending' | 'active' | 'closed';
2195
+ /**
2196
+ * Resource type discriminator.
2197
+ */
2198
+ type: 'account_holder';
2199
+ }
2200
+ namespace Payload {
2201
+ interface UsBeneficiaryDataResponse {
2202
+ /**
2203
+ * ISO 3166-1 alpha-2 country code of citizenship.
2204
+ */
2205
+ country_of_citizenship: 'US';
2206
+ /**
2207
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2208
+ */
2209
+ date_of_birth: string;
2210
+ /**
2211
+ * Government-issued identification with type: "ssn" (Social Security Number,
2212
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2213
+ */
2214
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
2215
+ /**
2216
+ * Full legal name of the account holder.
2217
+ */
2218
+ legal_name: string;
2219
+ /**
2220
+ * Residential address of the account holder.
2221
+ */
2222
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2223
+ }
2224
+ namespace UsBeneficiaryDataResponse {
2225
+ interface SsnIdentification {
2226
+ type: 'ssn';
2227
+ value: string;
2228
+ }
2229
+ interface ItinIdentification {
2230
+ type: 'itin';
2231
+ value: string;
2232
+ }
2233
+ interface UsResidentialAddressResponse {
2234
+ /**
2235
+ * City name.
2236
+ */
2237
+ city: string;
2238
+ /**
2239
+ * ISO 3166-1 alpha-2 country code.
2240
+ */
2241
+ country: 'US';
2242
+ /**
2243
+ * Postal or ZIP code.
2244
+ */
2245
+ postal_code: string;
2246
+ /**
2247
+ * Two-letter state code.
2248
+ */
2249
+ state: string;
2250
+ /**
2251
+ * Primary street address.
2252
+ */
2253
+ street_line_1: string;
2254
+ /**
2255
+ * Secondary street address (apartment, suite, etc.).
2256
+ */
2257
+ street_line_2: string | null;
2258
+ }
2259
+ interface NonUsResidentialAddressResponse {
2260
+ /**
2261
+ * City name.
2262
+ */
2263
+ city: string;
2264
+ /**
2265
+ * ISO 3166-1 alpha-2 country code.
2266
+ */
2267
+ 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';
2268
+ /**
2269
+ * Postal or ZIP code.
2270
+ */
2271
+ postal_code: string;
2272
+ /**
2273
+ * Primary street address.
2274
+ */
2275
+ street_line_1: string;
2276
+ /**
2277
+ * Secondary street address (apartment, suite, etc.).
2278
+ */
2279
+ street_line_2: string | null;
2280
+ }
2281
+ }
2282
+ interface NonUsBeneficiaryDataResponse {
2283
+ /**
2284
+ * ISO 3166-1 alpha-2 country code of citizenship.
2285
+ */
2286
+ 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';
2287
+ /**
2288
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2289
+ */
2290
+ date_of_birth: string;
2291
+ /**
2292
+ * Government-issued identification with type: "id" (generic government-issued ID).
2293
+ */
2294
+ identification: NonUsBeneficiaryDataResponse.Identification;
2295
+ /**
2296
+ * Full legal name of the account holder.
2297
+ */
2298
+ legal_name: string;
2299
+ /**
2300
+ * Residential address of the account holder.
2301
+ */
2302
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2303
+ }
2304
+ namespace NonUsBeneficiaryDataResponse {
2305
+ /**
2306
+ * Government-issued identification with type: "id" (generic government-issued ID).
2307
+ */
2308
+ interface Identification {
2309
+ type: 'id';
2310
+ value: string;
2311
+ }
2312
+ interface UsResidentialAddressResponse {
2313
+ /**
2314
+ * City name.
2315
+ */
2316
+ city: string;
2317
+ /**
2318
+ * ISO 3166-1 alpha-2 country code.
2319
+ */
2320
+ country: 'US';
2321
+ /**
2322
+ * Postal or ZIP code.
2323
+ */
2324
+ postal_code: string;
2325
+ /**
2326
+ * Two-letter state code.
2327
+ */
2328
+ state: string;
2329
+ /**
2330
+ * Primary street address.
2331
+ */
2332
+ street_line_1: string;
2333
+ /**
2334
+ * Secondary street address (apartment, suite, etc.).
2335
+ */
2336
+ street_line_2: string | null;
2337
+ }
2338
+ interface NonUsResidentialAddressResponse {
2339
+ /**
2340
+ * City name.
2341
+ */
2342
+ city: string;
2343
+ /**
2344
+ * ISO 3166-1 alpha-2 country code.
2345
+ */
2346
+ 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';
2347
+ /**
2348
+ * Postal or ZIP code.
2349
+ */
2350
+ postal_code: string;
2351
+ /**
2352
+ * Primary street address.
2353
+ */
2354
+ street_line_1: string;
2355
+ /**
2356
+ * Secondary street address (apartment, suite, etc.).
2357
+ */
2358
+ street_line_2: string | null;
2359
+ }
2360
+ }
2361
+ interface BusinessBeneficiaryDataResponse {
2362
+ /**
2363
+ * Beneficial owners of the business. At least one required.
2364
+ */
2365
+ beneficial_owners: Array<BusinessBeneficiaryDataResponse.UsBeneficiaryDataResponse | BusinessBeneficiaryDataResponse.NonUsBeneficiaryDataResponse>;
2366
+ /**
2367
+ * Individual with primary responsibility for controlling, managing, or directing
2368
+ * the business.
2369
+ */
2370
+ control_person: BusinessBeneficiaryDataResponse.UnionMember0 | BusinessBeneficiaryDataResponse.UnionMember1;
2371
+ /**
2372
+ * ISO 3166-1 alpha-2 country code where the business is incorporated.
2373
+ */
2374
+ 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';
2375
+ /**
2376
+ * Trade name the business operates under, if different from the legal name.
2377
+ */
2378
+ doing_business_as: string | null;
2379
+ /**
2380
+ * Full legal name of the business.
2381
+ */
2382
+ legal_business_name: string;
2383
+ /**
2384
+ * Physical operating address of the business.
2385
+ */
2386
+ physical_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2387
+ /**
2388
+ * Registered legal address of the business.
2389
+ */
2390
+ registered_address: BusinessBeneficiaryDataResponse.UsResidentialAddressResponse | BusinessBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2391
+ /**
2392
+ * Business registration number: type "ein" (Employer Identification Number, format
2393
+ * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
2394
+ */
2395
+ registration_number: BusinessBeneficiaryDataResponse.EinIdentification | BusinessBeneficiaryDataResponse.SsnIdentification;
2396
+ /**
2397
+ * State or subdivision where the business is incorporated.
2398
+ */
2399
+ state_of_incorporation: string;
2400
+ /**
2401
+ * Four-digit year the business was incorporated.
2402
+ */
2403
+ year_of_incorporation: number;
2404
+ }
2405
+ namespace BusinessBeneficiaryDataResponse {
2406
+ interface UsBeneficiaryDataResponse {
2407
+ /**
2408
+ * ISO 3166-1 alpha-2 country code of citizenship.
2409
+ */
2410
+ country_of_citizenship: 'US';
2411
+ /**
2412
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2413
+ */
2414
+ date_of_birth: string;
2415
+ /**
2416
+ * Government-issued identification with type: "ssn" (Social Security Number,
2417
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2418
+ */
2419
+ identification: UsBeneficiaryDataResponse.SsnIdentification | UsBeneficiaryDataResponse.ItinIdentification;
2420
+ /**
2421
+ * Full legal name of the account holder.
2422
+ */
2423
+ legal_name: string;
2424
+ /**
2425
+ * Residential address of the account holder.
2426
+ */
2427
+ residential_address: UsBeneficiaryDataResponse.UsResidentialAddressResponse | UsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2428
+ }
2429
+ namespace UsBeneficiaryDataResponse {
2430
+ interface SsnIdentification {
2431
+ type: 'ssn';
2432
+ value: string;
2433
+ }
2434
+ interface ItinIdentification {
2435
+ type: 'itin';
2436
+ value: string;
2437
+ }
2438
+ interface UsResidentialAddressResponse {
2439
+ /**
2440
+ * City name.
2441
+ */
2442
+ city: string;
2443
+ /**
2444
+ * ISO 3166-1 alpha-2 country code.
2445
+ */
2446
+ country: 'US';
2447
+ /**
2448
+ * Postal or ZIP code.
2449
+ */
2450
+ postal_code: string;
2451
+ /**
2452
+ * Two-letter state code.
2453
+ */
2454
+ state: string;
2455
+ /**
2456
+ * Primary street address.
2457
+ */
2458
+ street_line_1: string;
2459
+ /**
2460
+ * Secondary street address (apartment, suite, etc.).
2461
+ */
2462
+ street_line_2: string | null;
2463
+ }
2464
+ interface NonUsResidentialAddressResponse {
2465
+ /**
2466
+ * City name.
2467
+ */
2468
+ city: string;
2469
+ /**
2470
+ * ISO 3166-1 alpha-2 country code.
2471
+ */
2472
+ 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';
2473
+ /**
2474
+ * Postal or ZIP code.
2475
+ */
2476
+ postal_code: string;
2477
+ /**
2478
+ * Primary street address.
2479
+ */
2480
+ street_line_1: string;
2481
+ /**
2482
+ * Secondary street address (apartment, suite, etc.).
2483
+ */
2484
+ street_line_2: string | null;
2485
+ }
2486
+ }
2487
+ interface NonUsBeneficiaryDataResponse {
2488
+ /**
2489
+ * ISO 3166-1 alpha-2 country code of citizenship.
2490
+ */
2491
+ 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';
2492
+ /**
2493
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2494
+ */
2495
+ date_of_birth: string;
2496
+ /**
2497
+ * Government-issued identification with type: "id" (generic government-issued ID).
2498
+ */
2499
+ identification: NonUsBeneficiaryDataResponse.Identification;
2500
+ /**
2501
+ * Full legal name of the account holder.
2502
+ */
2503
+ legal_name: string;
2504
+ /**
2505
+ * Residential address of the account holder.
2506
+ */
2507
+ residential_address: NonUsBeneficiaryDataResponse.UsResidentialAddressResponse | NonUsBeneficiaryDataResponse.NonUsResidentialAddressResponse;
2508
+ }
2509
+ namespace NonUsBeneficiaryDataResponse {
2510
+ /**
2511
+ * Government-issued identification with type: "id" (generic government-issued ID).
2512
+ */
2513
+ interface Identification {
2514
+ type: 'id';
2515
+ value: string;
2516
+ }
2517
+ interface UsResidentialAddressResponse {
2518
+ /**
2519
+ * City name.
2520
+ */
2521
+ city: string;
2522
+ /**
2523
+ * ISO 3166-1 alpha-2 country code.
2524
+ */
2525
+ country: 'US';
2526
+ /**
2527
+ * Postal or ZIP code.
2528
+ */
2529
+ postal_code: string;
2530
+ /**
2531
+ * Two-letter state code.
2532
+ */
2533
+ state: string;
2534
+ /**
2535
+ * Primary street address.
2536
+ */
2537
+ street_line_1: string;
2538
+ /**
2539
+ * Secondary street address (apartment, suite, etc.).
2540
+ */
2541
+ street_line_2: string | null;
2542
+ }
2543
+ interface NonUsResidentialAddressResponse {
2544
+ /**
2545
+ * City name.
2546
+ */
2547
+ city: string;
2548
+ /**
2549
+ * ISO 3166-1 alpha-2 country code.
2550
+ */
2551
+ 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';
2552
+ /**
2553
+ * Postal or ZIP code.
2554
+ */
2555
+ postal_code: string;
2556
+ /**
2557
+ * Primary street address.
2558
+ */
2559
+ street_line_1: string;
2560
+ /**
2561
+ * Secondary street address (apartment, suite, etc.).
2562
+ */
2563
+ street_line_2: string | null;
2564
+ }
2565
+ }
2566
+ interface UnionMember0 {
2567
+ /**
2568
+ * ISO 3166-1 alpha-2 country code of citizenship.
2569
+ */
2570
+ country_of_citizenship: 'US';
2571
+ /**
2572
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2573
+ */
2574
+ date_of_birth: string;
2575
+ /**
2576
+ * Government-issued identification with type: "ssn" (Social Security Number,
2577
+ * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
2578
+ */
2579
+ identification: UnionMember0.SsnIdentification | UnionMember0.ItinIdentification;
2580
+ /**
2581
+ * Full legal name of the account holder.
2582
+ */
2583
+ legal_name: string;
2584
+ /**
2585
+ * Residential address of the account holder.
2586
+ */
2587
+ residential_address: UnionMember0.UsResidentialAddressResponse | UnionMember0.NonUsResidentialAddressResponse;
2588
+ /**
2589
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
2590
+ * Director").
2591
+ */
2592
+ title: string;
2593
+ }
2594
+ namespace UnionMember0 {
2595
+ interface SsnIdentification {
2596
+ type: 'ssn';
2597
+ value: string;
2598
+ }
2599
+ interface ItinIdentification {
2600
+ type: 'itin';
2601
+ value: string;
2602
+ }
2603
+ interface UsResidentialAddressResponse {
2604
+ /**
2605
+ * City name.
2606
+ */
2607
+ city: string;
2608
+ /**
2609
+ * ISO 3166-1 alpha-2 country code.
2610
+ */
2611
+ country: 'US';
2612
+ /**
2613
+ * Postal or ZIP code.
2614
+ */
2615
+ postal_code: string;
2616
+ /**
2617
+ * Two-letter state code.
2618
+ */
2619
+ state: string;
2620
+ /**
2621
+ * Primary street address.
2622
+ */
2623
+ street_line_1: string;
2624
+ /**
2625
+ * Secondary street address (apartment, suite, etc.).
2626
+ */
2627
+ street_line_2: string | null;
2628
+ }
2629
+ interface NonUsResidentialAddressResponse {
2630
+ /**
2631
+ * City name.
2632
+ */
2633
+ city: string;
2634
+ /**
2635
+ * ISO 3166-1 alpha-2 country code.
2636
+ */
2637
+ 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';
2638
+ /**
2639
+ * Postal or ZIP code.
2640
+ */
2641
+ postal_code: string;
2642
+ /**
2643
+ * Primary street address.
2644
+ */
2645
+ street_line_1: string;
2646
+ /**
2647
+ * Secondary street address (apartment, suite, etc.).
2648
+ */
2649
+ street_line_2: string | null;
2650
+ }
2651
+ }
2652
+ interface UnionMember1 {
2653
+ /**
2654
+ * ISO 3166-1 alpha-2 country code of citizenship.
2655
+ */
2656
+ 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';
2657
+ /**
2658
+ * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
2659
+ */
2660
+ date_of_birth: string;
2661
+ /**
2662
+ * Government-issued identification with type: "id" (generic government-issued ID).
2663
+ */
2664
+ identification: UnionMember1.Identification;
2665
+ /**
2666
+ * Full legal name of the account holder.
2667
+ */
2668
+ legal_name: string;
2669
+ /**
2670
+ * Residential address of the account holder.
2671
+ */
2672
+ residential_address: UnionMember1.UsResidentialAddressResponse | UnionMember1.NonUsResidentialAddressResponse;
2673
+ /**
2674
+ * Role of the control person at the business (e.g., "CEO", "President", "Managing
2675
+ * Director").
2676
+ */
2677
+ title: string;
2678
+ }
2679
+ namespace UnionMember1 {
2680
+ /**
2681
+ * Government-issued identification with type: "id" (generic government-issued ID).
2682
+ */
2683
+ interface Identification {
2684
+ type: 'id';
2685
+ value: string;
2686
+ }
2687
+ interface UsResidentialAddressResponse {
2688
+ /**
2689
+ * City name.
2690
+ */
2691
+ city: string;
2692
+ /**
2693
+ * ISO 3166-1 alpha-2 country code.
2694
+ */
2695
+ country: 'US';
2696
+ /**
2697
+ * Postal or ZIP code.
2698
+ */
2699
+ postal_code: string;
2700
+ /**
2701
+ * Two-letter state code.
2702
+ */
2703
+ state: string;
2704
+ /**
2705
+ * Primary street address.
2706
+ */
2707
+ street_line_1: string;
2708
+ /**
2709
+ * Secondary street address (apartment, suite, etc.).
2710
+ */
2711
+ street_line_2: string | null;
2712
+ }
2713
+ interface NonUsResidentialAddressResponse {
2714
+ /**
2715
+ * City name.
2716
+ */
2717
+ city: string;
2718
+ /**
2719
+ * ISO 3166-1 alpha-2 country code.
2720
+ */
2721
+ 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';
2722
+ /**
2723
+ * Postal or ZIP code.
2724
+ */
2725
+ postal_code: string;
2726
+ /**
2727
+ * Primary street address.
2728
+ */
2729
+ street_line_1: string;
2730
+ /**
2731
+ * Secondary street address (apartment, suite, etc.).
2732
+ */
2733
+ street_line_2: string | null;
2734
+ }
2735
+ }
2736
+ interface UsResidentialAddressResponse {
2737
+ /**
2738
+ * City name.
2739
+ */
2740
+ city: string;
2741
+ /**
2742
+ * ISO 3166-1 alpha-2 country code.
2743
+ */
2744
+ country: 'US';
2745
+ /**
2746
+ * Postal or ZIP code.
2747
+ */
2748
+ postal_code: string;
2749
+ /**
2750
+ * Two-letter state code.
2751
+ */
2752
+ state: string;
2753
+ /**
2754
+ * Primary street address.
2755
+ */
2756
+ street_line_1: string;
2757
+ /**
2758
+ * Secondary street address (apartment, suite, etc.).
2759
+ */
2760
+ street_line_2: string | null;
2761
+ }
2762
+ interface NonUsResidentialAddressResponse {
2763
+ /**
2764
+ * City name.
2765
+ */
2766
+ city: string;
2767
+ /**
2768
+ * ISO 3166-1 alpha-2 country code.
2769
+ */
2770
+ 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';
2771
+ /**
2772
+ * Postal or ZIP code.
2773
+ */
2774
+ postal_code: string;
2775
+ /**
2776
+ * Primary street address.
2777
+ */
2778
+ street_line_1: string;
2779
+ /**
2780
+ * Secondary street address (apartment, suite, etc.).
2781
+ */
2782
+ street_line_2: string | null;
2783
+ }
2784
+ interface UsResidentialAddressResponse {
2785
+ /**
2786
+ * City name.
2787
+ */
2788
+ city: string;
2789
+ /**
2790
+ * ISO 3166-1 alpha-2 country code.
2791
+ */
2792
+ country: 'US';
2793
+ /**
2794
+ * Postal or ZIP code.
2795
+ */
2796
+ postal_code: string;
2797
+ /**
2798
+ * Two-letter state code.
2799
+ */
2800
+ state: string;
2801
+ /**
2802
+ * Primary street address.
2803
+ */
2804
+ street_line_1: string;
2805
+ /**
2806
+ * Secondary street address (apartment, suite, etc.).
2807
+ */
2808
+ street_line_2: string | null;
2809
+ }
2810
+ interface NonUsResidentialAddressResponse {
2811
+ /**
2812
+ * City name.
2813
+ */
2814
+ city: string;
2815
+ /**
2816
+ * ISO 3166-1 alpha-2 country code.
2817
+ */
2818
+ 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';
2819
+ /**
2820
+ * Postal or ZIP code.
2821
+ */
2822
+ postal_code: string;
2823
+ /**
2824
+ * Primary street address.
2825
+ */
2826
+ street_line_1: string;
2827
+ /**
2828
+ * Secondary street address (apartment, suite, etc.).
2829
+ */
2830
+ street_line_2: string | null;
2831
+ }
2832
+ interface EinIdentification {
2833
+ type: 'ein';
2834
+ value: string;
2835
+ }
2836
+ interface SsnIdentification {
2837
+ type: 'ssn';
2838
+ value: string;
2839
+ }
2840
+ }
2841
+ }
2842
+ }
1453
2843
  export interface PingTestWebhookEvent {
1454
2844
  /**
1455
2845
  * Unique identifier for the event. Stable across retries.
@@ -1500,8 +2890,8 @@ export declare namespace PingTestWebhookEvent {
1500
2890
  type: 'ping';
1501
2891
  }
1502
2892
  }
1503
- export type UnwrapWebhookEvent = PayoutCreatedWebhookEvent | PayoutInitiatedWebhookEvent | PayoutPaidWebhookEvent | PayoutFailedWebhookEvent | ReturnInitiatedWebhookEvent | ReturnPaidWebhookEvent | ReturnFailedWebhookEvent | ReturnReturnedWebhookEvent | DepositReceivedWebhookEvent | ConversionCreatedWebhookEvent | ConversionCompletedWebhookEvent | ConversionFailedWebhookEvent | PingTestWebhookEvent;
2893
+ export type UnwrapWebhookEvent = PayoutCreatedWebhookEvent | PayoutInitiatedWebhookEvent | PayoutPaidWebhookEvent | PayoutFailedWebhookEvent | ReturnInitiatedWebhookEvent | ReturnPaidWebhookEvent | ReturnFailedWebhookEvent | ReturnReturnedWebhookEvent | DepositReceivedWebhookEvent | ConversionCreatedWebhookEvent | ConversionCompletedWebhookEvent | ConversionFailedWebhookEvent | AccountHolderActiveWebhookEvent | AccountHolderClosedWebhookEvent | PingTestWebhookEvent;
1504
2894
  export declare namespace Webhooks {
1505
- export { type PayoutCreatedWebhookEvent as PayoutCreatedWebhookEvent, type PayoutInitiatedWebhookEvent as PayoutInitiatedWebhookEvent, type PayoutPaidWebhookEvent as PayoutPaidWebhookEvent, type PayoutFailedWebhookEvent as PayoutFailedWebhookEvent, type ReturnInitiatedWebhookEvent as ReturnInitiatedWebhookEvent, type ReturnPaidWebhookEvent as ReturnPaidWebhookEvent, type ReturnFailedWebhookEvent as ReturnFailedWebhookEvent, type ReturnReturnedWebhookEvent as ReturnReturnedWebhookEvent, type DepositReceivedWebhookEvent as DepositReceivedWebhookEvent, type ConversionCreatedWebhookEvent as ConversionCreatedWebhookEvent, type ConversionCompletedWebhookEvent as ConversionCompletedWebhookEvent, type ConversionFailedWebhookEvent as ConversionFailedWebhookEvent, type PingTestWebhookEvent as PingTestWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
2895
+ export { type PayoutCreatedWebhookEvent as PayoutCreatedWebhookEvent, type PayoutInitiatedWebhookEvent as PayoutInitiatedWebhookEvent, type PayoutPaidWebhookEvent as PayoutPaidWebhookEvent, type PayoutFailedWebhookEvent as PayoutFailedWebhookEvent, type ReturnInitiatedWebhookEvent as ReturnInitiatedWebhookEvent, type ReturnPaidWebhookEvent as ReturnPaidWebhookEvent, type ReturnFailedWebhookEvent as ReturnFailedWebhookEvent, type ReturnReturnedWebhookEvent as ReturnReturnedWebhookEvent, type DepositReceivedWebhookEvent as DepositReceivedWebhookEvent, type ConversionCreatedWebhookEvent as ConversionCreatedWebhookEvent, type ConversionCompletedWebhookEvent as ConversionCompletedWebhookEvent, type ConversionFailedWebhookEvent as ConversionFailedWebhookEvent, type AccountHolderActiveWebhookEvent as AccountHolderActiveWebhookEvent, type AccountHolderClosedWebhookEvent as AccountHolderClosedWebhookEvent, type PingTestWebhookEvent as PingTestWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
1506
2896
  }
1507
2897
  //# sourceMappingURL=webhooks.d.mts.map