stripe 18.6.0-beta.1 → 19.0.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 (335) hide show
  1. package/CHANGELOG.md +107 -1364
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +22 -7
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -107
  6. package/cjs/RequestSender.js +15 -6
  7. package/cjs/StripeContext.js +56 -0
  8. package/cjs/apiVersion.js +3 -2
  9. package/cjs/net/FetchHttpClient.js +1 -1
  10. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  11. package/cjs/resources/Mandates.js +0 -5
  12. package/cjs/resources/PaymentIntents.js +0 -13
  13. package/cjs/resources/Quotes.js +0 -32
  14. package/cjs/resources/SubscriptionSchedules.js +0 -4
  15. package/cjs/resources/V2/Core/Events.js +1 -1
  16. package/cjs/resources.js +8 -100
  17. package/cjs/stripe.core.js +24 -3
  18. package/esm/Error.js +0 -93
  19. package/esm/RequestSender.js +15 -6
  20. package/esm/StripeContext.js +52 -0
  21. package/esm/apiVersion.js +2 -1
  22. package/esm/net/FetchHttpClient.js +1 -1
  23. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  24. package/esm/resources/Mandates.js +0 -5
  25. package/esm/resources/PaymentIntents.js +0 -13
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/V2/Core/Events.js +1 -1
  29. package/esm/resources.js +0 -85
  30. package/esm/stripe.core.js +24 -3
  31. package/package.json +4 -4
  32. package/types/AccountLinksResource.d.ts +1 -5
  33. package/types/AccountSessions.d.ts +0 -75
  34. package/types/AccountSessionsResource.d.ts +0 -306
  35. package/types/Accounts.d.ts +5 -207
  36. package/types/AccountsResource.d.ts +4 -528
  37. package/types/BalanceSettings.d.ts +12 -6
  38. package/types/BalanceSettingsResource.d.ts +15 -10
  39. package/types/BankAccounts.d.ts +4 -0
  40. package/types/Billing/AlertTriggereds.d.ts +1 -1
  41. package/types/Billing/AlertsResource.d.ts +1 -1
  42. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  43. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  44. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  45. package/types/Billing/CreditGrants.d.ts +0 -5
  46. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  47. package/types/BillingPortal/Configurations.d.ts +7 -0
  48. package/types/BillingPortal/ConfigurationsResource.d.ts +14 -0
  49. package/types/BillingPortal/Sessions.d.ts +0 -5
  50. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  51. package/types/Capabilities.d.ts +4 -0
  52. package/types/Cards.d.ts +1 -6
  53. package/types/CashBalances.d.ts +0 -5
  54. package/types/Charges.d.ts +1 -169
  55. package/types/ChargesResource.d.ts +0 -1406
  56. package/types/Checkout/Sessions.d.ts +204 -360
  57. package/types/Checkout/SessionsResource.d.ts +346 -521
  58. package/types/ConfirmationTokens.d.ts +0 -120
  59. package/types/Coupons.d.ts +0 -33
  60. package/types/CouponsResource.d.ts +0 -21
  61. package/types/CreditNoteLineItems.d.ts +0 -17
  62. package/types/CreditNotes.d.ts +0 -5
  63. package/types/CreditNotesResource.d.ts +0 -5
  64. package/types/CustomerBalanceTransactions.d.ts +0 -2
  65. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  66. package/types/CustomerSessions.d.ts +0 -5
  67. package/types/CustomerSessionsResource.d.ts +1 -6
  68. package/types/Customers.d.ts +10 -2
  69. package/types/CustomersResource.d.ts +20 -7
  70. package/types/Discounts.d.ts +32 -24
  71. package/types/Disputes.d.ts +6 -29
  72. package/types/Errors.d.ts +0 -79
  73. package/types/EventTypes.d.ts +0 -664
  74. package/types/Events.d.ts +0 -97
  75. package/types/ExchangeRates.d.ts +2 -0
  76. package/types/ExchangeRatesResource.d.ts +6 -0
  77. package/types/FinancialConnections/Accounts.d.ts +1 -36
  78. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  79. package/types/FinancialConnections/Sessions.d.ts +1 -51
  80. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  81. package/types/Identity/VerificationSessions.d.ts +0 -5
  82. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  83. package/types/InvoiceItems.d.ts +27 -9
  84. package/types/InvoiceItemsResource.d.ts +6 -117
  85. package/types/InvoiceLineItems.d.ts +1 -45
  86. package/types/InvoicePayments.d.ts +0 -5
  87. package/types/InvoicePaymentsResource.d.ts +1 -10
  88. package/types/Invoices.d.ts +6 -172
  89. package/types/InvoicesResource.d.ts +54 -1523
  90. package/types/Issuing/CardholdersResource.d.ts +5 -6
  91. package/types/Issuing/Cards.d.ts +5 -0
  92. package/types/Issuing/CardsResource.d.ts +4 -4
  93. package/types/Issuing/Transactions.d.ts +0 -5
  94. package/types/Issuing/TransactionsResource.d.ts +0 -5
  95. package/types/LineItems.d.ts +0 -49
  96. package/types/Mandates.d.ts +1 -135
  97. package/types/MandatesResource.d.ts +0 -31
  98. package/types/PaymentIntents.d.ts +5 -820
  99. package/types/PaymentIntentsResource.d.ts +5643 -11279
  100. package/types/PaymentLinks.d.ts +0 -6
  101. package/types/PaymentLinksResource.d.ts +5 -12
  102. package/types/PaymentMethodConfigurations.d.ts +0 -180
  103. package/types/PaymentMethodConfigurationsResource.d.ts +28 -228
  104. package/types/PaymentMethods.d.ts +0 -125
  105. package/types/PaymentMethodsResource.d.ts +2 -172
  106. package/types/Persons.d.ts +4 -0
  107. package/types/Prices.d.ts +0 -22
  108. package/types/PricesResource.d.ts +0 -22
  109. package/types/PromotionCodes.d.ts +16 -14
  110. package/types/PromotionCodesResource.d.ts +15 -13
  111. package/types/Quotes.d.ts +9 -589
  112. package/types/QuotesResource.d.ts +290 -2619
  113. package/types/Refunds.d.ts +0 -14
  114. package/types/Reviews.d.ts +2 -0
  115. package/types/SetupAttempts.d.ts +3 -51
  116. package/types/SetupIntents.d.ts +4 -210
  117. package/types/SetupIntentsResource.d.ts +3 -913
  118. package/types/Sources.d.ts +1 -30
  119. package/types/SubscriptionItems.d.ts +0 -21
  120. package/types/SubscriptionItemsResource.d.ts +0 -109
  121. package/types/SubscriptionSchedules.d.ts +16 -205
  122. package/types/SubscriptionSchedulesResource.d.ts +21 -1243
  123. package/types/Subscriptions.d.ts +17 -135
  124. package/types/SubscriptionsResource.d.ts +49 -476
  125. package/types/Tax/CalculationsResource.d.ts +5 -5
  126. package/types/Tax/Settings.d.ts +7 -0
  127. package/types/TaxIds.d.ts +0 -10
  128. package/types/TaxIdsResource.d.ts +0 -10
  129. package/types/Terminal/Configurations.d.ts +9 -9
  130. package/types/Terminal/ConfigurationsResource.d.ts +26 -28
  131. package/types/Terminal/Locations.d.ts +95 -0
  132. package/types/Terminal/LocationsResource.d.ts +59 -6
  133. package/types/Terminal/Readers.d.ts +0 -20
  134. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -118
  135. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +79 -0
  136. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  137. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  138. package/types/Transfers.d.ts +0 -5
  139. package/types/TransfersResource.d.ts +0 -5
  140. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  141. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  142. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  143. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  144. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  145. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  146. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  147. package/types/V2/Billing/MeterEventStreamResource.d.ts +1 -1
  148. package/types/V2/Core/EventDestinations.d.ts +166 -0
  149. package/types/V2/Core/EventDestinationsResource.d.ts +14 -14
  150. package/types/V2/Core/EventTypes.d.ts +256 -0
  151. package/types/V2/Core/Events.d.ts +77 -0
  152. package/types/V2/Core/EventsResource.d.ts +4 -4
  153. package/types/V2/DeletedObject.d.ts +22 -0
  154. package/types/V2/EventMisc.d.ts +72 -0
  155. package/types/WebhookEndpointsResource.d.ts +2 -79
  156. package/types/apiVersion.d.ts +4 -0
  157. package/types/index.d.ts +8 -150
  158. package/types/lib.d.ts +7 -15
  159. package/types/test/typescriptTest.ts +48 -3
  160. package/cjs/resources/AccountNotices.js +0 -21
  161. package/cjs/resources/Billing/MeterUsage.js +0 -12
  162. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  163. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  164. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  165. package/cjs/resources/ExternalAccounts.js +0 -23
  166. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  167. package/cjs/resources/FxQuotes.js +0 -15
  168. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  169. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  170. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  171. package/cjs/resources/Margins.js +0 -22
  172. package/cjs/resources/Orders.js +0 -24
  173. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  174. package/cjs/resources/PaymentRecords.js +0 -29
  175. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  176. package/cjs/resources/Tax/Associations.js +0 -9
  177. package/cjs/resources/Tax/Forms.js +0 -20
  178. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  179. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  180. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  181. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  182. package/cjs/resources/V2/Core/Accounts.js +0 -25
  183. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  184. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  185. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  186. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  187. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  188. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  189. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  190. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  191. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  192. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  193. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  194. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  195. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  196. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  197. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  198. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  199. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  200. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  201. package/esm/resources/AccountNotices.js +0 -18
  202. package/esm/resources/Billing/MeterUsage.js +0 -9
  203. package/esm/resources/Capital/FinancingOffers.js +0 -18
  204. package/esm/resources/Capital/FinancingSummary.js +0 -9
  205. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  206. package/esm/resources/ExternalAccounts.js +0 -20
  207. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  208. package/esm/resources/FxQuotes.js +0 -12
  209. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  210. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  211. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  212. package/esm/resources/Margins.js +0 -19
  213. package/esm/resources/Orders.js +0 -21
  214. package/esm/resources/PaymentAttemptRecords.js +0 -14
  215. package/esm/resources/PaymentRecords.js +0 -26
  216. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  217. package/esm/resources/Tax/Associations.js +0 -6
  218. package/esm/resources/Tax/Forms.js +0 -17
  219. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  220. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  221. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  222. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  223. package/esm/resources/V2/Core/Accounts.js +0 -22
  224. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  225. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  226. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  227. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  228. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  229. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  230. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  231. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  232. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  233. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  234. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  235. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  236. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  237. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  238. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  239. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  240. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  241. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  242. package/types/AccountNotices.d.ts +0 -113
  243. package/types/AccountNoticesResource.d.ts +0 -98
  244. package/types/Billing/MeterUsage.d.ts +0 -32
  245. package/types/Billing/MeterUsageResource.d.ts +0 -685
  246. package/types/Billing/MeterUsageRows.d.ts +0 -49
  247. package/types/Capital/FinancingOffers.d.ts +0 -188
  248. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  249. package/types/Capital/FinancingSummary.d.ts +0 -106
  250. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  251. package/types/Capital/FinancingTransactions.d.ts +0 -135
  252. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  253. package/types/ExternalAccountsResource.d.ts +0 -304
  254. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  255. package/types/FinancialConnections/Institutions.d.ts +0 -98
  256. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  257. package/types/FxQuotes.d.ts +0 -155
  258. package/types/FxQuotesResource.d.ts +0 -130
  259. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  260. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  261. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  262. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  263. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  264. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  265. package/types/Issuing/Settlements.d.ts +0 -113
  266. package/types/Margins.d.ts +0 -56
  267. package/types/MarginsResource.d.ts +0 -114
  268. package/types/Orders.d.ts +0 -1163
  269. package/types/OrdersResource.d.ts +0 -3139
  270. package/types/PaymentAttemptRecords.d.ts +0 -2321
  271. package/types/PaymentAttemptRecordsResource.d.ts +0 -52
  272. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  273. package/types/PaymentRecords.d.ts +0 -2314
  274. package/types/PaymentRecordsResource.d.ts +0 -476
  275. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  276. package/types/Privacy/RedactionJobs.d.ts +0 -111
  277. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  278. package/types/QuoteLines.d.ts +0 -634
  279. package/types/QuotePreviewInvoices.d.ts +0 -1736
  280. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -892
  281. package/types/Tax/Associations.d.ts +0 -82
  282. package/types/Tax/AssociationsResource.d.ts +0 -29
  283. package/types/Tax/Forms.d.ts +0 -220
  284. package/types/Tax/FormsResource.d.ts +0 -107
  285. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  286. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  287. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  288. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  289. package/types/ThinEvent.d.ts +0 -36
  290. package/types/V2/Core/AccountLinks.d.ts +0 -168
  291. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  292. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3812
  293. package/types/V2/Core/Accounts.d.ts +0 -8862
  294. package/types/V2/Core/AccountsResource.d.ts +0 -10704
  295. package/types/V2/Core/Persons.d.ts +0 -1888
  296. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  297. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  298. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  299. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  300. package/types/V2/EventDestinations.d.ts +0 -164
  301. package/types/V2/EventTypes.d.ts +0 -1188
  302. package/types/V2/Events.d.ts +0 -75
  303. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  304. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  305. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  306. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  307. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -585
  308. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -331
  309. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  310. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
  311. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  312. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  313. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  314. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  315. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  316. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  317. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  318. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  319. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  320. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  321. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  322. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  323. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  324. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  325. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
  326. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  327. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  328. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  329. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  330. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  331. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  332. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  333. package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
  334. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
  335. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -1,3812 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace V2 {
6
- namespace Core {
7
- namespace Accounts {
8
- interface PersonCreateParams {
9
- /**
10
- * Additional addresses associated with the person.
11
- */
12
- additional_addresses?: Array<PersonCreateParams.AdditionalAddress>;
13
-
14
- /**
15
- * Additional names (e.g. aliases) associated with the person.
16
- */
17
- additional_names?: Array<PersonCreateParams.AdditionalName>;
18
-
19
- /**
20
- * Attestations of accepted terms of service agreements.
21
- */
22
- additional_terms_of_service?: PersonCreateParams.AdditionalTermsOfService;
23
-
24
- /**
25
- * The person's residential address.
26
- */
27
- address?: PersonCreateParams.Address;
28
-
29
- /**
30
- * The person's date of birth.
31
- */
32
- date_of_birth?: PersonCreateParams.DateOfBirth;
33
-
34
- /**
35
- * Documents that may be submitted to satisfy various informational requests.
36
- */
37
- documents?: PersonCreateParams.Documents;
38
-
39
- /**
40
- * Email.
41
- */
42
- email?: string;
43
-
44
- /**
45
- * The person's first name.
46
- */
47
- given_name?: string;
48
-
49
- /**
50
- * The identification numbers (e.g., SSN) associated with the person.
51
- */
52
- id_numbers?: Array<PersonCreateParams.IdNumber>;
53
-
54
- /**
55
- * The person's gender (International regulations require either "male" or "female").
56
- */
57
- legal_gender?: PersonCreateParams.LegalGender;
58
-
59
- /**
60
- * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
61
- */
62
- metadata?: Stripe.MetadataParam;
63
-
64
- /**
65
- * The nationalities (countries) this person is associated with.
66
- */
67
- nationalities?: Array<PersonCreateParams.Nationality>;
68
-
69
- /**
70
- * The phone number for this person.
71
- */
72
- phone?: string;
73
-
74
- /**
75
- * The person's political exposure.
76
- */
77
- political_exposure?: PersonCreateParams.PoliticalExposure;
78
-
79
- /**
80
- * The relationship that this person has with the Account's business or legal entity.
81
- */
82
- relationship?: PersonCreateParams.Relationship;
83
-
84
- /**
85
- * The script addresses (e.g., non-Latin characters) associated with the person.
86
- */
87
- script_addresses?: PersonCreateParams.ScriptAddresses;
88
-
89
- /**
90
- * The script names (e.g. non-Latin characters) associated with the person.
91
- */
92
- script_names?: PersonCreateParams.ScriptNames;
93
-
94
- /**
95
- * The person's last name.
96
- */
97
- surname?: string;
98
- }
99
-
100
- namespace PersonCreateParams {
101
- interface AdditionalAddress {
102
- /**
103
- * City, district, suburb, town, or village.
104
- */
105
- city?: string;
106
-
107
- /**
108
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
109
- */
110
- country: AdditionalAddress.Country;
111
-
112
- /**
113
- * Address line 1 (e.g., street, PO Box, or company name).
114
- */
115
- line1?: string;
116
-
117
- /**
118
- * Address line 2 (e.g., apartment, suite, unit, or building).
119
- */
120
- line2?: string;
121
-
122
- /**
123
- * ZIP or postal code.
124
- */
125
- postal_code?: string;
126
-
127
- /**
128
- * Purpose of additional address.
129
- */
130
- purpose: 'registered';
131
-
132
- /**
133
- * State, county, province, or region.
134
- */
135
- state?: string;
136
-
137
- /**
138
- * Town or cho-me.
139
- */
140
- town?: string;
141
- }
142
-
143
- namespace AdditionalAddress {
144
- type Country =
145
- | 'ad'
146
- | 'ae'
147
- | 'af'
148
- | 'ag'
149
- | 'ai'
150
- | 'al'
151
- | 'am'
152
- | 'ao'
153
- | 'aq'
154
- | 'ar'
155
- | 'as'
156
- | 'at'
157
- | 'au'
158
- | 'aw'
159
- | 'ax'
160
- | 'az'
161
- | 'ba'
162
- | 'bb'
163
- | 'bd'
164
- | 'be'
165
- | 'bf'
166
- | 'bg'
167
- | 'bh'
168
- | 'bi'
169
- | 'bj'
170
- | 'bl'
171
- | 'bm'
172
- | 'bn'
173
- | 'bo'
174
- | 'bq'
175
- | 'br'
176
- | 'bs'
177
- | 'bt'
178
- | 'bv'
179
- | 'bw'
180
- | 'by'
181
- | 'bz'
182
- | 'ca'
183
- | 'cc'
184
- | 'cd'
185
- | 'cf'
186
- | 'cg'
187
- | 'ch'
188
- | 'ci'
189
- | 'ck'
190
- | 'cl'
191
- | 'cm'
192
- | 'cn'
193
- | 'co'
194
- | 'cr'
195
- | 'cu'
196
- | 'cv'
197
- | 'cw'
198
- | 'cx'
199
- | 'cy'
200
- | 'cz'
201
- | 'de'
202
- | 'dj'
203
- | 'dk'
204
- | 'dm'
205
- | 'do'
206
- | 'dz'
207
- | 'ec'
208
- | 'ee'
209
- | 'eg'
210
- | 'eh'
211
- | 'er'
212
- | 'es'
213
- | 'et'
214
- | 'fi'
215
- | 'fj'
216
- | 'fk'
217
- | 'fm'
218
- | 'fo'
219
- | 'fr'
220
- | 'ga'
221
- | 'gb'
222
- | 'gd'
223
- | 'ge'
224
- | 'gf'
225
- | 'gg'
226
- | 'gh'
227
- | 'gi'
228
- | 'gl'
229
- | 'gm'
230
- | 'gn'
231
- | 'gp'
232
- | 'gq'
233
- | 'gr'
234
- | 'gs'
235
- | 'gt'
236
- | 'gu'
237
- | 'gw'
238
- | 'gy'
239
- | 'hk'
240
- | 'hm'
241
- | 'hn'
242
- | 'hr'
243
- | 'ht'
244
- | 'hu'
245
- | 'id'
246
- | 'ie'
247
- | 'il'
248
- | 'im'
249
- | 'in'
250
- | 'io'
251
- | 'iq'
252
- | 'ir'
253
- | 'is'
254
- | 'it'
255
- | 'je'
256
- | 'jm'
257
- | 'jo'
258
- | 'jp'
259
- | 'ke'
260
- | 'kg'
261
- | 'kh'
262
- | 'ki'
263
- | 'km'
264
- | 'kn'
265
- | 'kp'
266
- | 'kr'
267
- | 'kw'
268
- | 'ky'
269
- | 'kz'
270
- | 'la'
271
- | 'lb'
272
- | 'lc'
273
- | 'li'
274
- | 'lk'
275
- | 'lr'
276
- | 'ls'
277
- | 'lt'
278
- | 'lu'
279
- | 'lv'
280
- | 'ly'
281
- | 'ma'
282
- | 'mc'
283
- | 'md'
284
- | 'me'
285
- | 'mf'
286
- | 'mg'
287
- | 'mh'
288
- | 'mk'
289
- | 'ml'
290
- | 'mm'
291
- | 'mn'
292
- | 'mo'
293
- | 'mp'
294
- | 'mq'
295
- | 'mr'
296
- | 'ms'
297
- | 'mt'
298
- | 'mu'
299
- | 'mv'
300
- | 'mw'
301
- | 'mx'
302
- | 'my'
303
- | 'mz'
304
- | 'na'
305
- | 'nc'
306
- | 'ne'
307
- | 'nf'
308
- | 'ng'
309
- | 'ni'
310
- | 'nl'
311
- | 'no'
312
- | 'np'
313
- | 'nr'
314
- | 'nu'
315
- | 'nz'
316
- | 'om'
317
- | 'pa'
318
- | 'pe'
319
- | 'pf'
320
- | 'pg'
321
- | 'ph'
322
- | 'pk'
323
- | 'pl'
324
- | 'pm'
325
- | 'pn'
326
- | 'pr'
327
- | 'ps'
328
- | 'pt'
329
- | 'pw'
330
- | 'py'
331
- | 'qa'
332
- | 'qz'
333
- | 're'
334
- | 'ro'
335
- | 'rs'
336
- | 'ru'
337
- | 'rw'
338
- | 'sa'
339
- | 'sb'
340
- | 'sc'
341
- | 'sd'
342
- | 'se'
343
- | 'sg'
344
- | 'sh'
345
- | 'si'
346
- | 'sj'
347
- | 'sk'
348
- | 'sl'
349
- | 'sm'
350
- | 'sn'
351
- | 'so'
352
- | 'sr'
353
- | 'ss'
354
- | 'st'
355
- | 'sv'
356
- | 'sx'
357
- | 'sy'
358
- | 'sz'
359
- | 'tc'
360
- | 'td'
361
- | 'tf'
362
- | 'tg'
363
- | 'th'
364
- | 'tj'
365
- | 'tk'
366
- | 'tl'
367
- | 'tm'
368
- | 'tn'
369
- | 'to'
370
- | 'tr'
371
- | 'tt'
372
- | 'tv'
373
- | 'tw'
374
- | 'tz'
375
- | 'ua'
376
- | 'ug'
377
- | 'um'
378
- | 'us'
379
- | 'uy'
380
- | 'uz'
381
- | 'va'
382
- | 'vc'
383
- | 've'
384
- | 'vg'
385
- | 'vi'
386
- | 'vn'
387
- | 'vu'
388
- | 'wf'
389
- | 'ws'
390
- | 'xx'
391
- | 'ye'
392
- | 'yt'
393
- | 'za'
394
- | 'zm'
395
- | 'zw';
396
- }
397
-
398
- interface AdditionalName {
399
- /**
400
- * The person's full name.
401
- */
402
- full_name?: string;
403
-
404
- /**
405
- * The person's first or given name.
406
- */
407
- given_name?: string;
408
-
409
- /**
410
- * The purpose or type of the additional name.
411
- */
412
- purpose: AdditionalName.Purpose;
413
-
414
- /**
415
- * The person's last or family name.
416
- */
417
- surname?: string;
418
- }
419
-
420
- namespace AdditionalName {
421
- type Purpose = 'alias' | 'maiden';
422
- }
423
-
424
- interface AdditionalTermsOfService {
425
- /**
426
- * Stripe terms of service agreement.
427
- */
428
- account?: AdditionalTermsOfService.Account;
429
- }
430
-
431
- namespace AdditionalTermsOfService {
432
- interface Account {
433
- /**
434
- * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
435
- */
436
- date: string;
437
-
438
- /**
439
- * The IP address from which the Account's representative accepted the terms of service.
440
- */
441
- ip: string;
442
-
443
- /**
444
- * The user agent of the browser from which the Account's representative accepted the terms of service.
445
- */
446
- user_agent?: string;
447
- }
448
- }
449
-
450
- interface Address {
451
- /**
452
- * City, district, suburb, town, or village.
453
- */
454
- city?: string;
455
-
456
- /**
457
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
458
- */
459
- country: Address.Country;
460
-
461
- /**
462
- * Address line 1 (e.g., street, PO Box, or company name).
463
- */
464
- line1?: string;
465
-
466
- /**
467
- * Address line 2 (e.g., apartment, suite, unit, or building).
468
- */
469
- line2?: string;
470
-
471
- /**
472
- * ZIP or postal code.
473
- */
474
- postal_code?: string;
475
-
476
- /**
477
- * State, county, province, or region.
478
- */
479
- state?: string;
480
-
481
- /**
482
- * Town or cho-me.
483
- */
484
- town?: string;
485
- }
486
-
487
- namespace Address {
488
- type Country =
489
- | 'ad'
490
- | 'ae'
491
- | 'af'
492
- | 'ag'
493
- | 'ai'
494
- | 'al'
495
- | 'am'
496
- | 'ao'
497
- | 'aq'
498
- | 'ar'
499
- | 'as'
500
- | 'at'
501
- | 'au'
502
- | 'aw'
503
- | 'ax'
504
- | 'az'
505
- | 'ba'
506
- | 'bb'
507
- | 'bd'
508
- | 'be'
509
- | 'bf'
510
- | 'bg'
511
- | 'bh'
512
- | 'bi'
513
- | 'bj'
514
- | 'bl'
515
- | 'bm'
516
- | 'bn'
517
- | 'bo'
518
- | 'bq'
519
- | 'br'
520
- | 'bs'
521
- | 'bt'
522
- | 'bv'
523
- | 'bw'
524
- | 'by'
525
- | 'bz'
526
- | 'ca'
527
- | 'cc'
528
- | 'cd'
529
- | 'cf'
530
- | 'cg'
531
- | 'ch'
532
- | 'ci'
533
- | 'ck'
534
- | 'cl'
535
- | 'cm'
536
- | 'cn'
537
- | 'co'
538
- | 'cr'
539
- | 'cu'
540
- | 'cv'
541
- | 'cw'
542
- | 'cx'
543
- | 'cy'
544
- | 'cz'
545
- | 'de'
546
- | 'dj'
547
- | 'dk'
548
- | 'dm'
549
- | 'do'
550
- | 'dz'
551
- | 'ec'
552
- | 'ee'
553
- | 'eg'
554
- | 'eh'
555
- | 'er'
556
- | 'es'
557
- | 'et'
558
- | 'fi'
559
- | 'fj'
560
- | 'fk'
561
- | 'fm'
562
- | 'fo'
563
- | 'fr'
564
- | 'ga'
565
- | 'gb'
566
- | 'gd'
567
- | 'ge'
568
- | 'gf'
569
- | 'gg'
570
- | 'gh'
571
- | 'gi'
572
- | 'gl'
573
- | 'gm'
574
- | 'gn'
575
- | 'gp'
576
- | 'gq'
577
- | 'gr'
578
- | 'gs'
579
- | 'gt'
580
- | 'gu'
581
- | 'gw'
582
- | 'gy'
583
- | 'hk'
584
- | 'hm'
585
- | 'hn'
586
- | 'hr'
587
- | 'ht'
588
- | 'hu'
589
- | 'id'
590
- | 'ie'
591
- | 'il'
592
- | 'im'
593
- | 'in'
594
- | 'io'
595
- | 'iq'
596
- | 'ir'
597
- | 'is'
598
- | 'it'
599
- | 'je'
600
- | 'jm'
601
- | 'jo'
602
- | 'jp'
603
- | 'ke'
604
- | 'kg'
605
- | 'kh'
606
- | 'ki'
607
- | 'km'
608
- | 'kn'
609
- | 'kp'
610
- | 'kr'
611
- | 'kw'
612
- | 'ky'
613
- | 'kz'
614
- | 'la'
615
- | 'lb'
616
- | 'lc'
617
- | 'li'
618
- | 'lk'
619
- | 'lr'
620
- | 'ls'
621
- | 'lt'
622
- | 'lu'
623
- | 'lv'
624
- | 'ly'
625
- | 'ma'
626
- | 'mc'
627
- | 'md'
628
- | 'me'
629
- | 'mf'
630
- | 'mg'
631
- | 'mh'
632
- | 'mk'
633
- | 'ml'
634
- | 'mm'
635
- | 'mn'
636
- | 'mo'
637
- | 'mp'
638
- | 'mq'
639
- | 'mr'
640
- | 'ms'
641
- | 'mt'
642
- | 'mu'
643
- | 'mv'
644
- | 'mw'
645
- | 'mx'
646
- | 'my'
647
- | 'mz'
648
- | 'na'
649
- | 'nc'
650
- | 'ne'
651
- | 'nf'
652
- | 'ng'
653
- | 'ni'
654
- | 'nl'
655
- | 'no'
656
- | 'np'
657
- | 'nr'
658
- | 'nu'
659
- | 'nz'
660
- | 'om'
661
- | 'pa'
662
- | 'pe'
663
- | 'pf'
664
- | 'pg'
665
- | 'ph'
666
- | 'pk'
667
- | 'pl'
668
- | 'pm'
669
- | 'pn'
670
- | 'pr'
671
- | 'ps'
672
- | 'pt'
673
- | 'pw'
674
- | 'py'
675
- | 'qa'
676
- | 'qz'
677
- | 're'
678
- | 'ro'
679
- | 'rs'
680
- | 'ru'
681
- | 'rw'
682
- | 'sa'
683
- | 'sb'
684
- | 'sc'
685
- | 'sd'
686
- | 'se'
687
- | 'sg'
688
- | 'sh'
689
- | 'si'
690
- | 'sj'
691
- | 'sk'
692
- | 'sl'
693
- | 'sm'
694
- | 'sn'
695
- | 'so'
696
- | 'sr'
697
- | 'ss'
698
- | 'st'
699
- | 'sv'
700
- | 'sx'
701
- | 'sy'
702
- | 'sz'
703
- | 'tc'
704
- | 'td'
705
- | 'tf'
706
- | 'tg'
707
- | 'th'
708
- | 'tj'
709
- | 'tk'
710
- | 'tl'
711
- | 'tm'
712
- | 'tn'
713
- | 'to'
714
- | 'tr'
715
- | 'tt'
716
- | 'tv'
717
- | 'tw'
718
- | 'tz'
719
- | 'ua'
720
- | 'ug'
721
- | 'um'
722
- | 'us'
723
- | 'uy'
724
- | 'uz'
725
- | 'va'
726
- | 'vc'
727
- | 've'
728
- | 'vg'
729
- | 'vi'
730
- | 'vn'
731
- | 'vu'
732
- | 'wf'
733
- | 'ws'
734
- | 'xx'
735
- | 'ye'
736
- | 'yt'
737
- | 'za'
738
- | 'zm'
739
- | 'zw';
740
- }
741
-
742
- interface DateOfBirth {
743
- /**
744
- * The day of birth.
745
- */
746
- day: number;
747
-
748
- /**
749
- * The month of birth.
750
- */
751
- month: number;
752
-
753
- /**
754
- * The year of birth.
755
- */
756
- year: number;
757
- }
758
-
759
- interface Documents {
760
- /**
761
- * One or more documents that demonstrate proof that this person is authorized to represent the company.
762
- */
763
- company_authorization?: Documents.CompanyAuthorization;
764
-
765
- /**
766
- * One or more documents showing the person's passport page with photo and personal data.
767
- */
768
- passport?: Documents.Passport;
769
-
770
- /**
771
- * An identifying document showing the person's name, either a passport or local ID card.
772
- */
773
- primary_verification?: Documents.PrimaryVerification;
774
-
775
- /**
776
- * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
777
- */
778
- secondary_verification?: Documents.SecondaryVerification;
779
-
780
- /**
781
- * One or more documents showing the person's visa required for living in the country where they are residing.
782
- */
783
- visa?: Documents.Visa;
784
- }
785
-
786
- namespace Documents {
787
- interface CompanyAuthorization {
788
- /**
789
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
790
- */
791
- files: Array<string>;
792
-
793
- /**
794
- * The format of the document. Currently supports `files` only.
795
- */
796
- type: 'files';
797
- }
798
-
799
- interface Passport {
800
- /**
801
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
802
- */
803
- files: Array<string>;
804
-
805
- /**
806
- * The format of the document. Currently supports `files` only.
807
- */
808
- type: 'files';
809
- }
810
-
811
- interface PrimaryVerification {
812
- /**
813
- * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
814
- */
815
- front_back: PrimaryVerification.FrontBack;
816
-
817
- /**
818
- * The format of the verification document. Currently supports `front_back` only.
819
- */
820
- type: 'front_back';
821
- }
822
-
823
- namespace PrimaryVerification {
824
- interface FrontBack {
825
- /**
826
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
827
- */
828
- back?: string;
829
-
830
- /**
831
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
832
- */
833
- front: string;
834
- }
835
- }
836
-
837
- interface SecondaryVerification {
838
- /**
839
- * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
840
- */
841
- front_back: SecondaryVerification.FrontBack;
842
-
843
- /**
844
- * The format of the verification document. Currently supports `front_back` only.
845
- */
846
- type: 'front_back';
847
- }
848
-
849
- namespace SecondaryVerification {
850
- interface FrontBack {
851
- /**
852
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
853
- */
854
- back?: string;
855
-
856
- /**
857
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
858
- */
859
- front: string;
860
- }
861
- }
862
-
863
- interface Visa {
864
- /**
865
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
866
- */
867
- files: Array<string>;
868
-
869
- /**
870
- * The format of the document. Currently supports `files` only.
871
- */
872
- type: 'files';
873
- }
874
- }
875
-
876
- interface IdNumber {
877
- /**
878
- * The ID number type of an individual.
879
- */
880
- type: IdNumber.Type;
881
-
882
- /**
883
- * The value of the ID number.
884
- */
885
- value: string;
886
- }
887
-
888
- namespace IdNumber {
889
- type Type =
890
- | 'ae_eid'
891
- | 'ao_nif'
892
- | 'az_tin'
893
- | 'bd_brc'
894
- | 'bd_etin'
895
- | 'bd_nid'
896
- | 'br_cpf'
897
- | 'cr_cpf'
898
- | 'cr_dimex'
899
- | 'cr_nite'
900
- | 'de_stn'
901
- | 'do_rcn'
902
- | 'gt_nit'
903
- | 'hk_id'
904
- | 'kz_iin'
905
- | 'mx_rfc'
906
- | 'my_nric'
907
- | 'mz_nuit'
908
- | 'nl_bsn'
909
- | 'pe_dni'
910
- | 'pk_cnic'
911
- | 'pk_snic'
912
- | 'sa_tin'
913
- | 'sg_fin'
914
- | 'sg_nric'
915
- | 'th_lc'
916
- | 'th_pin'
917
- | 'us_itin'
918
- | 'us_itin_last_4'
919
- | 'us_ssn'
920
- | 'us_ssn_last_4';
921
- }
922
-
923
- type LegalGender = 'female' | 'male';
924
-
925
- type Nationality =
926
- | 'ad'
927
- | 'ae'
928
- | 'af'
929
- | 'ag'
930
- | 'ai'
931
- | 'al'
932
- | 'am'
933
- | 'ao'
934
- | 'aq'
935
- | 'ar'
936
- | 'as'
937
- | 'at'
938
- | 'au'
939
- | 'aw'
940
- | 'ax'
941
- | 'az'
942
- | 'ba'
943
- | 'bb'
944
- | 'bd'
945
- | 'be'
946
- | 'bf'
947
- | 'bg'
948
- | 'bh'
949
- | 'bi'
950
- | 'bj'
951
- | 'bl'
952
- | 'bm'
953
- | 'bn'
954
- | 'bo'
955
- | 'bq'
956
- | 'br'
957
- | 'bs'
958
- | 'bt'
959
- | 'bv'
960
- | 'bw'
961
- | 'by'
962
- | 'bz'
963
- | 'ca'
964
- | 'cc'
965
- | 'cd'
966
- | 'cf'
967
- | 'cg'
968
- | 'ch'
969
- | 'ci'
970
- | 'ck'
971
- | 'cl'
972
- | 'cm'
973
- | 'cn'
974
- | 'co'
975
- | 'cr'
976
- | 'cu'
977
- | 'cv'
978
- | 'cw'
979
- | 'cx'
980
- | 'cy'
981
- | 'cz'
982
- | 'de'
983
- | 'dj'
984
- | 'dk'
985
- | 'dm'
986
- | 'do'
987
- | 'dz'
988
- | 'ec'
989
- | 'ee'
990
- | 'eg'
991
- | 'eh'
992
- | 'er'
993
- | 'es'
994
- | 'et'
995
- | 'fi'
996
- | 'fj'
997
- | 'fk'
998
- | 'fm'
999
- | 'fo'
1000
- | 'fr'
1001
- | 'ga'
1002
- | 'gb'
1003
- | 'gd'
1004
- | 'ge'
1005
- | 'gf'
1006
- | 'gg'
1007
- | 'gh'
1008
- | 'gi'
1009
- | 'gl'
1010
- | 'gm'
1011
- | 'gn'
1012
- | 'gp'
1013
- | 'gq'
1014
- | 'gr'
1015
- | 'gs'
1016
- | 'gt'
1017
- | 'gu'
1018
- | 'gw'
1019
- | 'gy'
1020
- | 'hk'
1021
- | 'hm'
1022
- | 'hn'
1023
- | 'hr'
1024
- | 'ht'
1025
- | 'hu'
1026
- | 'id'
1027
- | 'ie'
1028
- | 'il'
1029
- | 'im'
1030
- | 'in'
1031
- | 'io'
1032
- | 'iq'
1033
- | 'ir'
1034
- | 'is'
1035
- | 'it'
1036
- | 'je'
1037
- | 'jm'
1038
- | 'jo'
1039
- | 'jp'
1040
- | 'ke'
1041
- | 'kg'
1042
- | 'kh'
1043
- | 'ki'
1044
- | 'km'
1045
- | 'kn'
1046
- | 'kp'
1047
- | 'kr'
1048
- | 'kw'
1049
- | 'ky'
1050
- | 'kz'
1051
- | 'la'
1052
- | 'lb'
1053
- | 'lc'
1054
- | 'li'
1055
- | 'lk'
1056
- | 'lr'
1057
- | 'ls'
1058
- | 'lt'
1059
- | 'lu'
1060
- | 'lv'
1061
- | 'ly'
1062
- | 'ma'
1063
- | 'mc'
1064
- | 'md'
1065
- | 'me'
1066
- | 'mf'
1067
- | 'mg'
1068
- | 'mh'
1069
- | 'mk'
1070
- | 'ml'
1071
- | 'mm'
1072
- | 'mn'
1073
- | 'mo'
1074
- | 'mp'
1075
- | 'mq'
1076
- | 'mr'
1077
- | 'ms'
1078
- | 'mt'
1079
- | 'mu'
1080
- | 'mv'
1081
- | 'mw'
1082
- | 'mx'
1083
- | 'my'
1084
- | 'mz'
1085
- | 'na'
1086
- | 'nc'
1087
- | 'ne'
1088
- | 'nf'
1089
- | 'ng'
1090
- | 'ni'
1091
- | 'nl'
1092
- | 'no'
1093
- | 'np'
1094
- | 'nr'
1095
- | 'nu'
1096
- | 'nz'
1097
- | 'om'
1098
- | 'pa'
1099
- | 'pe'
1100
- | 'pf'
1101
- | 'pg'
1102
- | 'ph'
1103
- | 'pk'
1104
- | 'pl'
1105
- | 'pm'
1106
- | 'pn'
1107
- | 'pr'
1108
- | 'ps'
1109
- | 'pt'
1110
- | 'pw'
1111
- | 'py'
1112
- | 'qa'
1113
- | 'qz'
1114
- | 're'
1115
- | 'ro'
1116
- | 'rs'
1117
- | 'ru'
1118
- | 'rw'
1119
- | 'sa'
1120
- | 'sb'
1121
- | 'sc'
1122
- | 'sd'
1123
- | 'se'
1124
- | 'sg'
1125
- | 'sh'
1126
- | 'si'
1127
- | 'sj'
1128
- | 'sk'
1129
- | 'sl'
1130
- | 'sm'
1131
- | 'sn'
1132
- | 'so'
1133
- | 'sr'
1134
- | 'ss'
1135
- | 'st'
1136
- | 'sv'
1137
- | 'sx'
1138
- | 'sy'
1139
- | 'sz'
1140
- | 'tc'
1141
- | 'td'
1142
- | 'tf'
1143
- | 'tg'
1144
- | 'th'
1145
- | 'tj'
1146
- | 'tk'
1147
- | 'tl'
1148
- | 'tm'
1149
- | 'tn'
1150
- | 'to'
1151
- | 'tr'
1152
- | 'tt'
1153
- | 'tv'
1154
- | 'tw'
1155
- | 'tz'
1156
- | 'ua'
1157
- | 'ug'
1158
- | 'um'
1159
- | 'us'
1160
- | 'uy'
1161
- | 'uz'
1162
- | 'va'
1163
- | 'vc'
1164
- | 've'
1165
- | 'vg'
1166
- | 'vi'
1167
- | 'vn'
1168
- | 'vu'
1169
- | 'wf'
1170
- | 'ws'
1171
- | 'xx'
1172
- | 'ye'
1173
- | 'yt'
1174
- | 'za'
1175
- | 'zm'
1176
- | 'zw';
1177
-
1178
- type PoliticalExposure = 'existing' | 'none';
1179
-
1180
- interface Relationship {
1181
- /**
1182
- * Whether the individual is an authorizer of the Account's legal entity.
1183
- */
1184
- authorizer?: boolean;
1185
-
1186
- /**
1187
- * Indicates whether the person is a director of the associated legal entity.
1188
- */
1189
- director?: boolean;
1190
-
1191
- /**
1192
- * Indicates whether the person is an executive of the associated legal entity.
1193
- */
1194
- executive?: boolean;
1195
-
1196
- /**
1197
- * Indicates whether the person is a legal guardian of the associated legal entity.
1198
- */
1199
- legal_guardian?: boolean;
1200
-
1201
- /**
1202
- * Indicates whether the person is an owner of the associated legal entity.
1203
- */
1204
- owner?: boolean;
1205
-
1206
- /**
1207
- * The percentage of ownership the person has in the associated legal entity.
1208
- */
1209
- percent_ownership?: string;
1210
-
1211
- /**
1212
- * Indicates whether the person is a representative of the associated legal entity.
1213
- */
1214
- representative?: boolean;
1215
-
1216
- /**
1217
- * The title or position the person holds in the associated legal entity.
1218
- */
1219
- title?: string;
1220
- }
1221
-
1222
- interface ScriptAddresses {
1223
- /**
1224
- * Kana Address.
1225
- */
1226
- kana?: ScriptAddresses.Kana;
1227
-
1228
- /**
1229
- * Kanji Address.
1230
- */
1231
- kanji?: ScriptAddresses.Kanji;
1232
- }
1233
-
1234
- namespace ScriptAddresses {
1235
- interface Kana {
1236
- /**
1237
- * City, district, suburb, town, or village.
1238
- */
1239
- city?: string;
1240
-
1241
- /**
1242
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1243
- */
1244
- country: Kana.Country;
1245
-
1246
- /**
1247
- * Address line 1 (e.g., street, PO Box, or company name).
1248
- */
1249
- line1?: string;
1250
-
1251
- /**
1252
- * Address line 2 (e.g., apartment, suite, unit, or building).
1253
- */
1254
- line2?: string;
1255
-
1256
- /**
1257
- * ZIP or postal code.
1258
- */
1259
- postal_code?: string;
1260
-
1261
- /**
1262
- * State, county, province, or region.
1263
- */
1264
- state?: string;
1265
-
1266
- /**
1267
- * Town or cho-me.
1268
- */
1269
- town?: string;
1270
- }
1271
-
1272
- namespace Kana {
1273
- type Country =
1274
- | 'ad'
1275
- | 'ae'
1276
- | 'af'
1277
- | 'ag'
1278
- | 'ai'
1279
- | 'al'
1280
- | 'am'
1281
- | 'ao'
1282
- | 'aq'
1283
- | 'ar'
1284
- | 'as'
1285
- | 'at'
1286
- | 'au'
1287
- | 'aw'
1288
- | 'ax'
1289
- | 'az'
1290
- | 'ba'
1291
- | 'bb'
1292
- | 'bd'
1293
- | 'be'
1294
- | 'bf'
1295
- | 'bg'
1296
- | 'bh'
1297
- | 'bi'
1298
- | 'bj'
1299
- | 'bl'
1300
- | 'bm'
1301
- | 'bn'
1302
- | 'bo'
1303
- | 'bq'
1304
- | 'br'
1305
- | 'bs'
1306
- | 'bt'
1307
- | 'bv'
1308
- | 'bw'
1309
- | 'by'
1310
- | 'bz'
1311
- | 'ca'
1312
- | 'cc'
1313
- | 'cd'
1314
- | 'cf'
1315
- | 'cg'
1316
- | 'ch'
1317
- | 'ci'
1318
- | 'ck'
1319
- | 'cl'
1320
- | 'cm'
1321
- | 'cn'
1322
- | 'co'
1323
- | 'cr'
1324
- | 'cu'
1325
- | 'cv'
1326
- | 'cw'
1327
- | 'cx'
1328
- | 'cy'
1329
- | 'cz'
1330
- | 'de'
1331
- | 'dj'
1332
- | 'dk'
1333
- | 'dm'
1334
- | 'do'
1335
- | 'dz'
1336
- | 'ec'
1337
- | 'ee'
1338
- | 'eg'
1339
- | 'eh'
1340
- | 'er'
1341
- | 'es'
1342
- | 'et'
1343
- | 'fi'
1344
- | 'fj'
1345
- | 'fk'
1346
- | 'fm'
1347
- | 'fo'
1348
- | 'fr'
1349
- | 'ga'
1350
- | 'gb'
1351
- | 'gd'
1352
- | 'ge'
1353
- | 'gf'
1354
- | 'gg'
1355
- | 'gh'
1356
- | 'gi'
1357
- | 'gl'
1358
- | 'gm'
1359
- | 'gn'
1360
- | 'gp'
1361
- | 'gq'
1362
- | 'gr'
1363
- | 'gs'
1364
- | 'gt'
1365
- | 'gu'
1366
- | 'gw'
1367
- | 'gy'
1368
- | 'hk'
1369
- | 'hm'
1370
- | 'hn'
1371
- | 'hr'
1372
- | 'ht'
1373
- | 'hu'
1374
- | 'id'
1375
- | 'ie'
1376
- | 'il'
1377
- | 'im'
1378
- | 'in'
1379
- | 'io'
1380
- | 'iq'
1381
- | 'ir'
1382
- | 'is'
1383
- | 'it'
1384
- | 'je'
1385
- | 'jm'
1386
- | 'jo'
1387
- | 'jp'
1388
- | 'ke'
1389
- | 'kg'
1390
- | 'kh'
1391
- | 'ki'
1392
- | 'km'
1393
- | 'kn'
1394
- | 'kp'
1395
- | 'kr'
1396
- | 'kw'
1397
- | 'ky'
1398
- | 'kz'
1399
- | 'la'
1400
- | 'lb'
1401
- | 'lc'
1402
- | 'li'
1403
- | 'lk'
1404
- | 'lr'
1405
- | 'ls'
1406
- | 'lt'
1407
- | 'lu'
1408
- | 'lv'
1409
- | 'ly'
1410
- | 'ma'
1411
- | 'mc'
1412
- | 'md'
1413
- | 'me'
1414
- | 'mf'
1415
- | 'mg'
1416
- | 'mh'
1417
- | 'mk'
1418
- | 'ml'
1419
- | 'mm'
1420
- | 'mn'
1421
- | 'mo'
1422
- | 'mp'
1423
- | 'mq'
1424
- | 'mr'
1425
- | 'ms'
1426
- | 'mt'
1427
- | 'mu'
1428
- | 'mv'
1429
- | 'mw'
1430
- | 'mx'
1431
- | 'my'
1432
- | 'mz'
1433
- | 'na'
1434
- | 'nc'
1435
- | 'ne'
1436
- | 'nf'
1437
- | 'ng'
1438
- | 'ni'
1439
- | 'nl'
1440
- | 'no'
1441
- | 'np'
1442
- | 'nr'
1443
- | 'nu'
1444
- | 'nz'
1445
- | 'om'
1446
- | 'pa'
1447
- | 'pe'
1448
- | 'pf'
1449
- | 'pg'
1450
- | 'ph'
1451
- | 'pk'
1452
- | 'pl'
1453
- | 'pm'
1454
- | 'pn'
1455
- | 'pr'
1456
- | 'ps'
1457
- | 'pt'
1458
- | 'pw'
1459
- | 'py'
1460
- | 'qa'
1461
- | 'qz'
1462
- | 're'
1463
- | 'ro'
1464
- | 'rs'
1465
- | 'ru'
1466
- | 'rw'
1467
- | 'sa'
1468
- | 'sb'
1469
- | 'sc'
1470
- | 'sd'
1471
- | 'se'
1472
- | 'sg'
1473
- | 'sh'
1474
- | 'si'
1475
- | 'sj'
1476
- | 'sk'
1477
- | 'sl'
1478
- | 'sm'
1479
- | 'sn'
1480
- | 'so'
1481
- | 'sr'
1482
- | 'ss'
1483
- | 'st'
1484
- | 'sv'
1485
- | 'sx'
1486
- | 'sy'
1487
- | 'sz'
1488
- | 'tc'
1489
- | 'td'
1490
- | 'tf'
1491
- | 'tg'
1492
- | 'th'
1493
- | 'tj'
1494
- | 'tk'
1495
- | 'tl'
1496
- | 'tm'
1497
- | 'tn'
1498
- | 'to'
1499
- | 'tr'
1500
- | 'tt'
1501
- | 'tv'
1502
- | 'tw'
1503
- | 'tz'
1504
- | 'ua'
1505
- | 'ug'
1506
- | 'um'
1507
- | 'us'
1508
- | 'uy'
1509
- | 'uz'
1510
- | 'va'
1511
- | 'vc'
1512
- | 've'
1513
- | 'vg'
1514
- | 'vi'
1515
- | 'vn'
1516
- | 'vu'
1517
- | 'wf'
1518
- | 'ws'
1519
- | 'xx'
1520
- | 'ye'
1521
- | 'yt'
1522
- | 'za'
1523
- | 'zm'
1524
- | 'zw';
1525
- }
1526
-
1527
- interface Kanji {
1528
- /**
1529
- * City, district, suburb, town, or village.
1530
- */
1531
- city?: string;
1532
-
1533
- /**
1534
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1535
- */
1536
- country: Kanji.Country;
1537
-
1538
- /**
1539
- * Address line 1 (e.g., street, PO Box, or company name).
1540
- */
1541
- line1?: string;
1542
-
1543
- /**
1544
- * Address line 2 (e.g., apartment, suite, unit, or building).
1545
- */
1546
- line2?: string;
1547
-
1548
- /**
1549
- * ZIP or postal code.
1550
- */
1551
- postal_code?: string;
1552
-
1553
- /**
1554
- * State, county, province, or region.
1555
- */
1556
- state?: string;
1557
-
1558
- /**
1559
- * Town or cho-me.
1560
- */
1561
- town?: string;
1562
- }
1563
-
1564
- namespace Kanji {
1565
- type Country =
1566
- | 'ad'
1567
- | 'ae'
1568
- | 'af'
1569
- | 'ag'
1570
- | 'ai'
1571
- | 'al'
1572
- | 'am'
1573
- | 'ao'
1574
- | 'aq'
1575
- | 'ar'
1576
- | 'as'
1577
- | 'at'
1578
- | 'au'
1579
- | 'aw'
1580
- | 'ax'
1581
- | 'az'
1582
- | 'ba'
1583
- | 'bb'
1584
- | 'bd'
1585
- | 'be'
1586
- | 'bf'
1587
- | 'bg'
1588
- | 'bh'
1589
- | 'bi'
1590
- | 'bj'
1591
- | 'bl'
1592
- | 'bm'
1593
- | 'bn'
1594
- | 'bo'
1595
- | 'bq'
1596
- | 'br'
1597
- | 'bs'
1598
- | 'bt'
1599
- | 'bv'
1600
- | 'bw'
1601
- | 'by'
1602
- | 'bz'
1603
- | 'ca'
1604
- | 'cc'
1605
- | 'cd'
1606
- | 'cf'
1607
- | 'cg'
1608
- | 'ch'
1609
- | 'ci'
1610
- | 'ck'
1611
- | 'cl'
1612
- | 'cm'
1613
- | 'cn'
1614
- | 'co'
1615
- | 'cr'
1616
- | 'cu'
1617
- | 'cv'
1618
- | 'cw'
1619
- | 'cx'
1620
- | 'cy'
1621
- | 'cz'
1622
- | 'de'
1623
- | 'dj'
1624
- | 'dk'
1625
- | 'dm'
1626
- | 'do'
1627
- | 'dz'
1628
- | 'ec'
1629
- | 'ee'
1630
- | 'eg'
1631
- | 'eh'
1632
- | 'er'
1633
- | 'es'
1634
- | 'et'
1635
- | 'fi'
1636
- | 'fj'
1637
- | 'fk'
1638
- | 'fm'
1639
- | 'fo'
1640
- | 'fr'
1641
- | 'ga'
1642
- | 'gb'
1643
- | 'gd'
1644
- | 'ge'
1645
- | 'gf'
1646
- | 'gg'
1647
- | 'gh'
1648
- | 'gi'
1649
- | 'gl'
1650
- | 'gm'
1651
- | 'gn'
1652
- | 'gp'
1653
- | 'gq'
1654
- | 'gr'
1655
- | 'gs'
1656
- | 'gt'
1657
- | 'gu'
1658
- | 'gw'
1659
- | 'gy'
1660
- | 'hk'
1661
- | 'hm'
1662
- | 'hn'
1663
- | 'hr'
1664
- | 'ht'
1665
- | 'hu'
1666
- | 'id'
1667
- | 'ie'
1668
- | 'il'
1669
- | 'im'
1670
- | 'in'
1671
- | 'io'
1672
- | 'iq'
1673
- | 'ir'
1674
- | 'is'
1675
- | 'it'
1676
- | 'je'
1677
- | 'jm'
1678
- | 'jo'
1679
- | 'jp'
1680
- | 'ke'
1681
- | 'kg'
1682
- | 'kh'
1683
- | 'ki'
1684
- | 'km'
1685
- | 'kn'
1686
- | 'kp'
1687
- | 'kr'
1688
- | 'kw'
1689
- | 'ky'
1690
- | 'kz'
1691
- | 'la'
1692
- | 'lb'
1693
- | 'lc'
1694
- | 'li'
1695
- | 'lk'
1696
- | 'lr'
1697
- | 'ls'
1698
- | 'lt'
1699
- | 'lu'
1700
- | 'lv'
1701
- | 'ly'
1702
- | 'ma'
1703
- | 'mc'
1704
- | 'md'
1705
- | 'me'
1706
- | 'mf'
1707
- | 'mg'
1708
- | 'mh'
1709
- | 'mk'
1710
- | 'ml'
1711
- | 'mm'
1712
- | 'mn'
1713
- | 'mo'
1714
- | 'mp'
1715
- | 'mq'
1716
- | 'mr'
1717
- | 'ms'
1718
- | 'mt'
1719
- | 'mu'
1720
- | 'mv'
1721
- | 'mw'
1722
- | 'mx'
1723
- | 'my'
1724
- | 'mz'
1725
- | 'na'
1726
- | 'nc'
1727
- | 'ne'
1728
- | 'nf'
1729
- | 'ng'
1730
- | 'ni'
1731
- | 'nl'
1732
- | 'no'
1733
- | 'np'
1734
- | 'nr'
1735
- | 'nu'
1736
- | 'nz'
1737
- | 'om'
1738
- | 'pa'
1739
- | 'pe'
1740
- | 'pf'
1741
- | 'pg'
1742
- | 'ph'
1743
- | 'pk'
1744
- | 'pl'
1745
- | 'pm'
1746
- | 'pn'
1747
- | 'pr'
1748
- | 'ps'
1749
- | 'pt'
1750
- | 'pw'
1751
- | 'py'
1752
- | 'qa'
1753
- | 'qz'
1754
- | 're'
1755
- | 'ro'
1756
- | 'rs'
1757
- | 'ru'
1758
- | 'rw'
1759
- | 'sa'
1760
- | 'sb'
1761
- | 'sc'
1762
- | 'sd'
1763
- | 'se'
1764
- | 'sg'
1765
- | 'sh'
1766
- | 'si'
1767
- | 'sj'
1768
- | 'sk'
1769
- | 'sl'
1770
- | 'sm'
1771
- | 'sn'
1772
- | 'so'
1773
- | 'sr'
1774
- | 'ss'
1775
- | 'st'
1776
- | 'sv'
1777
- | 'sx'
1778
- | 'sy'
1779
- | 'sz'
1780
- | 'tc'
1781
- | 'td'
1782
- | 'tf'
1783
- | 'tg'
1784
- | 'th'
1785
- | 'tj'
1786
- | 'tk'
1787
- | 'tl'
1788
- | 'tm'
1789
- | 'tn'
1790
- | 'to'
1791
- | 'tr'
1792
- | 'tt'
1793
- | 'tv'
1794
- | 'tw'
1795
- | 'tz'
1796
- | 'ua'
1797
- | 'ug'
1798
- | 'um'
1799
- | 'us'
1800
- | 'uy'
1801
- | 'uz'
1802
- | 'va'
1803
- | 'vc'
1804
- | 've'
1805
- | 'vg'
1806
- | 'vi'
1807
- | 'vn'
1808
- | 'vu'
1809
- | 'wf'
1810
- | 'ws'
1811
- | 'xx'
1812
- | 'ye'
1813
- | 'yt'
1814
- | 'za'
1815
- | 'zm'
1816
- | 'zw';
1817
- }
1818
- }
1819
-
1820
- interface ScriptNames {
1821
- /**
1822
- * Persons name in kana script.
1823
- */
1824
- kana?: ScriptNames.Kana;
1825
-
1826
- /**
1827
- * Persons name in kanji script.
1828
- */
1829
- kanji?: ScriptNames.Kanji;
1830
- }
1831
-
1832
- namespace ScriptNames {
1833
- interface Kana {
1834
- /**
1835
- * The person's first or given name.
1836
- */
1837
- given_name?: string;
1838
-
1839
- /**
1840
- * The person's last or family name.
1841
- */
1842
- surname?: string;
1843
- }
1844
-
1845
- interface Kanji {
1846
- /**
1847
- * The person's first or given name.
1848
- */
1849
- given_name?: string;
1850
-
1851
- /**
1852
- * The person's last or family name.
1853
- */
1854
- surname?: string;
1855
- }
1856
- }
1857
- }
1858
- }
1859
- }
1860
-
1861
- namespace Core {
1862
- namespace Accounts {
1863
- interface PersonRetrieveParams {}
1864
- }
1865
- }
1866
-
1867
- namespace Core {
1868
- namespace Accounts {
1869
- interface PersonUpdateParams {
1870
- /**
1871
- * Additional addresses associated with the person.
1872
- */
1873
- additional_addresses?: Array<PersonUpdateParams.AdditionalAddress>;
1874
-
1875
- /**
1876
- * Additional names (e.g. aliases) associated with the person.
1877
- */
1878
- additional_names?: Array<PersonUpdateParams.AdditionalName>;
1879
-
1880
- /**
1881
- * Attestations of accepted terms of service agreements.
1882
- */
1883
- additional_terms_of_service?: PersonUpdateParams.AdditionalTermsOfService;
1884
-
1885
- /**
1886
- * The primary address associated with the person.
1887
- */
1888
- address?: PersonUpdateParams.Address;
1889
-
1890
- /**
1891
- * The person's date of birth.
1892
- */
1893
- date_of_birth?: PersonUpdateParams.DateOfBirth;
1894
-
1895
- /**
1896
- * Documents that may be submitted to satisfy various informational requests.
1897
- */
1898
- documents?: PersonUpdateParams.Documents;
1899
-
1900
- /**
1901
- * Email.
1902
- */
1903
- email?: string;
1904
-
1905
- /**
1906
- * The person's first name.
1907
- */
1908
- given_name?: string;
1909
-
1910
- /**
1911
- * The identification numbers (e.g., SSN) associated with the person.
1912
- */
1913
- id_numbers?: Array<PersonUpdateParams.IdNumber>;
1914
-
1915
- /**
1916
- * The person's gender (International regulations require either "male" or "female").
1917
- */
1918
- legal_gender?: PersonUpdateParams.LegalGender;
1919
-
1920
- /**
1921
- * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1922
- */
1923
- metadata?: Stripe.MetadataParam;
1924
-
1925
- /**
1926
- * The nationalities (countries) this person is associated with.
1927
- */
1928
- nationalities?: Array<PersonUpdateParams.Nationality>;
1929
-
1930
- /**
1931
- * The phone number for this person.
1932
- */
1933
- phone?: string;
1934
-
1935
- /**
1936
- * The person's political exposure.
1937
- */
1938
- political_exposure?: PersonUpdateParams.PoliticalExposure;
1939
-
1940
- /**
1941
- * The relationship that this person has with the Account's business or legal entity.
1942
- */
1943
- relationship?: PersonUpdateParams.Relationship;
1944
-
1945
- /**
1946
- * The script addresses (e.g., non-Latin characters) associated with the person.
1947
- */
1948
- script_addresses?: PersonUpdateParams.ScriptAddresses | null;
1949
-
1950
- /**
1951
- * The script names (e.g. non-Latin characters) associated with the person.
1952
- */
1953
- script_names?: PersonUpdateParams.ScriptNames | null;
1954
-
1955
- /**
1956
- * The person's last name.
1957
- */
1958
- surname?: string;
1959
- }
1960
-
1961
- namespace PersonUpdateParams {
1962
- interface AdditionalAddress {
1963
- /**
1964
- * City, district, suburb, town, or village.
1965
- */
1966
- city?: string | null;
1967
-
1968
- /**
1969
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1970
- */
1971
- country?: AdditionalAddress.Country | null;
1972
-
1973
- /**
1974
- * Address line 1 (e.g., street, PO Box, or company name).
1975
- */
1976
- line1?: string | null;
1977
-
1978
- /**
1979
- * Address line 2 (e.g., apartment, suite, unit, or building).
1980
- */
1981
- line2?: string | null;
1982
-
1983
- /**
1984
- * ZIP or postal code.
1985
- */
1986
- postal_code?: string | null;
1987
-
1988
- /**
1989
- * Purpose of additional address.
1990
- */
1991
- purpose: 'registered';
1992
-
1993
- /**
1994
- * State, county, province, or region.
1995
- */
1996
- state?: string | null;
1997
-
1998
- /**
1999
- * Town or cho-me.
2000
- */
2001
- town?: string | null;
2002
- }
2003
-
2004
- namespace AdditionalAddress {
2005
- type Country =
2006
- | 'ad'
2007
- | 'ae'
2008
- | 'af'
2009
- | 'ag'
2010
- | 'ai'
2011
- | 'al'
2012
- | 'am'
2013
- | 'ao'
2014
- | 'aq'
2015
- | 'ar'
2016
- | 'as'
2017
- | 'at'
2018
- | 'au'
2019
- | 'aw'
2020
- | 'ax'
2021
- | 'az'
2022
- | 'ba'
2023
- | 'bb'
2024
- | 'bd'
2025
- | 'be'
2026
- | 'bf'
2027
- | 'bg'
2028
- | 'bh'
2029
- | 'bi'
2030
- | 'bj'
2031
- | 'bl'
2032
- | 'bm'
2033
- | 'bn'
2034
- | 'bo'
2035
- | 'bq'
2036
- | 'br'
2037
- | 'bs'
2038
- | 'bt'
2039
- | 'bv'
2040
- | 'bw'
2041
- | 'by'
2042
- | 'bz'
2043
- | 'ca'
2044
- | 'cc'
2045
- | 'cd'
2046
- | 'cf'
2047
- | 'cg'
2048
- | 'ch'
2049
- | 'ci'
2050
- | 'ck'
2051
- | 'cl'
2052
- | 'cm'
2053
- | 'cn'
2054
- | 'co'
2055
- | 'cr'
2056
- | 'cu'
2057
- | 'cv'
2058
- | 'cw'
2059
- | 'cx'
2060
- | 'cy'
2061
- | 'cz'
2062
- | 'de'
2063
- | 'dj'
2064
- | 'dk'
2065
- | 'dm'
2066
- | 'do'
2067
- | 'dz'
2068
- | 'ec'
2069
- | 'ee'
2070
- | 'eg'
2071
- | 'eh'
2072
- | 'er'
2073
- | 'es'
2074
- | 'et'
2075
- | 'fi'
2076
- | 'fj'
2077
- | 'fk'
2078
- | 'fm'
2079
- | 'fo'
2080
- | 'fr'
2081
- | 'ga'
2082
- | 'gb'
2083
- | 'gd'
2084
- | 'ge'
2085
- | 'gf'
2086
- | 'gg'
2087
- | 'gh'
2088
- | 'gi'
2089
- | 'gl'
2090
- | 'gm'
2091
- | 'gn'
2092
- | 'gp'
2093
- | 'gq'
2094
- | 'gr'
2095
- | 'gs'
2096
- | 'gt'
2097
- | 'gu'
2098
- | 'gw'
2099
- | 'gy'
2100
- | 'hk'
2101
- | 'hm'
2102
- | 'hn'
2103
- | 'hr'
2104
- | 'ht'
2105
- | 'hu'
2106
- | 'id'
2107
- | 'ie'
2108
- | 'il'
2109
- | 'im'
2110
- | 'in'
2111
- | 'io'
2112
- | 'iq'
2113
- | 'ir'
2114
- | 'is'
2115
- | 'it'
2116
- | 'je'
2117
- | 'jm'
2118
- | 'jo'
2119
- | 'jp'
2120
- | 'ke'
2121
- | 'kg'
2122
- | 'kh'
2123
- | 'ki'
2124
- | 'km'
2125
- | 'kn'
2126
- | 'kp'
2127
- | 'kr'
2128
- | 'kw'
2129
- | 'ky'
2130
- | 'kz'
2131
- | 'la'
2132
- | 'lb'
2133
- | 'lc'
2134
- | 'li'
2135
- | 'lk'
2136
- | 'lr'
2137
- | 'ls'
2138
- | 'lt'
2139
- | 'lu'
2140
- | 'lv'
2141
- | 'ly'
2142
- | 'ma'
2143
- | 'mc'
2144
- | 'md'
2145
- | 'me'
2146
- | 'mf'
2147
- | 'mg'
2148
- | 'mh'
2149
- | 'mk'
2150
- | 'ml'
2151
- | 'mm'
2152
- | 'mn'
2153
- | 'mo'
2154
- | 'mp'
2155
- | 'mq'
2156
- | 'mr'
2157
- | 'ms'
2158
- | 'mt'
2159
- | 'mu'
2160
- | 'mv'
2161
- | 'mw'
2162
- | 'mx'
2163
- | 'my'
2164
- | 'mz'
2165
- | 'na'
2166
- | 'nc'
2167
- | 'ne'
2168
- | 'nf'
2169
- | 'ng'
2170
- | 'ni'
2171
- | 'nl'
2172
- | 'no'
2173
- | 'np'
2174
- | 'nr'
2175
- | 'nu'
2176
- | 'nz'
2177
- | 'om'
2178
- | 'pa'
2179
- | 'pe'
2180
- | 'pf'
2181
- | 'pg'
2182
- | 'ph'
2183
- | 'pk'
2184
- | 'pl'
2185
- | 'pm'
2186
- | 'pn'
2187
- | 'pr'
2188
- | 'ps'
2189
- | 'pt'
2190
- | 'pw'
2191
- | 'py'
2192
- | 'qa'
2193
- | 'qz'
2194
- | 're'
2195
- | 'ro'
2196
- | 'rs'
2197
- | 'ru'
2198
- | 'rw'
2199
- | 'sa'
2200
- | 'sb'
2201
- | 'sc'
2202
- | 'sd'
2203
- | 'se'
2204
- | 'sg'
2205
- | 'sh'
2206
- | 'si'
2207
- | 'sj'
2208
- | 'sk'
2209
- | 'sl'
2210
- | 'sm'
2211
- | 'sn'
2212
- | 'so'
2213
- | 'sr'
2214
- | 'ss'
2215
- | 'st'
2216
- | 'sv'
2217
- | 'sx'
2218
- | 'sy'
2219
- | 'sz'
2220
- | 'tc'
2221
- | 'td'
2222
- | 'tf'
2223
- | 'tg'
2224
- | 'th'
2225
- | 'tj'
2226
- | 'tk'
2227
- | 'tl'
2228
- | 'tm'
2229
- | 'tn'
2230
- | 'to'
2231
- | 'tr'
2232
- | 'tt'
2233
- | 'tv'
2234
- | 'tw'
2235
- | 'tz'
2236
- | 'ua'
2237
- | 'ug'
2238
- | 'um'
2239
- | 'us'
2240
- | 'uy'
2241
- | 'uz'
2242
- | 'va'
2243
- | 'vc'
2244
- | 've'
2245
- | 'vg'
2246
- | 'vi'
2247
- | 'vn'
2248
- | 'vu'
2249
- | 'wf'
2250
- | 'ws'
2251
- | 'xx'
2252
- | 'ye'
2253
- | 'yt'
2254
- | 'za'
2255
- | 'zm'
2256
- | 'zw';
2257
- }
2258
-
2259
- interface AdditionalName {
2260
- /**
2261
- * The person's full name.
2262
- */
2263
- full_name?: string;
2264
-
2265
- /**
2266
- * The person's first or given name.
2267
- */
2268
- given_name?: string;
2269
-
2270
- /**
2271
- * The purpose or type of the additional name.
2272
- */
2273
- purpose: AdditionalName.Purpose;
2274
-
2275
- /**
2276
- * The person's last or family name.
2277
- */
2278
- surname?: string;
2279
- }
2280
-
2281
- namespace AdditionalName {
2282
- type Purpose = 'alias' | 'maiden';
2283
- }
2284
-
2285
- interface AdditionalTermsOfService {
2286
- /**
2287
- * Stripe terms of service agreement.
2288
- */
2289
- account?: AdditionalTermsOfService.Account;
2290
- }
2291
-
2292
- namespace AdditionalTermsOfService {
2293
- interface Account {
2294
- /**
2295
- * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2296
- */
2297
- date?: string;
2298
-
2299
- /**
2300
- * The IP address from which the Account's representative accepted the terms of service.
2301
- */
2302
- ip?: string;
2303
-
2304
- /**
2305
- * The user agent of the browser from which the Account's representative accepted the terms of service.
2306
- */
2307
- user_agent?: string;
2308
- }
2309
- }
2310
-
2311
- interface Address {
2312
- /**
2313
- * City, district, suburb, town, or village.
2314
- */
2315
- city?: string | null;
2316
-
2317
- /**
2318
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2319
- */
2320
- country?: Address.Country | null;
2321
-
2322
- /**
2323
- * Address line 1 (e.g., street, PO Box, or company name).
2324
- */
2325
- line1?: string | null;
2326
-
2327
- /**
2328
- * Address line 2 (e.g., apartment, suite, unit, or building).
2329
- */
2330
- line2?: string | null;
2331
-
2332
- /**
2333
- * ZIP or postal code.
2334
- */
2335
- postal_code?: string | null;
2336
-
2337
- /**
2338
- * State, county, province, or region.
2339
- */
2340
- state?: string | null;
2341
-
2342
- /**
2343
- * Town or cho-me.
2344
- */
2345
- town?: string | null;
2346
- }
2347
-
2348
- namespace Address {
2349
- type Country =
2350
- | 'ad'
2351
- | 'ae'
2352
- | 'af'
2353
- | 'ag'
2354
- | 'ai'
2355
- | 'al'
2356
- | 'am'
2357
- | 'ao'
2358
- | 'aq'
2359
- | 'ar'
2360
- | 'as'
2361
- | 'at'
2362
- | 'au'
2363
- | 'aw'
2364
- | 'ax'
2365
- | 'az'
2366
- | 'ba'
2367
- | 'bb'
2368
- | 'bd'
2369
- | 'be'
2370
- | 'bf'
2371
- | 'bg'
2372
- | 'bh'
2373
- | 'bi'
2374
- | 'bj'
2375
- | 'bl'
2376
- | 'bm'
2377
- | 'bn'
2378
- | 'bo'
2379
- | 'bq'
2380
- | 'br'
2381
- | 'bs'
2382
- | 'bt'
2383
- | 'bv'
2384
- | 'bw'
2385
- | 'by'
2386
- | 'bz'
2387
- | 'ca'
2388
- | 'cc'
2389
- | 'cd'
2390
- | 'cf'
2391
- | 'cg'
2392
- | 'ch'
2393
- | 'ci'
2394
- | 'ck'
2395
- | 'cl'
2396
- | 'cm'
2397
- | 'cn'
2398
- | 'co'
2399
- | 'cr'
2400
- | 'cu'
2401
- | 'cv'
2402
- | 'cw'
2403
- | 'cx'
2404
- | 'cy'
2405
- | 'cz'
2406
- | 'de'
2407
- | 'dj'
2408
- | 'dk'
2409
- | 'dm'
2410
- | 'do'
2411
- | 'dz'
2412
- | 'ec'
2413
- | 'ee'
2414
- | 'eg'
2415
- | 'eh'
2416
- | 'er'
2417
- | 'es'
2418
- | 'et'
2419
- | 'fi'
2420
- | 'fj'
2421
- | 'fk'
2422
- | 'fm'
2423
- | 'fo'
2424
- | 'fr'
2425
- | 'ga'
2426
- | 'gb'
2427
- | 'gd'
2428
- | 'ge'
2429
- | 'gf'
2430
- | 'gg'
2431
- | 'gh'
2432
- | 'gi'
2433
- | 'gl'
2434
- | 'gm'
2435
- | 'gn'
2436
- | 'gp'
2437
- | 'gq'
2438
- | 'gr'
2439
- | 'gs'
2440
- | 'gt'
2441
- | 'gu'
2442
- | 'gw'
2443
- | 'gy'
2444
- | 'hk'
2445
- | 'hm'
2446
- | 'hn'
2447
- | 'hr'
2448
- | 'ht'
2449
- | 'hu'
2450
- | 'id'
2451
- | 'ie'
2452
- | 'il'
2453
- | 'im'
2454
- | 'in'
2455
- | 'io'
2456
- | 'iq'
2457
- | 'ir'
2458
- | 'is'
2459
- | 'it'
2460
- | 'je'
2461
- | 'jm'
2462
- | 'jo'
2463
- | 'jp'
2464
- | 'ke'
2465
- | 'kg'
2466
- | 'kh'
2467
- | 'ki'
2468
- | 'km'
2469
- | 'kn'
2470
- | 'kp'
2471
- | 'kr'
2472
- | 'kw'
2473
- | 'ky'
2474
- | 'kz'
2475
- | 'la'
2476
- | 'lb'
2477
- | 'lc'
2478
- | 'li'
2479
- | 'lk'
2480
- | 'lr'
2481
- | 'ls'
2482
- | 'lt'
2483
- | 'lu'
2484
- | 'lv'
2485
- | 'ly'
2486
- | 'ma'
2487
- | 'mc'
2488
- | 'md'
2489
- | 'me'
2490
- | 'mf'
2491
- | 'mg'
2492
- | 'mh'
2493
- | 'mk'
2494
- | 'ml'
2495
- | 'mm'
2496
- | 'mn'
2497
- | 'mo'
2498
- | 'mp'
2499
- | 'mq'
2500
- | 'mr'
2501
- | 'ms'
2502
- | 'mt'
2503
- | 'mu'
2504
- | 'mv'
2505
- | 'mw'
2506
- | 'mx'
2507
- | 'my'
2508
- | 'mz'
2509
- | 'na'
2510
- | 'nc'
2511
- | 'ne'
2512
- | 'nf'
2513
- | 'ng'
2514
- | 'ni'
2515
- | 'nl'
2516
- | 'no'
2517
- | 'np'
2518
- | 'nr'
2519
- | 'nu'
2520
- | 'nz'
2521
- | 'om'
2522
- | 'pa'
2523
- | 'pe'
2524
- | 'pf'
2525
- | 'pg'
2526
- | 'ph'
2527
- | 'pk'
2528
- | 'pl'
2529
- | 'pm'
2530
- | 'pn'
2531
- | 'pr'
2532
- | 'ps'
2533
- | 'pt'
2534
- | 'pw'
2535
- | 'py'
2536
- | 'qa'
2537
- | 'qz'
2538
- | 're'
2539
- | 'ro'
2540
- | 'rs'
2541
- | 'ru'
2542
- | 'rw'
2543
- | 'sa'
2544
- | 'sb'
2545
- | 'sc'
2546
- | 'sd'
2547
- | 'se'
2548
- | 'sg'
2549
- | 'sh'
2550
- | 'si'
2551
- | 'sj'
2552
- | 'sk'
2553
- | 'sl'
2554
- | 'sm'
2555
- | 'sn'
2556
- | 'so'
2557
- | 'sr'
2558
- | 'ss'
2559
- | 'st'
2560
- | 'sv'
2561
- | 'sx'
2562
- | 'sy'
2563
- | 'sz'
2564
- | 'tc'
2565
- | 'td'
2566
- | 'tf'
2567
- | 'tg'
2568
- | 'th'
2569
- | 'tj'
2570
- | 'tk'
2571
- | 'tl'
2572
- | 'tm'
2573
- | 'tn'
2574
- | 'to'
2575
- | 'tr'
2576
- | 'tt'
2577
- | 'tv'
2578
- | 'tw'
2579
- | 'tz'
2580
- | 'ua'
2581
- | 'ug'
2582
- | 'um'
2583
- | 'us'
2584
- | 'uy'
2585
- | 'uz'
2586
- | 'va'
2587
- | 'vc'
2588
- | 've'
2589
- | 'vg'
2590
- | 'vi'
2591
- | 'vn'
2592
- | 'vu'
2593
- | 'wf'
2594
- | 'ws'
2595
- | 'xx'
2596
- | 'ye'
2597
- | 'yt'
2598
- | 'za'
2599
- | 'zm'
2600
- | 'zw';
2601
- }
2602
-
2603
- interface DateOfBirth {
2604
- /**
2605
- * The day of the birth.
2606
- */
2607
- day: number;
2608
-
2609
- /**
2610
- * The month of birth.
2611
- */
2612
- month: number;
2613
-
2614
- /**
2615
- * The year of birth.
2616
- */
2617
- year: number;
2618
- }
2619
-
2620
- interface Documents {
2621
- /**
2622
- * One or more documents that demonstrate proof that this person is authorized to represent the company.
2623
- */
2624
- company_authorization?: Documents.CompanyAuthorization;
2625
-
2626
- /**
2627
- * One or more documents showing the person's passport page with photo and personal data.
2628
- */
2629
- passport?: Documents.Passport;
2630
-
2631
- /**
2632
- * An identifying document showing the person's name, either a passport or local ID card.
2633
- */
2634
- primary_verification?: Documents.PrimaryVerification | null;
2635
-
2636
- /**
2637
- * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
2638
- */
2639
- secondary_verification?: Documents.SecondaryVerification | null;
2640
-
2641
- /**
2642
- * One or more documents showing the person's visa required for living in the country where they are residing.
2643
- */
2644
- visa?: Documents.Visa;
2645
- }
2646
-
2647
- namespace Documents {
2648
- interface CompanyAuthorization {
2649
- /**
2650
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
2651
- */
2652
- files: Array<string>;
2653
-
2654
- /**
2655
- * The format of the document. Currently supports `files` only.
2656
- */
2657
- type: 'files';
2658
- }
2659
-
2660
- interface Passport {
2661
- /**
2662
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
2663
- */
2664
- files: Array<string>;
2665
-
2666
- /**
2667
- * The format of the document. Currently supports `files` only.
2668
- */
2669
- type: 'files';
2670
- }
2671
-
2672
- interface PrimaryVerification {
2673
- /**
2674
- * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
2675
- */
2676
- front_back: PrimaryVerification.FrontBack;
2677
-
2678
- /**
2679
- * The format of the verification document. Currently supports `front_back` only.
2680
- */
2681
- type: 'front_back';
2682
- }
2683
-
2684
- namespace PrimaryVerification {
2685
- interface FrontBack {
2686
- /**
2687
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
2688
- */
2689
- back?: string | null;
2690
-
2691
- /**
2692
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
2693
- */
2694
- front?: string;
2695
- }
2696
- }
2697
-
2698
- interface SecondaryVerification {
2699
- /**
2700
- * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
2701
- */
2702
- front_back: SecondaryVerification.FrontBack;
2703
-
2704
- /**
2705
- * The format of the verification document. Currently supports `front_back` only.
2706
- */
2707
- type: 'front_back';
2708
- }
2709
-
2710
- namespace SecondaryVerification {
2711
- interface FrontBack {
2712
- /**
2713
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
2714
- */
2715
- back?: string | null;
2716
-
2717
- /**
2718
- * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
2719
- */
2720
- front?: string;
2721
- }
2722
- }
2723
-
2724
- interface Visa {
2725
- /**
2726
- * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
2727
- */
2728
- files: Array<string>;
2729
-
2730
- /**
2731
- * The format of the document. Currently supports `files` only.
2732
- */
2733
- type: 'files';
2734
- }
2735
- }
2736
-
2737
- interface IdNumber {
2738
- /**
2739
- * The ID number type of an individual.
2740
- */
2741
- type: IdNumber.Type;
2742
-
2743
- /**
2744
- * The value of the ID number.
2745
- */
2746
- value: string;
2747
- }
2748
-
2749
- namespace IdNumber {
2750
- type Type =
2751
- | 'ae_eid'
2752
- | 'ao_nif'
2753
- | 'az_tin'
2754
- | 'bd_brc'
2755
- | 'bd_etin'
2756
- | 'bd_nid'
2757
- | 'br_cpf'
2758
- | 'cr_cpf'
2759
- | 'cr_dimex'
2760
- | 'cr_nite'
2761
- | 'de_stn'
2762
- | 'do_rcn'
2763
- | 'gt_nit'
2764
- | 'hk_id'
2765
- | 'kz_iin'
2766
- | 'mx_rfc'
2767
- | 'my_nric'
2768
- | 'mz_nuit'
2769
- | 'nl_bsn'
2770
- | 'pe_dni'
2771
- | 'pk_cnic'
2772
- | 'pk_snic'
2773
- | 'sa_tin'
2774
- | 'sg_fin'
2775
- | 'sg_nric'
2776
- | 'th_lc'
2777
- | 'th_pin'
2778
- | 'us_itin'
2779
- | 'us_itin_last_4'
2780
- | 'us_ssn'
2781
- | 'us_ssn_last_4';
2782
- }
2783
-
2784
- type LegalGender = 'female' | 'male';
2785
-
2786
- type Nationality =
2787
- | 'ad'
2788
- | 'ae'
2789
- | 'af'
2790
- | 'ag'
2791
- | 'ai'
2792
- | 'al'
2793
- | 'am'
2794
- | 'ao'
2795
- | 'aq'
2796
- | 'ar'
2797
- | 'as'
2798
- | 'at'
2799
- | 'au'
2800
- | 'aw'
2801
- | 'ax'
2802
- | 'az'
2803
- | 'ba'
2804
- | 'bb'
2805
- | 'bd'
2806
- | 'be'
2807
- | 'bf'
2808
- | 'bg'
2809
- | 'bh'
2810
- | 'bi'
2811
- | 'bj'
2812
- | 'bl'
2813
- | 'bm'
2814
- | 'bn'
2815
- | 'bo'
2816
- | 'bq'
2817
- | 'br'
2818
- | 'bs'
2819
- | 'bt'
2820
- | 'bv'
2821
- | 'bw'
2822
- | 'by'
2823
- | 'bz'
2824
- | 'ca'
2825
- | 'cc'
2826
- | 'cd'
2827
- | 'cf'
2828
- | 'cg'
2829
- | 'ch'
2830
- | 'ci'
2831
- | 'ck'
2832
- | 'cl'
2833
- | 'cm'
2834
- | 'cn'
2835
- | 'co'
2836
- | 'cr'
2837
- | 'cu'
2838
- | 'cv'
2839
- | 'cw'
2840
- | 'cx'
2841
- | 'cy'
2842
- | 'cz'
2843
- | 'de'
2844
- | 'dj'
2845
- | 'dk'
2846
- | 'dm'
2847
- | 'do'
2848
- | 'dz'
2849
- | 'ec'
2850
- | 'ee'
2851
- | 'eg'
2852
- | 'eh'
2853
- | 'er'
2854
- | 'es'
2855
- | 'et'
2856
- | 'fi'
2857
- | 'fj'
2858
- | 'fk'
2859
- | 'fm'
2860
- | 'fo'
2861
- | 'fr'
2862
- | 'ga'
2863
- | 'gb'
2864
- | 'gd'
2865
- | 'ge'
2866
- | 'gf'
2867
- | 'gg'
2868
- | 'gh'
2869
- | 'gi'
2870
- | 'gl'
2871
- | 'gm'
2872
- | 'gn'
2873
- | 'gp'
2874
- | 'gq'
2875
- | 'gr'
2876
- | 'gs'
2877
- | 'gt'
2878
- | 'gu'
2879
- | 'gw'
2880
- | 'gy'
2881
- | 'hk'
2882
- | 'hm'
2883
- | 'hn'
2884
- | 'hr'
2885
- | 'ht'
2886
- | 'hu'
2887
- | 'id'
2888
- | 'ie'
2889
- | 'il'
2890
- | 'im'
2891
- | 'in'
2892
- | 'io'
2893
- | 'iq'
2894
- | 'ir'
2895
- | 'is'
2896
- | 'it'
2897
- | 'je'
2898
- | 'jm'
2899
- | 'jo'
2900
- | 'jp'
2901
- | 'ke'
2902
- | 'kg'
2903
- | 'kh'
2904
- | 'ki'
2905
- | 'km'
2906
- | 'kn'
2907
- | 'kp'
2908
- | 'kr'
2909
- | 'kw'
2910
- | 'ky'
2911
- | 'kz'
2912
- | 'la'
2913
- | 'lb'
2914
- | 'lc'
2915
- | 'li'
2916
- | 'lk'
2917
- | 'lr'
2918
- | 'ls'
2919
- | 'lt'
2920
- | 'lu'
2921
- | 'lv'
2922
- | 'ly'
2923
- | 'ma'
2924
- | 'mc'
2925
- | 'md'
2926
- | 'me'
2927
- | 'mf'
2928
- | 'mg'
2929
- | 'mh'
2930
- | 'mk'
2931
- | 'ml'
2932
- | 'mm'
2933
- | 'mn'
2934
- | 'mo'
2935
- | 'mp'
2936
- | 'mq'
2937
- | 'mr'
2938
- | 'ms'
2939
- | 'mt'
2940
- | 'mu'
2941
- | 'mv'
2942
- | 'mw'
2943
- | 'mx'
2944
- | 'my'
2945
- | 'mz'
2946
- | 'na'
2947
- | 'nc'
2948
- | 'ne'
2949
- | 'nf'
2950
- | 'ng'
2951
- | 'ni'
2952
- | 'nl'
2953
- | 'no'
2954
- | 'np'
2955
- | 'nr'
2956
- | 'nu'
2957
- | 'nz'
2958
- | 'om'
2959
- | 'pa'
2960
- | 'pe'
2961
- | 'pf'
2962
- | 'pg'
2963
- | 'ph'
2964
- | 'pk'
2965
- | 'pl'
2966
- | 'pm'
2967
- | 'pn'
2968
- | 'pr'
2969
- | 'ps'
2970
- | 'pt'
2971
- | 'pw'
2972
- | 'py'
2973
- | 'qa'
2974
- | 'qz'
2975
- | 're'
2976
- | 'ro'
2977
- | 'rs'
2978
- | 'ru'
2979
- | 'rw'
2980
- | 'sa'
2981
- | 'sb'
2982
- | 'sc'
2983
- | 'sd'
2984
- | 'se'
2985
- | 'sg'
2986
- | 'sh'
2987
- | 'si'
2988
- | 'sj'
2989
- | 'sk'
2990
- | 'sl'
2991
- | 'sm'
2992
- | 'sn'
2993
- | 'so'
2994
- | 'sr'
2995
- | 'ss'
2996
- | 'st'
2997
- | 'sv'
2998
- | 'sx'
2999
- | 'sy'
3000
- | 'sz'
3001
- | 'tc'
3002
- | 'td'
3003
- | 'tf'
3004
- | 'tg'
3005
- | 'th'
3006
- | 'tj'
3007
- | 'tk'
3008
- | 'tl'
3009
- | 'tm'
3010
- | 'tn'
3011
- | 'to'
3012
- | 'tr'
3013
- | 'tt'
3014
- | 'tv'
3015
- | 'tw'
3016
- | 'tz'
3017
- | 'ua'
3018
- | 'ug'
3019
- | 'um'
3020
- | 'us'
3021
- | 'uy'
3022
- | 'uz'
3023
- | 'va'
3024
- | 'vc'
3025
- | 've'
3026
- | 'vg'
3027
- | 'vi'
3028
- | 'vn'
3029
- | 'vu'
3030
- | 'wf'
3031
- | 'ws'
3032
- | 'xx'
3033
- | 'ye'
3034
- | 'yt'
3035
- | 'za'
3036
- | 'zm'
3037
- | 'zw';
3038
-
3039
- type PoliticalExposure = 'existing' | 'none';
3040
-
3041
- interface Relationship {
3042
- /**
3043
- * Whether the individual is an authorizer of the Account's legal entity.
3044
- */
3045
- authorizer?: boolean;
3046
-
3047
- /**
3048
- * Indicates whether the person is a director of the associated legal entity.
3049
- */
3050
- director?: boolean;
3051
-
3052
- /**
3053
- * Indicates whether the person is an executive of the associated legal entity.
3054
- */
3055
- executive?: boolean;
3056
-
3057
- /**
3058
- * Indicates whether the person is a legal guardian of the associated legal entity.
3059
- */
3060
- legal_guardian?: boolean;
3061
-
3062
- /**
3063
- * Indicates whether the person is an owner of the associated legal entity.
3064
- */
3065
- owner?: boolean;
3066
-
3067
- /**
3068
- * The percentage of ownership the person has in the associated legal entity.
3069
- */
3070
- percent_ownership?: string;
3071
-
3072
- /**
3073
- * Indicates whether the person is a representative of the associated legal entity.
3074
- */
3075
- representative?: boolean;
3076
-
3077
- /**
3078
- * The title or position the person holds in the associated legal entity.
3079
- */
3080
- title?: string;
3081
- }
3082
-
3083
- interface ScriptAddresses {
3084
- /**
3085
- * Kana Address.
3086
- */
3087
- kana?: ScriptAddresses.Kana | null;
3088
-
3089
- /**
3090
- * Kanji Address.
3091
- */
3092
- kanji?: ScriptAddresses.Kanji | null;
3093
- }
3094
-
3095
- namespace ScriptAddresses {
3096
- interface Kana {
3097
- /**
3098
- * City, district, suburb, town, or village.
3099
- */
3100
- city?: string | null;
3101
-
3102
- /**
3103
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3104
- */
3105
- country?: Kana.Country | null;
3106
-
3107
- /**
3108
- * Address line 1 (e.g., street, PO Box, or company name).
3109
- */
3110
- line1?: string | null;
3111
-
3112
- /**
3113
- * Address line 2 (e.g., apartment, suite, unit, or building).
3114
- */
3115
- line2?: string | null;
3116
-
3117
- /**
3118
- * ZIP or postal code.
3119
- */
3120
- postal_code?: string | null;
3121
-
3122
- /**
3123
- * State, county, province, or region.
3124
- */
3125
- state?: string | null;
3126
-
3127
- /**
3128
- * Town or cho-me.
3129
- */
3130
- town?: string | null;
3131
- }
3132
-
3133
- namespace Kana {
3134
- type Country =
3135
- | 'ad'
3136
- | 'ae'
3137
- | 'af'
3138
- | 'ag'
3139
- | 'ai'
3140
- | 'al'
3141
- | 'am'
3142
- | 'ao'
3143
- | 'aq'
3144
- | 'ar'
3145
- | 'as'
3146
- | 'at'
3147
- | 'au'
3148
- | 'aw'
3149
- | 'ax'
3150
- | 'az'
3151
- | 'ba'
3152
- | 'bb'
3153
- | 'bd'
3154
- | 'be'
3155
- | 'bf'
3156
- | 'bg'
3157
- | 'bh'
3158
- | 'bi'
3159
- | 'bj'
3160
- | 'bl'
3161
- | 'bm'
3162
- | 'bn'
3163
- | 'bo'
3164
- | 'bq'
3165
- | 'br'
3166
- | 'bs'
3167
- | 'bt'
3168
- | 'bv'
3169
- | 'bw'
3170
- | 'by'
3171
- | 'bz'
3172
- | 'ca'
3173
- | 'cc'
3174
- | 'cd'
3175
- | 'cf'
3176
- | 'cg'
3177
- | 'ch'
3178
- | 'ci'
3179
- | 'ck'
3180
- | 'cl'
3181
- | 'cm'
3182
- | 'cn'
3183
- | 'co'
3184
- | 'cr'
3185
- | 'cu'
3186
- | 'cv'
3187
- | 'cw'
3188
- | 'cx'
3189
- | 'cy'
3190
- | 'cz'
3191
- | 'de'
3192
- | 'dj'
3193
- | 'dk'
3194
- | 'dm'
3195
- | 'do'
3196
- | 'dz'
3197
- | 'ec'
3198
- | 'ee'
3199
- | 'eg'
3200
- | 'eh'
3201
- | 'er'
3202
- | 'es'
3203
- | 'et'
3204
- | 'fi'
3205
- | 'fj'
3206
- | 'fk'
3207
- | 'fm'
3208
- | 'fo'
3209
- | 'fr'
3210
- | 'ga'
3211
- | 'gb'
3212
- | 'gd'
3213
- | 'ge'
3214
- | 'gf'
3215
- | 'gg'
3216
- | 'gh'
3217
- | 'gi'
3218
- | 'gl'
3219
- | 'gm'
3220
- | 'gn'
3221
- | 'gp'
3222
- | 'gq'
3223
- | 'gr'
3224
- | 'gs'
3225
- | 'gt'
3226
- | 'gu'
3227
- | 'gw'
3228
- | 'gy'
3229
- | 'hk'
3230
- | 'hm'
3231
- | 'hn'
3232
- | 'hr'
3233
- | 'ht'
3234
- | 'hu'
3235
- | 'id'
3236
- | 'ie'
3237
- | 'il'
3238
- | 'im'
3239
- | 'in'
3240
- | 'io'
3241
- | 'iq'
3242
- | 'ir'
3243
- | 'is'
3244
- | 'it'
3245
- | 'je'
3246
- | 'jm'
3247
- | 'jo'
3248
- | 'jp'
3249
- | 'ke'
3250
- | 'kg'
3251
- | 'kh'
3252
- | 'ki'
3253
- | 'km'
3254
- | 'kn'
3255
- | 'kp'
3256
- | 'kr'
3257
- | 'kw'
3258
- | 'ky'
3259
- | 'kz'
3260
- | 'la'
3261
- | 'lb'
3262
- | 'lc'
3263
- | 'li'
3264
- | 'lk'
3265
- | 'lr'
3266
- | 'ls'
3267
- | 'lt'
3268
- | 'lu'
3269
- | 'lv'
3270
- | 'ly'
3271
- | 'ma'
3272
- | 'mc'
3273
- | 'md'
3274
- | 'me'
3275
- | 'mf'
3276
- | 'mg'
3277
- | 'mh'
3278
- | 'mk'
3279
- | 'ml'
3280
- | 'mm'
3281
- | 'mn'
3282
- | 'mo'
3283
- | 'mp'
3284
- | 'mq'
3285
- | 'mr'
3286
- | 'ms'
3287
- | 'mt'
3288
- | 'mu'
3289
- | 'mv'
3290
- | 'mw'
3291
- | 'mx'
3292
- | 'my'
3293
- | 'mz'
3294
- | 'na'
3295
- | 'nc'
3296
- | 'ne'
3297
- | 'nf'
3298
- | 'ng'
3299
- | 'ni'
3300
- | 'nl'
3301
- | 'no'
3302
- | 'np'
3303
- | 'nr'
3304
- | 'nu'
3305
- | 'nz'
3306
- | 'om'
3307
- | 'pa'
3308
- | 'pe'
3309
- | 'pf'
3310
- | 'pg'
3311
- | 'ph'
3312
- | 'pk'
3313
- | 'pl'
3314
- | 'pm'
3315
- | 'pn'
3316
- | 'pr'
3317
- | 'ps'
3318
- | 'pt'
3319
- | 'pw'
3320
- | 'py'
3321
- | 'qa'
3322
- | 'qz'
3323
- | 're'
3324
- | 'ro'
3325
- | 'rs'
3326
- | 'ru'
3327
- | 'rw'
3328
- | 'sa'
3329
- | 'sb'
3330
- | 'sc'
3331
- | 'sd'
3332
- | 'se'
3333
- | 'sg'
3334
- | 'sh'
3335
- | 'si'
3336
- | 'sj'
3337
- | 'sk'
3338
- | 'sl'
3339
- | 'sm'
3340
- | 'sn'
3341
- | 'so'
3342
- | 'sr'
3343
- | 'ss'
3344
- | 'st'
3345
- | 'sv'
3346
- | 'sx'
3347
- | 'sy'
3348
- | 'sz'
3349
- | 'tc'
3350
- | 'td'
3351
- | 'tf'
3352
- | 'tg'
3353
- | 'th'
3354
- | 'tj'
3355
- | 'tk'
3356
- | 'tl'
3357
- | 'tm'
3358
- | 'tn'
3359
- | 'to'
3360
- | 'tr'
3361
- | 'tt'
3362
- | 'tv'
3363
- | 'tw'
3364
- | 'tz'
3365
- | 'ua'
3366
- | 'ug'
3367
- | 'um'
3368
- | 'us'
3369
- | 'uy'
3370
- | 'uz'
3371
- | 'va'
3372
- | 'vc'
3373
- | 've'
3374
- | 'vg'
3375
- | 'vi'
3376
- | 'vn'
3377
- | 'vu'
3378
- | 'wf'
3379
- | 'ws'
3380
- | 'xx'
3381
- | 'ye'
3382
- | 'yt'
3383
- | 'za'
3384
- | 'zm'
3385
- | 'zw';
3386
- }
3387
-
3388
- interface Kanji {
3389
- /**
3390
- * City, district, suburb, town, or village.
3391
- */
3392
- city?: string | null;
3393
-
3394
- /**
3395
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3396
- */
3397
- country?: Kanji.Country | null;
3398
-
3399
- /**
3400
- * Address line 1 (e.g., street, PO Box, or company name).
3401
- */
3402
- line1?: string | null;
3403
-
3404
- /**
3405
- * Address line 2 (e.g., apartment, suite, unit, or building).
3406
- */
3407
- line2?: string | null;
3408
-
3409
- /**
3410
- * ZIP or postal code.
3411
- */
3412
- postal_code?: string | null;
3413
-
3414
- /**
3415
- * State, county, province, or region.
3416
- */
3417
- state?: string | null;
3418
-
3419
- /**
3420
- * Town or cho-me.
3421
- */
3422
- town?: string | null;
3423
- }
3424
-
3425
- namespace Kanji {
3426
- type Country =
3427
- | 'ad'
3428
- | 'ae'
3429
- | 'af'
3430
- | 'ag'
3431
- | 'ai'
3432
- | 'al'
3433
- | 'am'
3434
- | 'ao'
3435
- | 'aq'
3436
- | 'ar'
3437
- | 'as'
3438
- | 'at'
3439
- | 'au'
3440
- | 'aw'
3441
- | 'ax'
3442
- | 'az'
3443
- | 'ba'
3444
- | 'bb'
3445
- | 'bd'
3446
- | 'be'
3447
- | 'bf'
3448
- | 'bg'
3449
- | 'bh'
3450
- | 'bi'
3451
- | 'bj'
3452
- | 'bl'
3453
- | 'bm'
3454
- | 'bn'
3455
- | 'bo'
3456
- | 'bq'
3457
- | 'br'
3458
- | 'bs'
3459
- | 'bt'
3460
- | 'bv'
3461
- | 'bw'
3462
- | 'by'
3463
- | 'bz'
3464
- | 'ca'
3465
- | 'cc'
3466
- | 'cd'
3467
- | 'cf'
3468
- | 'cg'
3469
- | 'ch'
3470
- | 'ci'
3471
- | 'ck'
3472
- | 'cl'
3473
- | 'cm'
3474
- | 'cn'
3475
- | 'co'
3476
- | 'cr'
3477
- | 'cu'
3478
- | 'cv'
3479
- | 'cw'
3480
- | 'cx'
3481
- | 'cy'
3482
- | 'cz'
3483
- | 'de'
3484
- | 'dj'
3485
- | 'dk'
3486
- | 'dm'
3487
- | 'do'
3488
- | 'dz'
3489
- | 'ec'
3490
- | 'ee'
3491
- | 'eg'
3492
- | 'eh'
3493
- | 'er'
3494
- | 'es'
3495
- | 'et'
3496
- | 'fi'
3497
- | 'fj'
3498
- | 'fk'
3499
- | 'fm'
3500
- | 'fo'
3501
- | 'fr'
3502
- | 'ga'
3503
- | 'gb'
3504
- | 'gd'
3505
- | 'ge'
3506
- | 'gf'
3507
- | 'gg'
3508
- | 'gh'
3509
- | 'gi'
3510
- | 'gl'
3511
- | 'gm'
3512
- | 'gn'
3513
- | 'gp'
3514
- | 'gq'
3515
- | 'gr'
3516
- | 'gs'
3517
- | 'gt'
3518
- | 'gu'
3519
- | 'gw'
3520
- | 'gy'
3521
- | 'hk'
3522
- | 'hm'
3523
- | 'hn'
3524
- | 'hr'
3525
- | 'ht'
3526
- | 'hu'
3527
- | 'id'
3528
- | 'ie'
3529
- | 'il'
3530
- | 'im'
3531
- | 'in'
3532
- | 'io'
3533
- | 'iq'
3534
- | 'ir'
3535
- | 'is'
3536
- | 'it'
3537
- | 'je'
3538
- | 'jm'
3539
- | 'jo'
3540
- | 'jp'
3541
- | 'ke'
3542
- | 'kg'
3543
- | 'kh'
3544
- | 'ki'
3545
- | 'km'
3546
- | 'kn'
3547
- | 'kp'
3548
- | 'kr'
3549
- | 'kw'
3550
- | 'ky'
3551
- | 'kz'
3552
- | 'la'
3553
- | 'lb'
3554
- | 'lc'
3555
- | 'li'
3556
- | 'lk'
3557
- | 'lr'
3558
- | 'ls'
3559
- | 'lt'
3560
- | 'lu'
3561
- | 'lv'
3562
- | 'ly'
3563
- | 'ma'
3564
- | 'mc'
3565
- | 'md'
3566
- | 'me'
3567
- | 'mf'
3568
- | 'mg'
3569
- | 'mh'
3570
- | 'mk'
3571
- | 'ml'
3572
- | 'mm'
3573
- | 'mn'
3574
- | 'mo'
3575
- | 'mp'
3576
- | 'mq'
3577
- | 'mr'
3578
- | 'ms'
3579
- | 'mt'
3580
- | 'mu'
3581
- | 'mv'
3582
- | 'mw'
3583
- | 'mx'
3584
- | 'my'
3585
- | 'mz'
3586
- | 'na'
3587
- | 'nc'
3588
- | 'ne'
3589
- | 'nf'
3590
- | 'ng'
3591
- | 'ni'
3592
- | 'nl'
3593
- | 'no'
3594
- | 'np'
3595
- | 'nr'
3596
- | 'nu'
3597
- | 'nz'
3598
- | 'om'
3599
- | 'pa'
3600
- | 'pe'
3601
- | 'pf'
3602
- | 'pg'
3603
- | 'ph'
3604
- | 'pk'
3605
- | 'pl'
3606
- | 'pm'
3607
- | 'pn'
3608
- | 'pr'
3609
- | 'ps'
3610
- | 'pt'
3611
- | 'pw'
3612
- | 'py'
3613
- | 'qa'
3614
- | 'qz'
3615
- | 're'
3616
- | 'ro'
3617
- | 'rs'
3618
- | 'ru'
3619
- | 'rw'
3620
- | 'sa'
3621
- | 'sb'
3622
- | 'sc'
3623
- | 'sd'
3624
- | 'se'
3625
- | 'sg'
3626
- | 'sh'
3627
- | 'si'
3628
- | 'sj'
3629
- | 'sk'
3630
- | 'sl'
3631
- | 'sm'
3632
- | 'sn'
3633
- | 'so'
3634
- | 'sr'
3635
- | 'ss'
3636
- | 'st'
3637
- | 'sv'
3638
- | 'sx'
3639
- | 'sy'
3640
- | 'sz'
3641
- | 'tc'
3642
- | 'td'
3643
- | 'tf'
3644
- | 'tg'
3645
- | 'th'
3646
- | 'tj'
3647
- | 'tk'
3648
- | 'tl'
3649
- | 'tm'
3650
- | 'tn'
3651
- | 'to'
3652
- | 'tr'
3653
- | 'tt'
3654
- | 'tv'
3655
- | 'tw'
3656
- | 'tz'
3657
- | 'ua'
3658
- | 'ug'
3659
- | 'um'
3660
- | 'us'
3661
- | 'uy'
3662
- | 'uz'
3663
- | 'va'
3664
- | 'vc'
3665
- | 've'
3666
- | 'vg'
3667
- | 'vi'
3668
- | 'vn'
3669
- | 'vu'
3670
- | 'wf'
3671
- | 'ws'
3672
- | 'xx'
3673
- | 'ye'
3674
- | 'yt'
3675
- | 'za'
3676
- | 'zm'
3677
- | 'zw';
3678
- }
3679
- }
3680
-
3681
- interface ScriptNames {
3682
- /**
3683
- * Persons name in kana script.
3684
- */
3685
- kana?: ScriptNames.Kana | null;
3686
-
3687
- /**
3688
- * Persons name in kanji script.
3689
- */
3690
- kanji?: ScriptNames.Kanji | null;
3691
- }
3692
-
3693
- namespace ScriptNames {
3694
- interface Kana {
3695
- /**
3696
- * The person's first or given name.
3697
- */
3698
- given_name?: string | null;
3699
-
3700
- /**
3701
- * The person's last or family name.
3702
- */
3703
- surname?: string | null;
3704
- }
3705
-
3706
- interface Kanji {
3707
- /**
3708
- * The person's first or given name.
3709
- */
3710
- given_name?: string | null;
3711
-
3712
- /**
3713
- * The person's last or family name.
3714
- */
3715
- surname?: string | null;
3716
- }
3717
- }
3718
- }
3719
- }
3720
- }
3721
-
3722
- namespace Core {
3723
- namespace Accounts {
3724
- interface PersonListParams {
3725
- /**
3726
- * The upper limit on the number of accounts returned by the List Account request.
3727
- */
3728
- limit?: number;
3729
- }
3730
- }
3731
- }
3732
-
3733
- namespace Core {
3734
- namespace Accounts {
3735
- interface PersonDeleteParams {}
3736
- }
3737
- }
3738
-
3739
- namespace Core {
3740
- namespace Accounts {
3741
- class PersonsResource {
3742
- /**
3743
- * Create a Person associated with an Account.
3744
- */
3745
- create(
3746
- id: string,
3747
- params?: PersonCreateParams,
3748
- options?: RequestOptions
3749
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3750
- create(
3751
- id: string,
3752
- options?: RequestOptions
3753
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3754
-
3755
- /**
3756
- * Retrieves a Person associated with an Account.
3757
- */
3758
- retrieve(
3759
- accountId: string,
3760
- id: string,
3761
- params?: PersonRetrieveParams,
3762
- options?: RequestOptions
3763
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3764
- retrieve(
3765
- accountId: string,
3766
- id: string,
3767
- options?: RequestOptions
3768
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3769
-
3770
- /**
3771
- * Updates a Person associated with an Account.
3772
- */
3773
- update(
3774
- accountId: string,
3775
- id: string,
3776
- params?: PersonUpdateParams,
3777
- options?: RequestOptions
3778
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3779
-
3780
- /**
3781
- * Returns a list of Persons associated with an Account.
3782
- */
3783
- list(
3784
- id: string,
3785
- params?: PersonListParams,
3786
- options?: RequestOptions
3787
- ): ApiListPromise<Stripe.V2.Core.Person>;
3788
- list(
3789
- id: string,
3790
- options?: RequestOptions
3791
- ): ApiListPromise<Stripe.V2.Core.Person>;
3792
-
3793
- /**
3794
- * Delete a Person associated with an Account.
3795
- */
3796
- del(
3797
- accountId: string,
3798
- id: string,
3799
- params?: PersonDeleteParams,
3800
- options?: RequestOptions
3801
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3802
- del(
3803
- accountId: string,
3804
- id: string,
3805
- options?: RequestOptions
3806
- ): Promise<Stripe.Response<Stripe.V2.Core.Person>>;
3807
- }
3808
- }
3809
- }
3810
- }
3811
- }
3812
- }