stripe 22.2.0-beta.2 → 22.2.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 (874) hide show
  1. package/CHANGELOG.md +84 -1727
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +65 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +1 -0
  9. package/cjs/RequestSender.js +10 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/lib.d.ts +48 -3
  17. package/cjs/net/FetchHttpClient.js.map +1 -1
  18. package/cjs/net/HttpClient.js.map +1 -1
  19. package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
  20. package/cjs/platform/NodePlatformFunctions.js +17 -0
  21. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  22. package/cjs/platform/PlatformFunctions.d.ts +13 -0
  23. package/cjs/platform/PlatformFunctions.js +21 -0
  24. package/cjs/platform/PlatformFunctions.js.map +1 -1
  25. package/cjs/resources/AccountLinks.d.ts +1 -1
  26. package/cjs/resources/AccountSessions.d.ts +0 -262
  27. package/cjs/resources/AccountSessions.js.map +1 -1
  28. package/cjs/resources/Accounts.d.ts +45 -819
  29. package/cjs/resources/Accounts.js +0 -15
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/Apps/index.d.ts +4 -4
  32. package/cjs/resources/Balance.d.ts +0 -67
  33. package/cjs/resources/BalanceSettings.d.ts +86 -0
  34. package/cjs/resources/BankAccounts.d.ts +2 -2
  35. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  36. package/cjs/resources/Billing/index.d.ts +24 -27
  37. package/cjs/resources/Billing/index.js +0 -2
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  40. package/cjs/resources/Capabilities.d.ts +2 -2
  41. package/cjs/resources/Cards.d.ts +0 -4
  42. package/cjs/resources/Charges.d.ts +92 -3064
  43. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  44. package/cjs/resources/Checkout/index.d.ts +6 -6
  45. package/cjs/resources/Climate/index.d.ts +9 -9
  46. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  47. package/cjs/resources/Coupons.d.ts +0 -47
  48. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  49. package/cjs/resources/CreditNotes.d.ts +1 -7
  50. package/cjs/resources/CreditNotes.js +0 -14
  51. package/cjs/resources/CreditNotes.js.map +1 -1
  52. package/cjs/resources/CustomerSessions.d.ts +0 -68
  53. package/cjs/resources/Customers.d.ts +1 -7
  54. package/cjs/resources/Customers.js +0 -15
  55. package/cjs/resources/Customers.js.map +1 -1
  56. package/cjs/resources/Discounts.d.ts +4 -4
  57. package/cjs/resources/Disputes.d.ts +0 -29
  58. package/cjs/resources/Entitlements/index.d.ts +6 -6
  59. package/cjs/resources/Events.d.ts +2 -547
  60. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  61. package/cjs/resources/ExternalAccounts.js +0 -44
  62. package/cjs/resources/ExternalAccounts.js.map +1 -1
  63. package/cjs/resources/Files.d.ts +2 -0
  64. package/cjs/resources/Files.js +5 -0
  65. package/cjs/resources/Files.js.map +1 -1
  66. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  67. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  68. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  69. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  70. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  71. package/cjs/resources/FinancialConnections/index.js +0 -4
  72. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  73. package/cjs/resources/Forwarding/index.d.ts +3 -3
  74. package/cjs/resources/Identity/index.d.ts +8 -8
  75. package/cjs/resources/InvoiceItems.d.ts +28 -85
  76. package/cjs/resources/InvoiceItems.js.map +1 -1
  77. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  78. package/cjs/resources/Invoices.d.ts +26 -1348
  79. package/cjs/resources/Invoices.js +0 -70
  80. package/cjs/resources/Invoices.js.map +1 -1
  81. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  82. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  83. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  84. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  85. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  86. package/cjs/resources/Issuing/index.d.ts +35 -60
  87. package/cjs/resources/Issuing/index.js +0 -6
  88. package/cjs/resources/Issuing/index.js.map +1 -1
  89. package/cjs/resources/LineItems.d.ts +2 -29
  90. package/cjs/resources/Mandates.d.ts +4 -33
  91. package/cjs/resources/Mandates.js +0 -8
  92. package/cjs/resources/Mandates.js.map +1 -1
  93. package/cjs/resources/OAuth.d.ts +7 -8
  94. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  95. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  96. package/cjs/resources/PaymentIntents.js +3 -28
  97. package/cjs/resources/PaymentIntents.js.map +1 -1
  98. package/cjs/resources/PaymentLinks.d.ts +88 -20
  99. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  100. package/cjs/resources/PaymentMethods.d.ts +22 -152
  101. package/cjs/resources/PaymentMethods.js.map +1 -1
  102. package/cjs/resources/PaymentRecords.d.ts +23 -92
  103. package/cjs/resources/Payouts.d.ts +1 -1
  104. package/cjs/resources/Persons.d.ts +2 -2
  105. package/cjs/resources/Plans.d.ts +0 -16
  106. package/cjs/resources/Prices.d.ts +0 -52
  107. package/cjs/resources/Products.d.ts +0 -42
  108. package/cjs/resources/PromotionCodes.d.ts +0 -12
  109. package/cjs/resources/PromotionCodes.js +0 -28
  110. package/cjs/resources/PromotionCodes.js.map +1 -1
  111. package/cjs/resources/Quotes.d.ts +160 -2369
  112. package/cjs/resources/Quotes.js +13 -1181
  113. package/cjs/resources/Quotes.js.map +1 -1
  114. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  115. package/cjs/resources/Radar/index.d.ts +12 -12
  116. package/cjs/resources/Refunds.d.ts +3 -11
  117. package/cjs/resources/Reporting/index.d.ts +5 -5
  118. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  119. package/cjs/resources/Reserve/Holds.js +0 -19
  120. package/cjs/resources/Reserve/Holds.js.map +1 -1
  121. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  122. package/cjs/resources/Reserve/Plans.js +0 -11
  123. package/cjs/resources/Reserve/Plans.js.map +1 -1
  124. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  125. package/cjs/resources/Reserve/Releases.js +0 -19
  126. package/cjs/resources/Reserve/Releases.js.map +1 -1
  127. package/cjs/resources/Reserve/index.d.ts +3 -14
  128. package/cjs/resources/Reserve/index.js +2 -10
  129. package/cjs/resources/Reserve/index.js.map +1 -1
  130. package/cjs/resources/SetupAttempts.d.ts +3 -25
  131. package/cjs/resources/SetupIntents.d.ts +77 -336
  132. package/cjs/resources/Sigma/index.d.ts +2 -2
  133. package/cjs/resources/Sources.d.ts +1 -16
  134. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  135. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  136. package/cjs/resources/SubscriptionSchedules.js +0 -48
  137. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  138. package/cjs/resources/Subscriptions.d.ts +32 -490
  139. package/cjs/resources/Subscriptions.js +2 -31
  140. package/cjs/resources/Subscriptions.js.map +1 -1
  141. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  142. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  143. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  144. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  145. package/cjs/resources/Tax/index.d.ts +17 -31
  146. package/cjs/resources/Tax/index.js +0 -4
  147. package/cjs/resources/Tax/index.js.map +1 -1
  148. package/cjs/resources/TaxCodes.d.ts +0 -15
  149. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  150. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  151. package/cjs/resources/Terminal/Readers.js.map +1 -1
  152. package/cjs/resources/Terminal/index.d.ts +25 -30
  153. package/cjs/resources/Terminal/index.js +0 -2
  154. package/cjs/resources/Terminal/index.js.map +1 -1
  155. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  156. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  157. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  158. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  159. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  160. package/cjs/resources/TestHelpers/index.js +4 -6
  161. package/cjs/resources/TestHelpers/index.js.map +1 -1
  162. package/cjs/resources/Transfers.d.ts +0 -8
  163. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  164. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  165. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  166. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  167. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  168. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  169. package/cjs/resources/Treasury/index.d.ts +33 -33
  170. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  171. package/cjs/resources/V2/Billing/index.js +0 -8
  172. package/cjs/resources/V2/Billing/index.js.map +1 -1
  173. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  174. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  175. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  176. package/cjs/resources/V2/Core/AccountTokens.js +5 -1
  177. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  178. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  179. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  180. package/cjs/resources/V2/Core/Accounts.js +1 -1
  181. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  182. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  183. package/cjs/resources/V2/Core/Events.js +2 -1
  184. package/cjs/resources/V2/Core/Events.js.map +1 -1
  185. package/cjs/resources/V2/Core/index.d.ts +19 -29
  186. package/cjs/resources/V2/Core/index.js +0 -4
  187. package/cjs/resources/V2/Core/index.js.map +1 -1
  188. package/cjs/resources/V2/index.d.ts +0 -27
  189. package/cjs/resources/V2/index.js +0 -14
  190. package/cjs/resources/V2/index.js.map +1 -1
  191. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  192. package/cjs/resources.d.ts +0 -10
  193. package/cjs/resources.js +10 -146
  194. package/cjs/resources.js.map +1 -1
  195. package/cjs/stripe.core.d.ts +30 -69
  196. package/cjs/stripe.core.js +44 -61
  197. package/cjs/stripe.core.js.map +1 -1
  198. package/cjs/utils.d.ts +0 -2
  199. package/cjs/utils.js +1 -16
  200. package/cjs/utils.js.map +1 -1
  201. package/esm/Error.d.ts +0 -50
  202. package/esm/Error.js +0 -109
  203. package/esm/Error.js.map +1 -1
  204. package/esm/RequestSender.d.ts +1 -0
  205. package/esm/RequestSender.js +11 -3
  206. package/esm/RequestSender.js.map +1 -1
  207. package/esm/Types.d.ts +2 -4
  208. package/esm/Types.js.map +1 -1
  209. package/esm/apiVersion.d.ts +2 -1
  210. package/esm/apiVersion.js +2 -1
  211. package/esm/apiVersion.js.map +1 -1
  212. package/esm/lib.d.ts +48 -3
  213. package/esm/net/FetchHttpClient.js.map +1 -1
  214. package/esm/net/HttpClient.js.map +1 -1
  215. package/esm/platform/NodePlatformFunctions.d.ts +6 -0
  216. package/esm/platform/NodePlatformFunctions.js +17 -0
  217. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  218. package/esm/platform/PlatformFunctions.d.ts +13 -0
  219. package/esm/platform/PlatformFunctions.js +21 -0
  220. package/esm/platform/PlatformFunctions.js.map +1 -1
  221. package/esm/resources/AccountLinks.d.ts +1 -1
  222. package/esm/resources/AccountSessions.d.ts +0 -262
  223. package/esm/resources/AccountSessions.js.map +1 -1
  224. package/esm/resources/Accounts.d.ts +45 -819
  225. package/esm/resources/Accounts.js +0 -15
  226. package/esm/resources/Accounts.js.map +1 -1
  227. package/esm/resources/Apps/index.d.ts +4 -4
  228. package/esm/resources/Balance.d.ts +0 -67
  229. package/esm/resources/BalanceSettings.d.ts +86 -0
  230. package/esm/resources/BankAccounts.d.ts +2 -2
  231. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  232. package/esm/resources/Billing/index.d.ts +24 -27
  233. package/esm/resources/Billing/index.js +0 -2
  234. package/esm/resources/Billing/index.js.map +1 -1
  235. package/esm/resources/BillingPortal/index.d.ts +5 -5
  236. package/esm/resources/Capabilities.d.ts +2 -2
  237. package/esm/resources/Cards.d.ts +0 -4
  238. package/esm/resources/Charges.d.ts +92 -3064
  239. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  240. package/esm/resources/Checkout/index.d.ts +6 -6
  241. package/esm/resources/Climate/index.d.ts +9 -9
  242. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  243. package/esm/resources/Coupons.d.ts +0 -47
  244. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  245. package/esm/resources/CreditNotes.d.ts +1 -7
  246. package/esm/resources/CreditNotes.js +0 -14
  247. package/esm/resources/CreditNotes.js.map +1 -1
  248. package/esm/resources/CustomerSessions.d.ts +0 -68
  249. package/esm/resources/Customers.d.ts +1 -7
  250. package/esm/resources/Customers.js +0 -15
  251. package/esm/resources/Customers.js.map +1 -1
  252. package/esm/resources/Discounts.d.ts +4 -4
  253. package/esm/resources/Disputes.d.ts +0 -29
  254. package/esm/resources/Entitlements/index.d.ts +6 -6
  255. package/esm/resources/Events.d.ts +2 -547
  256. package/esm/resources/ExternalAccounts.d.ts +1 -212
  257. package/esm/resources/ExternalAccounts.js +1 -42
  258. package/esm/resources/ExternalAccounts.js.map +1 -1
  259. package/esm/resources/Files.d.ts +2 -0
  260. package/esm/resources/Files.js +5 -0
  261. package/esm/resources/Files.js.map +1 -1
  262. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  263. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  264. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  265. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  266. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  267. package/esm/resources/FinancialConnections/index.js +0 -4
  268. package/esm/resources/FinancialConnections/index.js.map +1 -1
  269. package/esm/resources/Forwarding/index.d.ts +3 -3
  270. package/esm/resources/Identity/index.d.ts +8 -8
  271. package/esm/resources/InvoiceItems.d.ts +28 -85
  272. package/esm/resources/InvoiceItems.js.map +1 -1
  273. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  274. package/esm/resources/Invoices.d.ts +26 -1348
  275. package/esm/resources/Invoices.js +0 -70
  276. package/esm/resources/Invoices.js.map +1 -1
  277. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  278. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  279. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  280. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  281. package/esm/resources/Issuing/Transactions.js.map +1 -1
  282. package/esm/resources/Issuing/index.d.ts +35 -60
  283. package/esm/resources/Issuing/index.js +0 -6
  284. package/esm/resources/Issuing/index.js.map +1 -1
  285. package/esm/resources/LineItems.d.ts +2 -29
  286. package/esm/resources/Mandates.d.ts +4 -33
  287. package/esm/resources/Mandates.js +0 -8
  288. package/esm/resources/Mandates.js.map +1 -1
  289. package/esm/resources/OAuth.d.ts +7 -8
  290. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  291. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  292. package/esm/resources/PaymentIntents.js +3 -28
  293. package/esm/resources/PaymentIntents.js.map +1 -1
  294. package/esm/resources/PaymentLinks.d.ts +88 -20
  295. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  296. package/esm/resources/PaymentMethods.d.ts +22 -152
  297. package/esm/resources/PaymentMethods.js.map +1 -1
  298. package/esm/resources/PaymentRecords.d.ts +23 -92
  299. package/esm/resources/Payouts.d.ts +1 -1
  300. package/esm/resources/Persons.d.ts +2 -2
  301. package/esm/resources/Plans.d.ts +0 -16
  302. package/esm/resources/Prices.d.ts +0 -52
  303. package/esm/resources/Products.d.ts +0 -42
  304. package/esm/resources/PromotionCodes.d.ts +0 -12
  305. package/esm/resources/PromotionCodes.js +0 -28
  306. package/esm/resources/PromotionCodes.js.map +1 -1
  307. package/esm/resources/Quotes.d.ts +160 -2369
  308. package/esm/resources/Quotes.js +13 -1181
  309. package/esm/resources/Quotes.js.map +1 -1
  310. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  311. package/esm/resources/Radar/index.d.ts +12 -12
  312. package/esm/resources/Refunds.d.ts +3 -11
  313. package/esm/resources/Reporting/index.d.ts +5 -5
  314. package/esm/resources/Reserve/Holds.d.ts +1 -53
  315. package/esm/resources/Reserve/Holds.js +1 -17
  316. package/esm/resources/Reserve/Holds.js.map +1 -1
  317. package/esm/resources/Reserve/Plans.d.ts +0 -16
  318. package/esm/resources/Reserve/Plans.js +1 -9
  319. package/esm/resources/Reserve/Plans.js.map +1 -1
  320. package/esm/resources/Reserve/Releases.d.ts +1 -41
  321. package/esm/resources/Reserve/Releases.js +1 -17
  322. package/esm/resources/Reserve/Releases.js.map +1 -1
  323. package/esm/resources/Reserve/index.d.ts +3 -14
  324. package/esm/resources/Reserve/index.js +2 -10
  325. package/esm/resources/Reserve/index.js.map +1 -1
  326. package/esm/resources/SetupAttempts.d.ts +3 -25
  327. package/esm/resources/SetupIntents.d.ts +77 -336
  328. package/esm/resources/Sigma/index.d.ts +2 -2
  329. package/esm/resources/Sources.d.ts +1 -16
  330. package/esm/resources/SubscriptionItems.d.ts +4 -165
  331. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  332. package/esm/resources/SubscriptionSchedules.js +0 -48
  333. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  334. package/esm/resources/Subscriptions.d.ts +32 -490
  335. package/esm/resources/Subscriptions.js +2 -31
  336. package/esm/resources/Subscriptions.js.map +1 -1
  337. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  338. package/esm/resources/Tax/Calculations.d.ts +3 -7
  339. package/esm/resources/Tax/Registrations.d.ts +2 -138
  340. package/esm/resources/Tax/Transactions.d.ts +2 -2
  341. package/esm/resources/Tax/index.d.ts +17 -31
  342. package/esm/resources/Tax/index.js +0 -4
  343. package/esm/resources/Tax/index.js.map +1 -1
  344. package/esm/resources/TaxCodes.d.ts +0 -15
  345. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  346. package/esm/resources/Terminal/Readers.d.ts +143 -19
  347. package/esm/resources/Terminal/Readers.js.map +1 -1
  348. package/esm/resources/Terminal/index.d.ts +25 -30
  349. package/esm/resources/Terminal/index.js +0 -2
  350. package/esm/resources/Terminal/index.js.map +1 -1
  351. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  352. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  353. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  354. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  355. package/esm/resources/TestHelpers/index.d.ts +5 -8
  356. package/esm/resources/TestHelpers/index.js +0 -2
  357. package/esm/resources/TestHelpers/index.js.map +1 -1
  358. package/esm/resources/Transfers.d.ts +0 -8
  359. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  360. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  361. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  362. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  363. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  364. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  365. package/esm/resources/Treasury/index.d.ts +33 -33
  366. package/esm/resources/V2/Billing/index.d.ts +6 -45
  367. package/esm/resources/V2/Billing/index.js +0 -8
  368. package/esm/resources/V2/Billing/index.js.map +1 -1
  369. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  370. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  371. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  372. package/esm/resources/V2/Core/AccountTokens.js +5 -1
  373. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  374. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  375. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  376. package/esm/resources/V2/Core/Accounts.js +1 -1
  377. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  378. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  379. package/esm/resources/V2/Core/Events.js +2 -1
  380. package/esm/resources/V2/Core/Events.js.map +1 -1
  381. package/esm/resources/V2/Core/index.d.ts +19 -29
  382. package/esm/resources/V2/Core/index.js +0 -4
  383. package/esm/resources/V2/Core/index.js.map +1 -1
  384. package/esm/resources/V2/index.d.ts +0 -27
  385. package/esm/resources/V2/index.js +0 -14
  386. package/esm/resources/V2/index.js.map +1 -1
  387. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  388. package/esm/resources.d.ts +0 -10
  389. package/esm/resources.js +0 -131
  390. package/esm/resources.js.map +1 -1
  391. package/esm/stripe.core.d.ts +30 -69
  392. package/esm/stripe.core.js +15 -32
  393. package/esm/stripe.core.js.map +1 -1
  394. package/esm/stripe.esm.node.d.ts +30 -70
  395. package/esm/stripe.esm.node.js +15 -32
  396. package/esm/stripe.esm.node.js.map +1 -1
  397. package/esm/utils.d.ts +0 -2
  398. package/esm/utils.js +0 -13
  399. package/esm/utils.js.map +1 -1
  400. package/package.json +1 -1
  401. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  402. package/cjs/StripeEventNotificationHandler.js +0 -147
  403. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  404. package/cjs/resources/AccountNotices.d.ts +0 -140
  405. package/cjs/resources/AccountNotices.js +0 -29
  406. package/cjs/resources/AccountNotices.js.map +0 -1
  407. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  408. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  409. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  410. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  411. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  412. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  413. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  414. package/cjs/resources/Billing/Analytics/index.js +0 -13
  415. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  416. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  417. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  418. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  419. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  420. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  421. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  422. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  423. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  424. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  425. package/cjs/resources/Capital/index.d.ts +0 -25
  426. package/cjs/resources/Capital/index.js +0 -17
  427. package/cjs/resources/Capital/index.js.map +0 -1
  428. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  429. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  430. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  431. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  432. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  433. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  434. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  435. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  436. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  437. package/cjs/resources/FxQuotes.d.ts +0 -212
  438. package/cjs/resources/FxQuotes.js +0 -29
  439. package/cjs/resources/FxQuotes.js.map +0 -1
  440. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  441. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  442. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  443. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  444. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  445. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  446. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  447. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  448. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  449. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  450. package/cjs/resources/Issuing/Settlements.js +0 -4
  451. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  452. package/cjs/resources/Margins.d.ts +0 -115
  453. package/cjs/resources/Margins.js +0 -35
  454. package/cjs/resources/Margins.js.map +0 -1
  455. package/cjs/resources/Orders.d.ts +0 -4693
  456. package/cjs/resources/Orders.js +0 -457
  457. package/cjs/resources/Orders.js.map +0 -1
  458. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  459. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  460. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  461. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  462. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  463. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  464. package/cjs/resources/Privacy/index.d.ts +0 -22
  465. package/cjs/resources/Privacy/index.js +0 -13
  466. package/cjs/resources/Privacy/index.js.map +0 -1
  467. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  468. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  469. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  470. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  471. package/cjs/resources/ProductCatalog/index.js +0 -13
  472. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  473. package/cjs/resources/QuoteLines.d.ts +0 -507
  474. package/cjs/resources/QuoteLines.js +0 -4
  475. package/cjs/resources/QuoteLines.js.map +0 -1
  476. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  477. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  478. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  479. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  480. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  481. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  482. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  483. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  484. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  485. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  486. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  487. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  488. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  489. package/cjs/resources/SharedPayment/index.js +0 -15
  490. package/cjs/resources/SharedPayment/index.js.map +0 -1
  491. package/cjs/resources/Tax/Forms.d.ts +0 -230
  492. package/cjs/resources/Tax/Forms.js +0 -32
  493. package/cjs/resources/Tax/Forms.js.map +0 -1
  494. package/cjs/resources/Tax/Locations.d.ts +0 -108
  495. package/cjs/resources/Tax/Locations.js +0 -33
  496. package/cjs/resources/Tax/Locations.js.map +0 -1
  497. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  498. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  499. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  500. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  501. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  502. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  503. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  504. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  505. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  506. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  507. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  508. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  509. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  510. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  511. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  512. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  513. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  514. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  515. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  516. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  517. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  518. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  519. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  520. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  521. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  522. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  523. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  524. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  525. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  526. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  527. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  528. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  529. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  530. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  531. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  532. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  533. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  534. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  535. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  536. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  537. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  538. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  539. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  540. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  541. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  542. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  543. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  544. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  545. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  546. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  547. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  548. package/cjs/resources/V2/Data/index.d.ts +0 -10
  549. package/cjs/resources/V2/Data/index.js +0 -13
  550. package/cjs/resources/V2/Data/index.js.map +0 -1
  551. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  552. package/cjs/resources/V2/EventMisc.js +0 -2
  553. package/cjs/resources/V2/EventMisc.js.map +0 -1
  554. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  555. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  556. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  557. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  558. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  559. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  560. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  561. package/cjs/resources/V2/Extend/index.js +0 -15
  562. package/cjs/resources/V2/Extend/index.js.map +0 -1
  563. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  564. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  565. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  566. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  567. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  568. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  569. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  570. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  571. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  572. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  573. package/cjs/resources/V2/Iam/index.js +0 -13
  574. package/cjs/resources/V2/Iam/index.js.map +0 -1
  575. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  576. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  577. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  578. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  579. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  580. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  581. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  582. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  583. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  584. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  585. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  586. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  587. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  588. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  589. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  590. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  591. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  592. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  593. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  594. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  595. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  596. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  597. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  598. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  599. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  600. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  601. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  602. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  603. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  604. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  605. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  606. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  607. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  608. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  609. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  610. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  611. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  612. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  613. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  614. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  615. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  616. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  617. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  618. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  619. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  620. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  621. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  622. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  623. package/cjs/resources/V2/Network/index.d.ts +0 -13
  624. package/cjs/resources/V2/Network/index.js +0 -13
  625. package/cjs/resources/V2/Network/index.js.map +0 -1
  626. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  627. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  628. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  629. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  630. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  631. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  632. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  633. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  634. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  635. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  636. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  637. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  638. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  639. package/esm/StripeEventNotificationHandler.js +0 -143
  640. package/esm/StripeEventNotificationHandler.js.map +0 -1
  641. package/esm/resources/AccountNotices.d.ts +0 -140
  642. package/esm/resources/AccountNotices.js +0 -25
  643. package/esm/resources/AccountNotices.js.map +0 -1
  644. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  645. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  646. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  647. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  648. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  649. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  650. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  651. package/esm/resources/Billing/Analytics/index.js +0 -9
  652. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  653. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  654. package/esm/resources/Capital/FinancingOffers.js +0 -26
  655. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  656. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  657. package/esm/resources/Capital/FinancingSummary.js +0 -11
  658. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  659. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  660. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  661. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  662. package/esm/resources/Capital/index.d.ts +0 -25
  663. package/esm/resources/Capital/index.js +0 -13
  664. package/esm/resources/Capital/index.js.map +0 -1
  665. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  666. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  667. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  668. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  669. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  670. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  671. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  672. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  673. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  674. package/esm/resources/FxQuotes.d.ts +0 -212
  675. package/esm/resources/FxQuotes.js +0 -25
  676. package/esm/resources/FxQuotes.js.map +0 -1
  677. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  678. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  679. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  680. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  681. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  682. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  683. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  684. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  685. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  686. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  687. package/esm/resources/Issuing/Settlements.js +0 -3
  688. package/esm/resources/Issuing/Settlements.js.map +0 -1
  689. package/esm/resources/Margins.d.ts +0 -115
  690. package/esm/resources/Margins.js +0 -31
  691. package/esm/resources/Margins.js.map +0 -1
  692. package/esm/resources/Orders.d.ts +0 -4693
  693. package/esm/resources/Orders.js +0 -453
  694. package/esm/resources/Orders.js.map +0 -1
  695. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  696. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  697. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  698. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  699. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  700. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  701. package/esm/resources/Privacy/index.d.ts +0 -22
  702. package/esm/resources/Privacy/index.js +0 -9
  703. package/esm/resources/Privacy/index.js.map +0 -1
  704. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  705. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  706. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  707. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  708. package/esm/resources/ProductCatalog/index.js +0 -9
  709. package/esm/resources/ProductCatalog/index.js.map +0 -1
  710. package/esm/resources/QuoteLines.d.ts +0 -507
  711. package/esm/resources/QuoteLines.js +0 -3
  712. package/esm/resources/QuoteLines.js.map +0 -1
  713. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  714. package/esm/resources/QuotePreviewInvoices.js +0 -3
  715. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  716. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  717. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  718. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  719. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  720. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  721. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  722. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  723. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  724. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  725. package/esm/resources/SharedPayment/index.d.ts +0 -19
  726. package/esm/resources/SharedPayment/index.js +0 -11
  727. package/esm/resources/SharedPayment/index.js.map +0 -1
  728. package/esm/resources/Tax/Forms.d.ts +0 -230
  729. package/esm/resources/Tax/Forms.js +0 -28
  730. package/esm/resources/Tax/Forms.js.map +0 -1
  731. package/esm/resources/Tax/Locations.d.ts +0 -108
  732. package/esm/resources/Tax/Locations.js +0 -29
  733. package/esm/resources/Tax/Locations.js.map +0 -1
  734. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  735. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  736. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  737. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  738. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  739. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  740. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  741. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  742. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  743. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  744. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  745. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  746. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  747. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  748. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  749. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  750. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  751. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  752. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  753. package/esm/resources/V2/Billing/Cadences.js +0 -194
  754. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  755. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  756. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  757. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  758. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  759. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  760. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  761. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  762. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  763. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  764. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  765. package/esm/resources/V2/Billing/Profiles.js +0 -31
  766. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  767. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  768. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  769. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  770. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  771. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  772. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  773. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  774. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  775. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  776. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  777. package/esm/resources/V2/Core/Vault/index.js +0 -11
  778. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  779. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  780. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  781. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  782. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  783. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  784. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  785. package/esm/resources/V2/Data/index.d.ts +0 -10
  786. package/esm/resources/V2/Data/index.js +0 -9
  787. package/esm/resources/V2/Data/index.js.map +0 -1
  788. package/esm/resources/V2/EventMisc.d.ts +0 -0
  789. package/esm/resources/V2/EventMisc.js +0 -2
  790. package/esm/resources/V2/EventMisc.js.map +0 -1
  791. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  792. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  793. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  794. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  795. package/esm/resources/V2/Extend/Workflows.js +0 -26
  796. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  797. package/esm/resources/V2/Extend/index.d.ts +0 -20
  798. package/esm/resources/V2/Extend/index.js +0 -11
  799. package/esm/resources/V2/Extend/index.js.map +0 -1
  800. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  801. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  802. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  803. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  804. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  805. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  806. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  807. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  808. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  809. package/esm/resources/V2/Iam/index.d.ts +0 -12
  810. package/esm/resources/V2/Iam/index.js +0 -9
  811. package/esm/resources/V2/Iam/index.js.map +0 -1
  812. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  813. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  814. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  815. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  816. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  817. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  818. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  819. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  820. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  821. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  822. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  823. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  824. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  825. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  826. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  827. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  828. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  829. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  830. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  831. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  832. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  833. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  834. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  835. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  836. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  837. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  838. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  839. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  840. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  841. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  842. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  843. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  844. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  845. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  846. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  847. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  848. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  849. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  850. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  851. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  852. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  853. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  854. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  855. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  856. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  857. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  858. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  859. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  860. package/esm/resources/V2/Network/index.d.ts +0 -13
  861. package/esm/resources/V2/Network/index.js +0 -9
  862. package/esm/resources/V2/Network/index.js.map +0 -1
  863. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  864. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  865. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  866. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  867. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  868. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  869. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  870. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  871. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  872. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  873. package/esm/resources/V2/TestHelpers/index.js +0 -9
  874. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { StripeResource } from '../../../StripeResource.js';
2
2
  import { V2Amount } from './../V2Amounts.js';
3
3
  import { MetadataParam, AddressParam, Decimal, JapanAddressParam, Metadata } from '../../../shared.js';
4
- import { RequestOptions, ApiListPromise, Response } from '../../../lib.js';
4
+ import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
5
5
  import { PersonResource } from './Accounts/Persons.js';
6
6
  import { PersonTokenResource } from './Accounts/PersonTokens.js';
7
7
  import { Stripe } from '../../../stripe.core.js';
@@ -14,9 +14,9 @@ export declare class AccountResource extends StripeResource {
14
14
  * Returns a list of Accounts.
15
15
  * @throws Stripe.RateLimitError
16
16
  */
17
- list(params?: V2.Core.AccountListParams, options?: RequestOptions): ApiListPromise<Account>;
17
+ list(params?: V2.Core.AccountListParams, options?: RequestOptions): V2ListPromise<Account>;
18
18
  /**
19
- * An Account is a representation of a company, individual or other entity that a user interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient.
19
+ * Create an Account that represents a company, individual, or other entity that your business interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient.
20
20
  * @throws Stripe.RateLimitError
21
21
  */
22
22
  create(params?: V2.Core.AccountCreateParams, options?: RequestOptions): Promise<Response<Account>>;
@@ -58,7 +58,7 @@ export interface Account {
58
58
  */
59
59
  configuration?: V2.Core.Account.Configuration;
60
60
  /**
61
- * The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
61
+ * The primary contact email address for the Account.
62
62
  */
63
63
  contact_email?: string;
64
64
  /**
@@ -105,10 +105,10 @@ export interface Account {
105
105
  export declare namespace V2 {
106
106
  namespace Core {
107
107
  namespace Account {
108
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
108
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
109
109
  interface Configuration {
110
110
  /**
111
- * The Customer Configuration allows the Account to be used in inbound payment flows.
111
+ * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
112
112
  */
113
113
  customer?: Configuration.Customer;
114
114
  /**
@@ -119,10 +119,6 @@ export declare namespace V2 {
119
119
  * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
120
120
  */
121
121
  recipient?: Configuration.Recipient;
122
- /**
123
- * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
124
- */
125
- storer?: Configuration.Storer;
126
122
  }
127
123
  type Dashboard = 'express' | 'full' | 'none';
128
124
  interface Defaults {
@@ -142,10 +138,6 @@ export declare namespace V2 {
142
138
  * Default responsibilities held by either Stripe or the platform.
143
139
  */
144
140
  responsibilities: Defaults.Responsibilities;
145
- /**
146
- * The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
147
- */
148
- timezone?: string;
149
141
  }
150
142
  interface FutureRequirements {
151
143
  /**
@@ -175,7 +167,7 @@ export declare namespace V2 {
175
167
  */
176
168
  country?: string;
177
169
  /**
178
- * The entity type.
170
+ * The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
179
171
  */
180
172
  entity_type?: Identity.EntityType;
181
173
  /**
@@ -257,10 +249,6 @@ export declare namespace V2 {
257
249
  * Settings for SEPA Direct Debit payments.
258
250
  */
259
251
  sepa_debit_payments?: Merchant.SepaDebitPayments;
260
- /**
261
- * Settings for Smart Disputes automatic response feature.
262
- */
263
- smart_disputes?: Merchant.SmartDisputes;
264
252
  /**
265
253
  * Statement descriptor.
266
254
  */
@@ -279,20 +267,6 @@ export declare namespace V2 {
279
267
  * Capabilities that have been requested on the Recipient Configuration.
280
268
  */
281
269
  capabilities?: Recipient.Capabilities;
282
- /**
283
- * The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.
284
- */
285
- default_outbound_destination?: Recipient.DefaultOutboundDestination;
286
- }
287
- interface Storer {
288
- /**
289
- * Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
290
- */
291
- applied: boolean;
292
- /**
293
- * Capabilities that have been requested on the Storer Configuration.
294
- */
295
- capabilities?: Storer.Capabilities;
296
270
  }
297
271
  namespace Customer {
298
272
  interface AutomaticIndirectTax {
@@ -315,7 +289,7 @@ export declare namespace V2 {
315
289
  }
316
290
  interface Billing {
317
291
  /**
318
- * ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
292
+ * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
319
293
  */
320
294
  default_payment_method?: string;
321
295
  /**
@@ -703,12 +677,6 @@ export declare namespace V2 {
703
677
  */
704
678
  creditor_id?: string;
705
679
  }
706
- interface SmartDisputes {
707
- /**
708
- * Settings for Smart Disputes auto_respond.
709
- */
710
- auto_respond?: SmartDisputes.AutoRespond;
711
- }
712
680
  interface StatementDescriptor {
713
681
  /**
714
682
  * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
@@ -1963,626 +1931,140 @@ export declare namespace V2 {
1963
1931
  }
1964
1932
  }
1965
1933
  namespace CardPayments {
1966
- interface DeclineOn {
1967
- /**
1968
- * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
1969
- */
1970
- avs_failure?: boolean;
1971
- /**
1972
- * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
1973
- */
1974
- cvc_failure?: boolean;
1975
- }
1976
- }
1977
- namespace KonbiniPayments {
1978
- interface Support {
1979
- /**
1980
- * Support email address for Konbini payments.
1981
- */
1982
- email?: string;
1983
- /**
1984
- * Support hours for Konbini payments.
1985
- */
1986
- hours?: Support.Hours;
1987
- /**
1988
- * Support phone number for Konbini payments.
1989
- */
1990
- phone?: string;
1991
- }
1992
- namespace Support {
1993
- interface Hours {
1994
- /**
1995
- * Support hours end time (JST time of day) for in `HH:MM` format.
1996
- */
1997
- end_time?: string;
1998
- /**
1999
- * Support hours start time (JST time of day) for in `HH:MM` format.
2000
- */
2001
- start_time?: string;
2002
- }
2003
- }
2004
- }
2005
- namespace ScriptStatementDescriptor {
2006
- interface Kana {
2007
- /**
2008
- * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2009
- */
2010
- descriptor?: string;
2011
- /**
2012
- * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2013
- */
2014
- prefix?: string;
2015
- }
2016
- interface Kanji {
2017
- /**
2018
- * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2019
- */
2020
- descriptor?: string;
2021
- /**
2022
- * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2023
- */
2024
- prefix?: string;
2025
- }
2026
- }
2027
- namespace SmartDisputes {
2028
- interface AutoRespond {
2029
- /**
2030
- * The preference for automatic dispute responses.
2031
- */
2032
- preference?: AutoRespond.Preference;
2033
- /**
2034
- * The effective value for automatic dispute responses.
2035
- */
2036
- value?: AutoRespond.Value;
2037
- }
2038
- namespace AutoRespond {
2039
- type Preference = 'inherit' | 'off' | 'on';
2040
- type Value = 'off' | 'on';
2041
- }
2042
- }
2043
- namespace Support {
2044
- interface Address {
2045
- /**
2046
- * City, district, suburb, town, or village.
2047
- */
2048
- city?: string;
2049
- /**
2050
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2051
- */
2052
- country?: string;
2053
- /**
2054
- * Address line 1 (e.g., street, PO Box, or company name).
2055
- */
2056
- line1?: string;
2057
- /**
2058
- * Address line 2 (e.g., apartment, suite, unit, or building).
2059
- */
2060
- line2?: string;
2061
- /**
2062
- * ZIP or postal code.
2063
- */
2064
- postal_code?: string;
2065
- /**
2066
- * State, county, province, or region.
2067
- */
2068
- state?: string;
2069
- /**
2070
- * Town or district.
2071
- */
2072
- town?: string;
2073
- }
2074
- }
2075
- }
2076
- namespace Recipient {
2077
- interface Capabilities {
2078
- /**
2079
- * Capabilities that enable OutboundPayments to a bank account linked to this Account.
2080
- */
2081
- bank_accounts?: Capabilities.BankAccounts;
2082
- /**
2083
- * Enables this Account to receive OutboundPayments to a linked debit card.
2084
- */
2085
- cards?: Capabilities.Cards;
2086
- /**
2087
- * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2088
- */
2089
- stripe_balance?: Capabilities.StripeBalance;
2090
- }
2091
- interface DefaultOutboundDestination {
2092
- /**
2093
- * The payout method ID of the default outbound destination.
2094
- */
2095
- id: string;
2096
- /**
2097
- * Closed Enum. The payout method type of the default outbound destination.
2098
- */
2099
- type: DefaultOutboundDestination.Type;
2100
- }
2101
- namespace Capabilities {
2102
- interface BankAccounts {
2103
- /**
2104
- * Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2105
- */
2106
- local?: BankAccounts.Local;
2107
- /**
2108
- * Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2109
- */
2110
- wire?: BankAccounts.Wire;
2111
- }
2112
- interface Cards {
2113
- /**
2114
- * The status of the Capability.
2115
- */
2116
- status: Cards.Status;
2117
- /**
2118
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2119
- */
2120
- status_details: Array<Cards.StatusDetail>;
2121
- }
2122
- interface StripeBalance {
2123
- /**
2124
- * Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2125
- */
2126
- payouts?: StripeBalance.Payouts;
2127
- /**
2128
- * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2129
- */
2130
- stripe_transfers?: StripeBalance.StripeTransfers;
2131
- }
2132
- namespace BankAccounts {
2133
- interface Local {
2134
- /**
2135
- * The status of the Capability.
2136
- */
2137
- status: Local.Status;
2138
- /**
2139
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2140
- */
2141
- status_details: Array<Local.StatusDetail>;
2142
- }
2143
- interface Wire {
2144
- /**
2145
- * The status of the Capability.
2146
- */
2147
- status: Wire.Status;
2148
- /**
2149
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2150
- */
2151
- status_details: Array<Wire.StatusDetail>;
2152
- }
2153
- namespace Local {
2154
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2155
- interface StatusDetail {
2156
- /**
2157
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2158
- */
2159
- code: StatusDetail.Code;
2160
- /**
2161
- * Machine-readable code explaining how to make the Capability active.
2162
- */
2163
- resolution: StatusDetail.Resolution;
2164
- }
2165
- namespace StatusDetail {
2166
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2167
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2168
- }
2169
- }
2170
- namespace Wire {
2171
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2172
- interface StatusDetail {
2173
- /**
2174
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2175
- */
2176
- code: StatusDetail.Code;
2177
- /**
2178
- * Machine-readable code explaining how to make the Capability active.
2179
- */
2180
- resolution: StatusDetail.Resolution;
2181
- }
2182
- namespace StatusDetail {
2183
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2184
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2185
- }
2186
- }
2187
- }
2188
- namespace Cards {
2189
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2190
- interface StatusDetail {
2191
- /**
2192
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2193
- */
2194
- code: StatusDetail.Code;
2195
- /**
2196
- * Machine-readable code explaining how to make the Capability active.
2197
- */
2198
- resolution: StatusDetail.Resolution;
2199
- }
2200
- namespace StatusDetail {
2201
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2202
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2203
- }
2204
- }
2205
- namespace StripeBalance {
2206
- interface Payouts {
2207
- /**
2208
- * The status of the Capability.
2209
- */
2210
- status: Payouts.Status;
2211
- /**
2212
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2213
- */
2214
- status_details: Array<Payouts.StatusDetail>;
2215
- }
2216
- interface StripeTransfers {
2217
- /**
2218
- * The status of the Capability.
2219
- */
2220
- status: StripeTransfers.Status;
2221
- /**
2222
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2223
- */
2224
- status_details: Array<StripeTransfers.StatusDetail>;
2225
- }
2226
- namespace Payouts {
2227
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2228
- interface StatusDetail {
2229
- /**
2230
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2231
- */
2232
- code: StatusDetail.Code;
2233
- /**
2234
- * Machine-readable code explaining how to make the Capability active.
2235
- */
2236
- resolution: StatusDetail.Resolution;
2237
- }
2238
- namespace StatusDetail {
2239
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2240
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2241
- }
2242
- }
2243
- namespace StripeTransfers {
2244
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2245
- interface StatusDetail {
2246
- /**
2247
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2248
- */
2249
- code: StatusDetail.Code;
2250
- /**
2251
- * Machine-readable code explaining how to make the Capability active.
2252
- */
2253
- resolution: StatusDetail.Resolution;
2254
- }
2255
- namespace StatusDetail {
2256
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2257
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2258
- }
2259
- }
2260
- }
2261
- }
2262
- namespace DefaultOutboundDestination {
2263
- type Type = 'ae_bank_account' | 'ag_bank_account' | 'al_bank_account' | 'am_bank_account' | 'ar_bank_account' | 'at_bank_account' | 'au_bank_account' | 'ba_bank_account' | 'be_bank_account' | 'bg_bank_account' | 'bh_bank_account' | 'bj_bank_account' | 'bn_bank_account' | 'bs_bank_account' | 'bt_bank_account' | 'bw_bank_account' | 'card' | 'ca_bank_account' | 'ch_bank_account' | 'ci_bank_account' | 'cn_bank_account' | 'co_bank_account' | 'crypto_wallet' | 'cr_bank_account' | 'cy_bank_account' | 'cz_bank_account' | 'de_bank_account' | 'dk_bank_account' | 'do_bank_account' | 'dz_bank_account' | 'ec_bank_account' | 'ee_bank_account' | 'eg_bank_account' | 'es_bank_account' | 'et_bank_account' | 'fi_bank_account' | 'fr_bank_account' | 'gb_bank_account' | 'gm_bank_account' | 'gr_bank_account' | 'gt_bank_account' | 'gy_bank_account' | 'hk_bank_account' | 'hr_bank_account' | 'hu_bank_account' | 'id_bank_account' | 'ie_bank_account' | 'il_bank_account' | 'in_bank_account' | 'is_bank_account' | 'it_bank_account' | 'jm_bank_account' | 'jo_bank_account' | 'jp_bank_account' | 'ke_bank_account' | 'kh_bank_account' | 'kw_bank_account' | 'lc_bank_account' | 'li_bank_account' | 'lk_bank_account' | 'lt_bank_account' | 'lu_bank_account' | 'lv_bank_account' | 'ma_bank_account' | 'mc_bank_account' | 'md_bank_account' | 'mg_bank_account' | 'mk_bank_account' | 'mn_bank_account' | 'mo_bank_account' | 'mt_bank_account' | 'mu_bank_account' | 'mx_bank_account' | 'my_bank_account' | 'mz_bank_account' | 'na_bank_account' | 'nl_bank_account' | 'no_bank_account' | 'nz_bank_account' | 'om_bank_account' | 'pa_bank_account' | 'pe_bank_account' | 'ph_bank_account' | 'pk_bank_account' | 'pl_bank_account' | 'pt_bank_account' | 'qa_bank_account' | 'ro_bank_account' | 'rs_bank_account' | 'rw_bank_account' | 'se_bank_account' | 'sg_bank_account' | 'si_bank_account' | 'sk_bank_account' | 'sn_bank_account' | 'sv_bank_account' | 'th_bank_account' | 'tn_bank_account' | 'tr_bank_account' | 'tt_bank_account' | 'tw_bank_account' | 'tz_bank_account' | 'us_bank_account' | 'uz_bank_account' | 'vn_bank_account' | 'za_bank_account';
2264
- }
2265
- }
2266
- namespace Storer {
2267
- interface Capabilities {
2268
- /**
2269
- * Can provision a financial address to credit/debit a FinancialAccount.
2270
- */
2271
- financial_addresses?: Capabilities.FinancialAddresses;
2272
- /**
2273
- * Can hold storage-type funds on Stripe.
2274
- */
2275
- holds_currencies?: Capabilities.HoldsCurrencies;
2276
- /**
2277
- * Hash containing capabilities related to InboundTransfers.
2278
- */
2279
- inbound_transfers?: Capabilities.InboundTransfers;
2280
- /**
2281
- * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview).
2282
- */
2283
- outbound_payments?: Capabilities.OutboundPayments;
2284
- /**
2285
- * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview).
2286
- */
2287
- outbound_transfers?: Capabilities.OutboundTransfers;
2288
- }
2289
- namespace Capabilities {
2290
- interface FinancialAddresses {
2291
- /**
2292
- * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2293
- */
2294
- bank_accounts?: FinancialAddresses.BankAccounts;
2295
- }
2296
- interface HoldsCurrencies {
2297
- /**
2298
- * Can hold storage-type funds on Stripe in EUR.
2299
- */
2300
- eur?: HoldsCurrencies.Eur;
2301
- /**
2302
- * Can hold storage-type funds on Stripe in GBP.
2303
- */
2304
- gbp?: HoldsCurrencies.Gbp;
2305
- /**
2306
- * Can hold storage-type funds on Stripe in USD.
2307
- */
2308
- usd?: HoldsCurrencies.Usd;
2309
- }
2310
- interface InboundTransfers {
2311
- /**
2312
- * Can pull funds into a FinancialAccount from an external bank account owned by the user.
2313
- */
2314
- bank_accounts?: InboundTransfers.BankAccounts;
2315
- }
2316
- interface OutboundPayments {
2317
- /**
2318
- * Can send funds from a FinancialAccount to a bank account owned by a different entity.
2319
- */
2320
- bank_accounts?: OutboundPayments.BankAccounts;
2321
- /**
2322
- * Can send funds from a FinancialAccount to a debit card owned by a different entity.
2323
- */
2324
- cards?: OutboundPayments.Cards;
2325
- /**
2326
- * Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
2327
- */
2328
- financial_accounts?: OutboundPayments.FinancialAccounts;
2329
- }
2330
- interface OutboundTransfers {
2331
- /**
2332
- * Can send funds from a FinancialAccount to a bank account belonging to the same user.
2333
- */
2334
- bank_accounts?: OutboundTransfers.BankAccounts;
2335
- /**
2336
- * Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
2337
- */
2338
- financial_accounts?: OutboundTransfers.FinancialAccounts;
2339
- }
2340
- namespace FinancialAddresses {
2341
- interface BankAccounts {
2342
- /**
2343
- * The status of the Capability.
2344
- */
2345
- status: BankAccounts.Status;
2346
- /**
2347
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2348
- */
2349
- status_details: Array<BankAccounts.StatusDetail>;
2350
- }
2351
- namespace BankAccounts {
2352
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2353
- interface StatusDetail {
2354
- /**
2355
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2356
- */
2357
- code: StatusDetail.Code;
2358
- /**
2359
- * Machine-readable code explaining how to make the Capability active.
2360
- */
2361
- resolution: StatusDetail.Resolution;
2362
- }
2363
- namespace StatusDetail {
2364
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2365
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2366
- }
2367
- }
2368
- }
2369
- namespace HoldsCurrencies {
2370
- interface Eur {
2371
- /**
2372
- * The status of the Capability.
2373
- */
2374
- status: Eur.Status;
2375
- /**
2376
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2377
- */
2378
- status_details: Array<Eur.StatusDetail>;
2379
- }
2380
- interface Gbp {
2381
- /**
2382
- * The status of the Capability.
2383
- */
2384
- status: Gbp.Status;
2385
- /**
2386
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2387
- */
2388
- status_details: Array<Gbp.StatusDetail>;
2389
- }
2390
- interface Usd {
2391
- /**
2392
- * The status of the Capability.
2393
- */
2394
- status: Usd.Status;
2395
- /**
2396
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2397
- */
2398
- status_details: Array<Usd.StatusDetail>;
2399
- }
2400
- namespace Eur {
2401
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2402
- interface StatusDetail {
2403
- /**
2404
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2405
- */
2406
- code: StatusDetail.Code;
2407
- /**
2408
- * Machine-readable code explaining how to make the Capability active.
2409
- */
2410
- resolution: StatusDetail.Resolution;
2411
- }
2412
- namespace StatusDetail {
2413
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2414
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2415
- }
2416
- }
2417
- namespace Gbp {
2418
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2419
- interface StatusDetail {
2420
- /**
2421
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2422
- */
2423
- code: StatusDetail.Code;
2424
- /**
2425
- * Machine-readable code explaining how to make the Capability active.
2426
- */
2427
- resolution: StatusDetail.Resolution;
2428
- }
2429
- namespace StatusDetail {
2430
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2431
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2432
- }
2433
- }
2434
- namespace Usd {
2435
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2436
- interface StatusDetail {
2437
- /**
2438
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2439
- */
2440
- code: StatusDetail.Code;
2441
- /**
2442
- * Machine-readable code explaining how to make the Capability active.
2443
- */
2444
- resolution: StatusDetail.Resolution;
2445
- }
2446
- namespace StatusDetail {
2447
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2448
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2449
- }
2450
- }
2451
- }
2452
- namespace InboundTransfers {
2453
- interface BankAccounts {
2454
- /**
2455
- * The status of the Capability.
2456
- */
2457
- status: BankAccounts.Status;
2458
- /**
2459
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2460
- */
2461
- status_details: Array<BankAccounts.StatusDetail>;
2462
- }
2463
- namespace BankAccounts {
2464
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2465
- interface StatusDetail {
2466
- /**
2467
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2468
- */
2469
- code: StatusDetail.Code;
2470
- /**
2471
- * Machine-readable code explaining how to make the Capability active.
2472
- */
2473
- resolution: StatusDetail.Resolution;
2474
- }
2475
- namespace StatusDetail {
2476
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2477
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2478
- }
2479
- }
2480
- }
2481
- namespace OutboundPayments {
2482
- interface BankAccounts {
2483
- /**
2484
- * The status of the Capability.
2485
- */
2486
- status: BankAccounts.Status;
2487
- /**
2488
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2489
- */
2490
- status_details: Array<BankAccounts.StatusDetail>;
2491
- }
2492
- interface Cards {
2493
- /**
2494
- * The status of the Capability.
2495
- */
2496
- status: Cards.Status;
2497
- /**
2498
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2499
- */
2500
- status_details: Array<Cards.StatusDetail>;
2501
- }
2502
- interface FinancialAccounts {
2503
- /**
2504
- * The status of the Capability.
2505
- */
2506
- status: FinancialAccounts.Status;
2507
- /**
2508
- * Additional details about the capability's status. This value is empty when `status` is `active`.
2509
- */
2510
- status_details: Array<FinancialAccounts.StatusDetail>;
2511
- }
2512
- namespace BankAccounts {
2513
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2514
- interface StatusDetail {
2515
- /**
2516
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2517
- */
2518
- code: StatusDetail.Code;
2519
- /**
2520
- * Machine-readable code explaining how to make the Capability active.
2521
- */
2522
- resolution: StatusDetail.Resolution;
2523
- }
2524
- namespace StatusDetail {
2525
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2526
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2527
- }
2528
- }
2529
- namespace Cards {
2530
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2531
- interface StatusDetail {
2532
- /**
2533
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2534
- */
2535
- code: StatusDetail.Code;
2536
- /**
2537
- * Machine-readable code explaining how to make the Capability active.
2538
- */
2539
- resolution: StatusDetail.Resolution;
2540
- }
2541
- namespace StatusDetail {
2542
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2543
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2544
- }
2545
- }
2546
- namespace FinancialAccounts {
2547
- type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2548
- interface StatusDetail {
2549
- /**
2550
- * Machine-readable code explaining the reason for the Capability to be in its current status.
2551
- */
2552
- code: StatusDetail.Code;
2553
- /**
2554
- * Machine-readable code explaining how to make the Capability active.
2555
- */
2556
- resolution: StatusDetail.Resolution;
2557
- }
2558
- namespace StatusDetail {
2559
- type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2560
- type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2561
- }
1934
+ interface DeclineOn {
1935
+ /**
1936
+ * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
1937
+ */
1938
+ avs_failure?: boolean;
1939
+ /**
1940
+ * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
1941
+ */
1942
+ cvc_failure?: boolean;
1943
+ }
1944
+ }
1945
+ namespace KonbiniPayments {
1946
+ interface Support {
1947
+ /**
1948
+ * Support email address for Konbini payments.
1949
+ */
1950
+ email?: string;
1951
+ /**
1952
+ * Support hours for Konbini payments.
1953
+ */
1954
+ hours?: Support.Hours;
1955
+ /**
1956
+ * Support phone number for Konbini payments.
1957
+ */
1958
+ phone?: string;
1959
+ }
1960
+ namespace Support {
1961
+ interface Hours {
1962
+ /**
1963
+ * Support hours end time (JST time of day) for in `HH:MM` format.
1964
+ */
1965
+ end_time?: string;
1966
+ /**
1967
+ * Support hours start time (JST time of day) for in `HH:MM` format.
1968
+ */
1969
+ start_time?: string;
2562
1970
  }
2563
1971
  }
2564
- namespace OutboundTransfers {
2565
- interface BankAccounts {
1972
+ }
1973
+ namespace ScriptStatementDescriptor {
1974
+ interface Kana {
1975
+ /**
1976
+ * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
1977
+ */
1978
+ descriptor?: string;
1979
+ /**
1980
+ * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
1981
+ */
1982
+ prefix?: string;
1983
+ }
1984
+ interface Kanji {
1985
+ /**
1986
+ * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
1987
+ */
1988
+ descriptor?: string;
1989
+ /**
1990
+ * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
1991
+ */
1992
+ prefix?: string;
1993
+ }
1994
+ }
1995
+ namespace Support {
1996
+ interface Address {
1997
+ /**
1998
+ * City, district, suburb, town, or village.
1999
+ */
2000
+ city?: string;
2001
+ /**
2002
+ * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2003
+ */
2004
+ country?: string;
2005
+ /**
2006
+ * Address line 1 (e.g., street, PO Box, or company name).
2007
+ */
2008
+ line1?: string;
2009
+ /**
2010
+ * Address line 2 (e.g., apartment, suite, unit, or building).
2011
+ */
2012
+ line2?: string;
2013
+ /**
2014
+ * ZIP or postal code.
2015
+ */
2016
+ postal_code?: string;
2017
+ /**
2018
+ * State, county, province, or region.
2019
+ */
2020
+ state?: string;
2021
+ /**
2022
+ * Town or district.
2023
+ */
2024
+ town?: string;
2025
+ }
2026
+ }
2027
+ }
2028
+ namespace Recipient {
2029
+ interface Capabilities {
2030
+ /**
2031
+ * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2032
+ */
2033
+ stripe_balance?: Capabilities.StripeBalance;
2034
+ }
2035
+ namespace Capabilities {
2036
+ interface StripeBalance {
2037
+ /**
2038
+ * Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2039
+ */
2040
+ payouts?: StripeBalance.Payouts;
2041
+ /**
2042
+ * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2043
+ */
2044
+ stripe_transfers?: StripeBalance.StripeTransfers;
2045
+ }
2046
+ namespace StripeBalance {
2047
+ interface Payouts {
2566
2048
  /**
2567
2049
  * The status of the Capability.
2568
2050
  */
2569
- status: BankAccounts.Status;
2051
+ status: Payouts.Status;
2570
2052
  /**
2571
2053
  * Additional details about the capability's status. This value is empty when `status` is `active`.
2572
2054
  */
2573
- status_details: Array<BankAccounts.StatusDetail>;
2055
+ status_details: Array<Payouts.StatusDetail>;
2574
2056
  }
2575
- interface FinancialAccounts {
2057
+ interface StripeTransfers {
2576
2058
  /**
2577
2059
  * The status of the Capability.
2578
2060
  */
2579
- status: FinancialAccounts.Status;
2061
+ status: StripeTransfers.Status;
2580
2062
  /**
2581
2063
  * Additional details about the capability's status. This value is empty when `status` is `active`.
2582
2064
  */
2583
- status_details: Array<FinancialAccounts.StatusDetail>;
2065
+ status_details: Array<StripeTransfers.StatusDetail>;
2584
2066
  }
2585
- namespace BankAccounts {
2067
+ namespace Payouts {
2586
2068
  type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2587
2069
  interface StatusDetail {
2588
2070
  /**
@@ -2599,7 +2081,7 @@ export declare namespace V2 {
2599
2081
  type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2600
2082
  }
2601
2083
  }
2602
- namespace FinancialAccounts {
2084
+ namespace StripeTransfers {
2603
2085
  type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2604
2086
  interface StatusDetail {
2605
2087
  /**
@@ -2757,8 +2239,8 @@ export declare namespace V2 {
2757
2239
  deadline: RestrictsCapability.Deadline;
2758
2240
  }
2759
2241
  namespace RestrictsCapability {
2760
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
2761
- type Configuration = 'customer' | 'merchant' | 'recipient' | 'storer';
2242
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'ideal_payments' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
2243
+ type Configuration = 'customer' | 'merchant' | 'recipient';
2762
2244
  interface Deadline {
2763
2245
  /**
2764
2246
  * The current status of the requirement's impact.
@@ -2904,7 +2386,7 @@ export declare namespace V2 {
2904
2386
  */
2905
2387
  documents?: Individual.Documents;
2906
2388
  /**
2907
- * The individual's email address.
2389
+ * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
2908
2390
  */
2909
2391
  email?: string;
2910
2392
  /**
@@ -3030,10 +2512,6 @@ export declare namespace V2 {
3030
2512
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
3031
2513
  */
3032
2514
  account?: TermsOfService.Account;
3033
- /**
3034
- * Details on the Account's acceptance of Treasury-specific terms of service.
3035
- */
3036
- storer?: TermsOfService.Storer;
3037
2515
  }
3038
2516
  namespace PersonsProvided {
3039
2517
  type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
@@ -3053,20 +2531,6 @@ export declare namespace V2 {
3053
2531
  */
3054
2532
  user_agent?: string;
3055
2533
  }
3056
- interface Storer {
3057
- /**
3058
- * 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.
3059
- */
3060
- date?: string;
3061
- /**
3062
- * The IP address from which the Account's representative accepted the terms of service.
3063
- */
3064
- ip?: string;
3065
- /**
3066
- * The user agent of the browser from which the Account's representative accepted the terms of service.
3067
- */
3068
- user_agent?: string;
3069
- }
3070
2534
  }
3071
2535
  }
3072
2536
  namespace BusinessDetails {
@@ -3289,6 +2753,10 @@ export declare namespace V2 {
3289
2753
  * 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`.
3290
2754
  */
3291
2755
  files: Array<string>;
2756
+ /**
2757
+ * Person that is signing the document.
2758
+ */
2759
+ signer?: ProofOfRegistration.Signer;
3292
2760
  /**
3293
2761
  * The format of the document. Currently supports `files` only.
3294
2762
  */
@@ -3299,6 +2767,10 @@ export declare namespace V2 {
3299
2767
  * 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`.
3300
2768
  */
3301
2769
  files: Array<string>;
2770
+ /**
2771
+ * Person that is signing the document.
2772
+ */
2773
+ signer?: ProofOfUltimateBeneficialOwnership.Signer;
3302
2774
  /**
3303
2775
  * The format of the document. Currently supports `files` only.
3304
2776
  */
@@ -3316,6 +2788,22 @@ export declare namespace V2 {
3316
2788
  front: string;
3317
2789
  }
3318
2790
  }
2791
+ namespace ProofOfRegistration {
2792
+ interface Signer {
2793
+ /**
2794
+ * Person signing the document.
2795
+ */
2796
+ person: string;
2797
+ }
2798
+ }
2799
+ namespace ProofOfUltimateBeneficialOwnership {
2800
+ interface Signer {
2801
+ /**
2802
+ * Person signing the document.
2803
+ */
2804
+ person: string;
2805
+ }
2806
+ }
3319
2807
  }
3320
2808
  namespace IdNumber {
3321
2809
  type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
@@ -3869,8 +3357,8 @@ export declare namespace V2 {
3869
3357
  deadline: RestrictsCapability.Deadline;
3870
3358
  }
3871
3359
  namespace RestrictsCapability {
3872
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
3873
- type Configuration = 'customer' | 'merchant' | 'recipient' | 'storer';
3360
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'ideal_payments' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
3361
+ type Configuration = 'customer' | 'merchant' | 'recipient';
3874
3362
  interface Deadline {
3875
3363
  /**
3876
3364
  * The current status of the requirement's impact.
@@ -3923,7 +3411,7 @@ export declare namespace V2 {
3923
3411
  */
3924
3412
  configuration?: AccountCreateParams.Configuration;
3925
3413
  /**
3926
- * The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
3414
+ * The primary contact email address for the Account.
3927
3415
  */
3928
3416
  contact_email?: string;
3929
3417
  /**
@@ -3958,7 +3446,7 @@ export declare namespace V2 {
3958
3446
  namespace AccountCreateParams {
3959
3447
  interface Configuration {
3960
3448
  /**
3961
- * The Customer Configuration allows the Account to be used in inbound payment flows.
3449
+ * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
3962
3450
  */
3963
3451
  customer?: Configuration.Customer;
3964
3452
  /**
@@ -3969,10 +3457,6 @@ export declare namespace V2 {
3969
3457
  * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
3970
3458
  */
3971
3459
  recipient?: Configuration.Recipient;
3972
- /**
3973
- * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3974
- */
3975
- storer?: Configuration.Storer;
3976
3460
  }
3977
3461
  type Dashboard = 'express' | 'full' | 'none';
3978
3462
  interface Defaults {
@@ -3992,10 +3476,6 @@ export declare namespace V2 {
3992
3476
  * Default responsibilities held by either Stripe or the platform.
3993
3477
  */
3994
3478
  responsibilities?: Defaults.Responsibilities;
3995
- /**
3996
- * The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
3997
- */
3998
- timezone?: string;
3999
3479
  }
4000
3480
  interface Identity {
4001
3481
  /**
@@ -4011,7 +3491,7 @@ export declare namespace V2 {
4011
3491
  */
4012
3492
  country?: string;
4013
3493
  /**
4014
- * The entity type.
3494
+ * The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
4015
3495
  */
4016
3496
  entity_type?: Identity.EntityType;
4017
3497
  /**
@@ -4019,7 +3499,7 @@ export declare namespace V2 {
4019
3499
  */
4020
3500
  individual?: Identity.Individual;
4021
3501
  }
4022
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
3502
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
4023
3503
  namespace Configuration {
4024
3504
  interface Customer {
4025
3505
  /**
@@ -4072,10 +3552,6 @@ export declare namespace V2 {
4072
3552
  * Settings for the default text that appears on statements for language variations.
4073
3553
  */
4074
3554
  script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
4075
- /**
4076
- * Settings used for Smart Disputes.
4077
- */
4078
- smart_disputes?: Merchant.SmartDisputes;
4079
3555
  /**
4080
3556
  * Statement descriptor.
4081
3557
  */
@@ -4091,12 +3567,6 @@ export declare namespace V2 {
4091
3567
  */
4092
3568
  capabilities?: Recipient.Capabilities;
4093
3569
  }
4094
- interface Storer {
4095
- /**
4096
- * Capabilities to request on the Storer Configuration.
4097
- */
4098
- capabilities?: Storer.Capabilities;
4099
- }
4100
3570
  namespace Customer {
4101
3571
  interface AutomaticIndirectTax {
4102
3572
  /**
@@ -4107,10 +3577,6 @@ export declare namespace V2 {
4107
3577
  * A recent IP address of the customer used for tax reporting and tax location inference.
4108
3578
  */
4109
3579
  ip_address?: string;
4110
- /**
4111
- * The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.
4112
- */
4113
- location_source?: AutomaticIndirectTax.LocationSource;
4114
3580
  }
4115
3581
  interface Billing {
4116
3582
  /**
@@ -4140,7 +3606,6 @@ export declare namespace V2 {
4140
3606
  }
4141
3607
  namespace AutomaticIndirectTax {
4142
3608
  type Exempt = 'exempt' | 'none' | 'reverse';
4143
- type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
4144
3609
  }
4145
3610
  namespace Billing {
4146
3611
  interface Invoice {
@@ -4425,12 +3890,6 @@ export declare namespace V2 {
4425
3890
  */
4426
3891
  kanji?: ScriptStatementDescriptor.Kanji;
4427
3892
  }
4428
- interface SmartDisputes {
4429
- /**
4430
- * Settings for Smart Disputes auto_respond.
4431
- */
4432
- auto_respond?: SmartDisputes.AutoRespond;
4433
- }
4434
3893
  interface StatementDescriptor {
4435
3894
  /**
4436
3895
  * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
@@ -4787,17 +4246,6 @@ export declare namespace V2 {
4787
4246
  prefix?: string;
4788
4247
  }
4789
4248
  }
4790
- namespace SmartDisputes {
4791
- interface AutoRespond {
4792
- /**
4793
- * The preference for Smart Disputes auto-respond.
4794
- */
4795
- preference?: AutoRespond.Preference;
4796
- }
4797
- namespace AutoRespond {
4798
- type Preference = 'inherit' | 'off' | 'on';
4799
- }
4800
- }
4801
4249
  namespace Support {
4802
4250
  interface Address {
4803
4251
  /**
@@ -4829,208 +4277,24 @@ export declare namespace V2 {
4829
4277
  */
4830
4278
  town?: string;
4831
4279
  }
4832
- }
4833
- }
4834
- namespace Recipient {
4835
- interface Capabilities {
4836
- /**
4837
- * Capabilities that enable OutboundPayments to a bank account linked to this Account.
4838
- */
4839
- bank_accounts?: Capabilities.BankAccounts;
4840
- /**
4841
- * Capabilities that enable OutboundPayments to a card linked to this Account.
4842
- */
4843
- cards?: Capabilities.Cards;
4844
- /**
4845
- * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
4846
- */
4847
- stripe_balance?: Capabilities.StripeBalance;
4848
- }
4849
- namespace Capabilities {
4850
- interface BankAccounts {
4851
- /**
4852
- * Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
4853
- */
4854
- local?: BankAccounts.Local;
4855
- /**
4856
- * Enables this Account to receive OutboundPayments to linked bank accounts over wire.
4857
- */
4858
- wire?: BankAccounts.Wire;
4859
- }
4860
- interface Cards {
4861
- /**
4862
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4863
- */
4864
- requested: boolean;
4865
- }
4866
- interface StripeBalance {
4867
- /**
4868
- * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
4869
- */
4870
- stripe_transfers?: StripeBalance.StripeTransfers;
4871
- }
4872
- namespace BankAccounts {
4873
- interface Local {
4874
- /**
4875
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4876
- */
4877
- requested: boolean;
4878
- }
4879
- interface Wire {
4880
- /**
4881
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4882
- */
4883
- requested: boolean;
4884
- }
4885
- }
4886
- namespace StripeBalance {
4887
- interface StripeTransfers {
4888
- /**
4889
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4890
- */
4891
- requested: boolean;
4892
- }
4893
- }
4894
- }
4895
- }
4896
- namespace Storer {
4897
- interface Capabilities {
4898
- /**
4899
- * Can provision a financial address to credit/debit a FinancialAccount.
4900
- */
4901
- financial_addresses?: Capabilities.FinancialAddresses;
4902
- /**
4903
- * Can hold storage-type funds on Stripe.
4904
- */
4905
- holds_currencies?: Capabilities.HoldsCurrencies;
4906
- /**
4907
- * Can pull funds from an external source, owned by yourself, to a FinancialAccount.
4908
- */
4909
- inbound_transfers?: Capabilities.InboundTransfers;
4910
- /**
4911
- * Can send funds from a FinancialAccount to a destination owned by someone else.
4912
- */
4913
- outbound_payments?: Capabilities.OutboundPayments;
4914
- /**
4915
- * Can send funds from a FinancialAccount to a destination owned by yourself.
4916
- */
4917
- outbound_transfers?: Capabilities.OutboundTransfers;
4918
- }
4919
- namespace Capabilities {
4920
- interface FinancialAddresses {
4921
- /**
4922
- * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
4923
- */
4924
- bank_accounts?: FinancialAddresses.BankAccounts;
4925
- }
4926
- interface HoldsCurrencies {
4927
- /**
4928
- * Can hold storage-type funds on Stripe in EUR.
4929
- */
4930
- eur?: HoldsCurrencies.Eur;
4931
- /**
4932
- * Can hold storage-type funds on Stripe in GBP.
4933
- */
4934
- gbp?: HoldsCurrencies.Gbp;
4935
- /**
4936
- * Can hold storage-type funds on Stripe in USD.
4937
- */
4938
- usd?: HoldsCurrencies.Usd;
4939
- }
4940
- interface InboundTransfers {
4941
- /**
4942
- * Can pull funds from an external bank account owned by yourself to a FinancialAccount.
4943
- */
4944
- bank_accounts?: InboundTransfers.BankAccounts;
4945
- }
4946
- interface OutboundPayments {
4947
- /**
4948
- * Can send funds from a FinancialAccount to a bank account owned by someone else.
4949
- */
4950
- bank_accounts?: OutboundPayments.BankAccounts;
4951
- /**
4952
- * Can send funds from a FinancialAccount to a debit card owned by someone else.
4953
- */
4954
- cards?: OutboundPayments.Cards;
4955
- /**
4956
- * Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
4957
- */
4958
- financial_accounts?: OutboundPayments.FinancialAccounts;
4959
- }
4960
- interface OutboundTransfers {
4961
- /**
4962
- * Can send funds from a FinancialAccount to a bank account owned by yourself.
4963
- */
4964
- bank_accounts?: OutboundTransfers.BankAccounts;
4280
+ }
4281
+ }
4282
+ namespace Recipient {
4283
+ interface Capabilities {
4284
+ /**
4285
+ * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
4286
+ */
4287
+ stripe_balance?: Capabilities.StripeBalance;
4288
+ }
4289
+ namespace Capabilities {
4290
+ interface StripeBalance {
4965
4291
  /**
4966
- * Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
4292
+ * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
4967
4293
  */
4968
- financial_accounts?: OutboundTransfers.FinancialAccounts;
4969
- }
4970
- namespace FinancialAddresses {
4971
- interface BankAccounts {
4972
- /**
4973
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4974
- */
4975
- requested: boolean;
4976
- }
4977
- }
4978
- namespace HoldsCurrencies {
4979
- interface Eur {
4980
- /**
4981
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4982
- */
4983
- requested: boolean;
4984
- }
4985
- interface Gbp {
4986
- /**
4987
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4988
- */
4989
- requested: boolean;
4990
- }
4991
- interface Usd {
4992
- /**
4993
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4994
- */
4995
- requested: boolean;
4996
- }
4997
- }
4998
- namespace InboundTransfers {
4999
- interface BankAccounts {
5000
- /**
5001
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5002
- */
5003
- requested: boolean;
5004
- }
5005
- }
5006
- namespace OutboundPayments {
5007
- interface BankAccounts {
5008
- /**
5009
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5010
- */
5011
- requested: boolean;
5012
- }
5013
- interface Cards {
5014
- /**
5015
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5016
- */
5017
- requested: boolean;
5018
- }
5019
- interface FinancialAccounts {
5020
- /**
5021
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5022
- */
5023
- requested: boolean;
5024
- }
4294
+ stripe_transfers?: StripeBalance.StripeTransfers;
5025
4295
  }
5026
- namespace OutboundTransfers {
5027
- interface BankAccounts {
5028
- /**
5029
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5030
- */
5031
- requested: boolean;
5032
- }
5033
- interface FinancialAccounts {
4296
+ namespace StripeBalance {
4297
+ interface StripeTransfers {
5034
4298
  /**
5035
4299
  * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5036
4300
  */
@@ -5167,7 +4431,7 @@ export declare namespace V2 {
5167
4431
  */
5168
4432
  documents?: Individual.Documents;
5169
4433
  /**
5170
- * The individual's email address.
4434
+ * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
5171
4435
  */
5172
4436
  email?: string;
5173
4437
  /**
@@ -5281,10 +4545,6 @@ export declare namespace V2 {
5281
4545
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
5282
4546
  */
5283
4547
  account?: TermsOfService.Account;
5284
- /**
5285
- * Details on the Account's acceptance of Treasury-specific terms of service.
5286
- */
5287
- storer?: TermsOfService.Storer;
5288
4548
  }
5289
4549
  namespace PersonsProvided {
5290
4550
  type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
@@ -5304,20 +4564,6 @@ export declare namespace V2 {
5304
4564
  */
5305
4565
  user_agent?: string;
5306
4566
  }
5307
- interface Storer {
5308
- /**
5309
- * 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.
5310
- */
5311
- date: string;
5312
- /**
5313
- * The IP address from which the Account's representative accepted the terms of service.
5314
- */
5315
- ip: string;
5316
- /**
5317
- * The user agent of the browser from which the Account's representative accepted the terms of service.
5318
- */
5319
- user_agent?: string;
5320
- }
5321
4567
  }
5322
4568
  }
5323
4569
  namespace BusinessDetails {
@@ -5544,6 +4790,10 @@ export declare namespace V2 {
5544
4790
  * 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`.
5545
4791
  */
5546
4792
  files: Array<string>;
4793
+ /**
4794
+ * Person that is signing the document.
4795
+ */
4796
+ signer?: ProofOfRegistration.Signer;
5547
4797
  /**
5548
4798
  * The format of the document. Currently supports `files` only.
5549
4799
  */
@@ -5554,6 +4804,10 @@ export declare namespace V2 {
5554
4804
  * 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`.
5555
4805
  */
5556
4806
  files: Array<string>;
4807
+ /**
4808
+ * Person that is signing the document.
4809
+ */
4810
+ signer?: ProofOfUltimateBeneficialOwnership.Signer;
5557
4811
  /**
5558
4812
  * The format of the document. Currently supports `files` only.
5559
4813
  */
@@ -5571,6 +4825,22 @@ export declare namespace V2 {
5571
4825
  front: string;
5572
4826
  }
5573
4827
  }
4828
+ namespace ProofOfRegistration {
4829
+ interface Signer {
4830
+ /**
4831
+ * Person signing the document.
4832
+ */
4833
+ person: string;
4834
+ }
4835
+ }
4836
+ namespace ProofOfUltimateBeneficialOwnership {
4837
+ interface Signer {
4838
+ /**
4839
+ * Person signing the document.
4840
+ */
4841
+ person: string;
4842
+ }
4843
+ }
5574
4844
  }
5575
4845
  namespace IdNumber {
5576
4846
  type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
@@ -6005,7 +5275,7 @@ export declare namespace V2 {
6005
5275
  include?: Array<AccountRetrieveParams.Include>;
6006
5276
  }
6007
5277
  namespace AccountRetrieveParams {
6008
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
5278
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
6009
5279
  }
6010
5280
  }
6011
5281
  }
@@ -6021,7 +5291,7 @@ export declare namespace V2 {
6021
5291
  */
6022
5292
  configuration?: AccountUpdateParams.Configuration;
6023
5293
  /**
6024
- * The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
5294
+ * The primary contact email address for the Account.
6025
5295
  */
6026
5296
  contact_email?: string;
6027
5297
  /**
@@ -6067,10 +5337,6 @@ export declare namespace V2 {
6067
5337
  * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
6068
5338
  */
6069
5339
  recipient?: Configuration.Recipient;
6070
- /**
6071
- * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
6072
- */
6073
- storer?: Configuration.Storer;
6074
5340
  }
6075
5341
  type Dashboard = 'express' | 'full' | 'none';
6076
5342
  interface Defaults {
@@ -6090,10 +5356,6 @@ export declare namespace V2 {
6090
5356
  * Default responsibilities held by either Stripe or the platform.
6091
5357
  */
6092
5358
  responsibilities?: Defaults.Responsibilities;
6093
- /**
6094
- * The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
6095
- */
6096
- timezone?: string;
6097
5359
  }
6098
5360
  interface Identity {
6099
5361
  /**
@@ -6109,7 +5371,7 @@ export declare namespace V2 {
6109
5371
  */
6110
5372
  country?: string;
6111
5373
  /**
6112
- * The entity type.
5374
+ * The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
6113
5375
  */
6114
5376
  entity_type?: Identity.EntityType;
6115
5377
  /**
@@ -6117,7 +5379,7 @@ export declare namespace V2 {
6117
5379
  */
6118
5380
  individual?: Identity.Individual;
6119
5381
  }
6120
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
5382
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
6121
5383
  namespace Configuration {
6122
5384
  interface Customer {
6123
5385
  /**
@@ -6178,10 +5440,6 @@ export declare namespace V2 {
6178
5440
  * Settings for the default text that appears on statements for language variations.
6179
5441
  */
6180
5442
  script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
6181
- /**
6182
- * Settings for Smart Disputes automatic response feature.
6183
- */
6184
- smart_disputes?: Merchant.SmartDisputes;
6185
5443
  /**
6186
5444
  * Settings for the default [statement descriptor](https://docs.stripe.com/connect/statement-descriptors) text.
6187
5445
  */
@@ -6200,20 +5458,6 @@ export declare namespace V2 {
6200
5458
  * Capabilities to request on the Recipient Configuration.
6201
5459
  */
6202
5460
  capabilities?: Recipient.Capabilities;
6203
- /**
6204
- * The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
6205
- */
6206
- default_outbound_destination?: string;
6207
- }
6208
- interface Storer {
6209
- /**
6210
- * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
6211
- */
6212
- applied?: boolean;
6213
- /**
6214
- * Capabilities to request on the Storer Configuration.
6215
- */
6216
- capabilities?: Storer.Capabilities;
6217
5461
  }
6218
5462
  namespace Customer {
6219
5463
  interface AutomaticIndirectTax {
@@ -6225,10 +5469,6 @@ export declare namespace V2 {
6225
5469
  * A recent IP address of the customer used for tax reporting and tax location inference.
6226
5470
  */
6227
5471
  ip_address?: string;
6228
- /**
6229
- * Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
6230
- */
6231
- location_source?: AutomaticIndirectTax.LocationSource;
6232
5472
  /**
6233
5473
  * A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
6234
5474
  */
@@ -6236,7 +5476,7 @@ export declare namespace V2 {
6236
5476
  }
6237
5477
  interface Billing {
6238
5478
  /**
6239
- * ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
5479
+ * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
6240
5480
  */
6241
5481
  default_payment_method?: string;
6242
5482
  /**
@@ -6266,7 +5506,6 @@ export declare namespace V2 {
6266
5506
  }
6267
5507
  namespace AutomaticIndirectTax {
6268
5508
  type Exempt = 'exempt' | 'none' | 'reverse';
6269
- type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
6270
5509
  type ValidateLocation = 'auto' | 'deferred' | 'immediately';
6271
5510
  }
6272
5511
  namespace Billing {
@@ -6552,12 +5791,6 @@ export declare namespace V2 {
6552
5791
  */
6553
5792
  kanji?: ScriptStatementDescriptor.Kanji;
6554
5793
  }
6555
- interface SmartDisputes {
6556
- /**
6557
- * Settings for Smart Disputes auto_respond.
6558
- */
6559
- auto_respond?: SmartDisputes.AutoRespond;
6560
- }
6561
5794
  interface StatementDescriptor {
6562
5795
  /**
6563
5796
  * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
@@ -6914,70 +6147,21 @@ export declare namespace V2 {
6914
6147
  prefix?: string;
6915
6148
  }
6916
6149
  }
6917
- namespace SmartDisputes {
6918
- interface AutoRespond {
6919
- /**
6920
- * The preference for automatic dispute responses.
6921
- */
6922
- preference?: AutoRespond.Preference;
6923
- }
6924
- namespace AutoRespond {
6925
- type Preference = 'inherit' | 'off' | 'on';
6926
- }
6927
- }
6928
6150
  }
6929
6151
  namespace Recipient {
6930
6152
  interface Capabilities {
6931
- /**
6932
- * Capabilities that enable OutboundPayments to a bank account linked to this Account.
6933
- */
6934
- bank_accounts?: Capabilities.BankAccounts;
6935
- /**
6936
- * Capability that enable OutboundPayments to a debit card linked to this Account.
6937
- */
6938
- cards?: Capabilities.Cards;
6939
6153
  /**
6940
6154
  * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
6941
6155
  */
6942
6156
  stripe_balance?: Capabilities.StripeBalance;
6943
6157
  }
6944
6158
  namespace Capabilities {
6945
- interface BankAccounts {
6946
- /**
6947
- * Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
6948
- */
6949
- local?: BankAccounts.Local;
6950
- /**
6951
- * Enables this Account to receive OutboundPayments to linked bank accounts over wire.
6952
- */
6953
- wire?: BankAccounts.Wire;
6954
- }
6955
- interface Cards {
6956
- /**
6957
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
6958
- */
6959
- requested?: boolean;
6960
- }
6961
6159
  interface StripeBalance {
6962
6160
  /**
6963
6161
  * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
6964
6162
  */
6965
6163
  stripe_transfers?: StripeBalance.StripeTransfers;
6966
6164
  }
6967
- namespace BankAccounts {
6968
- interface Local {
6969
- /**
6970
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
6971
- */
6972
- requested?: boolean;
6973
- }
6974
- interface Wire {
6975
- /**
6976
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
6977
- */
6978
- requested?: boolean;
6979
- }
6980
- }
6981
6165
  namespace StripeBalance {
6982
6166
  interface StripeTransfers {
6983
6167
  /**
@@ -6988,152 +6172,6 @@ export declare namespace V2 {
6988
6172
  }
6989
6173
  }
6990
6174
  }
6991
- namespace Storer {
6992
- interface Capabilities {
6993
- /**
6994
- * Can provision a financial address to credit/debit a FinancialAccount.
6995
- */
6996
- financial_addresses?: Capabilities.FinancialAddresses;
6997
- /**
6998
- * Can hold storage-type funds on Stripe.
6999
- */
7000
- holds_currencies?: Capabilities.HoldsCurrencies;
7001
- /**
7002
- * Can pull funds from an external source, owned by yourself, to a FinancialAccount.
7003
- */
7004
- inbound_transfers?: Capabilities.InboundTransfers;
7005
- /**
7006
- * Can send funds from a FinancialAccount to a destination owned by someone else.
7007
- */
7008
- outbound_payments?: Capabilities.OutboundPayments;
7009
- /**
7010
- * Can send funds from a FinancialAccount to a destination owned by yourself.
7011
- */
7012
- outbound_transfers?: Capabilities.OutboundTransfers;
7013
- }
7014
- namespace Capabilities {
7015
- interface FinancialAddresses {
7016
- /**
7017
- * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
7018
- */
7019
- bank_accounts?: FinancialAddresses.BankAccounts;
7020
- }
7021
- interface HoldsCurrencies {
7022
- /**
7023
- * Can hold storage-type funds on Stripe in EUR.
7024
- */
7025
- eur?: HoldsCurrencies.Eur;
7026
- /**
7027
- * Can hold storage-type funds on Stripe in GBP.
7028
- */
7029
- gbp?: HoldsCurrencies.Gbp;
7030
- /**
7031
- * Can hold storage-type funds on Stripe in USD.
7032
- */
7033
- usd?: HoldsCurrencies.Usd;
7034
- }
7035
- interface InboundTransfers {
7036
- /**
7037
- * Can pull funds from an external bank account owned by yourself to a FinancialAccount.
7038
- */
7039
- bank_accounts?: InboundTransfers.BankAccounts;
7040
- }
7041
- interface OutboundPayments {
7042
- /**
7043
- * Can send funds from a FinancialAccount to a bank account owned by someone else.
7044
- */
7045
- bank_accounts?: OutboundPayments.BankAccounts;
7046
- /**
7047
- * Can send funds from a FinancialAccount to a debit card owned by someone else.
7048
- */
7049
- cards?: OutboundPayments.Cards;
7050
- /**
7051
- * Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
7052
- */
7053
- financial_accounts?: OutboundPayments.FinancialAccounts;
7054
- }
7055
- interface OutboundTransfers {
7056
- /**
7057
- * Can send funds from a FinancialAccount to a bank account owned by yourself.
7058
- */
7059
- bank_accounts?: OutboundTransfers.BankAccounts;
7060
- /**
7061
- * Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
7062
- */
7063
- financial_accounts?: OutboundTransfers.FinancialAccounts;
7064
- }
7065
- namespace FinancialAddresses {
7066
- interface BankAccounts {
7067
- /**
7068
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7069
- */
7070
- requested?: boolean;
7071
- }
7072
- }
7073
- namespace HoldsCurrencies {
7074
- interface Eur {
7075
- /**
7076
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7077
- */
7078
- requested?: boolean;
7079
- }
7080
- interface Gbp {
7081
- /**
7082
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7083
- */
7084
- requested?: boolean;
7085
- }
7086
- interface Usd {
7087
- /**
7088
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7089
- */
7090
- requested?: boolean;
7091
- }
7092
- }
7093
- namespace InboundTransfers {
7094
- interface BankAccounts {
7095
- /**
7096
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7097
- */
7098
- requested?: boolean;
7099
- }
7100
- }
7101
- namespace OutboundPayments {
7102
- interface BankAccounts {
7103
- /**
7104
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7105
- */
7106
- requested?: boolean;
7107
- }
7108
- interface Cards {
7109
- /**
7110
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7111
- */
7112
- requested?: boolean;
7113
- }
7114
- interface FinancialAccounts {
7115
- /**
7116
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7117
- */
7118
- requested?: boolean;
7119
- }
7120
- }
7121
- namespace OutboundTransfers {
7122
- interface BankAccounts {
7123
- /**
7124
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7125
- */
7126
- requested?: boolean;
7127
- }
7128
- interface FinancialAccounts {
7129
- /**
7130
- * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7131
- */
7132
- requested?: boolean;
7133
- }
7134
- }
7135
- }
7136
- }
7137
6175
  }
7138
6176
  namespace Defaults {
7139
6177
  type Locale = 'ar-SA' | 'bg' | 'bg-BG' | 'cs' | 'cs-CZ' | 'da' | 'da-DK' | 'de' | 'de-DE' | 'el' | 'el-GR' | 'en' | 'en-AU' | 'en-CA' | 'en-GB' | 'en-IE' | 'en-IN' | 'en-NZ' | 'en-SG' | 'en-US' | 'es' | 'es-419' | 'es-ES' | 'et' | 'et-EE' | 'fi' | 'fil' | 'fil-PH' | 'fi-FI' | 'fr' | 'fr-CA' | 'fr-FR' | 'he-IL' | 'hr' | 'hr-HR' | 'hu' | 'hu-HU' | 'id' | 'id-ID' | 'it' | 'it-IT' | 'ja' | 'ja-JP' | 'ko' | 'ko-KR' | 'lt' | 'lt-LT' | 'lv' | 'lv-LV' | 'ms' | 'ms-MY' | 'mt' | 'mt-MT' | 'nb' | 'nb-NO' | 'nl' | 'nl-NL' | 'pl' | 'pl-PL' | 'pt' | 'pt-BR' | 'pt-PT' | 'ro' | 'ro-RO' | 'ru' | 'ru-RU' | 'sk' | 'sk-SK' | 'sl' | 'sl-SI' | 'sv' | 'sv-SE' | 'th' | 'th-TH' | 'tr' | 'tr-TR' | 'vi' | 'vi-VN' | 'zh' | 'zh-Hans' | 'zh-Hant-HK' | 'zh-Hant-TW' | 'zh-HK' | 'zh-TW';
@@ -7262,7 +6300,7 @@ export declare namespace V2 {
7262
6300
  */
7263
6301
  documents?: Individual.Documents;
7264
6302
  /**
7265
- * The individual's email address.
6303
+ * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
7266
6304
  */
7267
6305
  email?: string;
7268
6306
  /**
@@ -7478,7 +6516,7 @@ export declare namespace V2 {
7478
6516
  */
7479
6517
  proof_of_address?: Documents.ProofOfAddress;
7480
6518
  /**
7481
- * One or more documents showing the company's proof of registration with the national business registry.
6519
+ * One or more documents that demonstrate proof of ultimate beneficial ownership.
7482
6520
  */
7483
6521
  proof_of_registration?: Documents.ProofOfRegistration;
7484
6522
  /**
@@ -7627,6 +6665,10 @@ export declare namespace V2 {
7627
6665
  * 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`.
7628
6666
  */
7629
6667
  files: Array<string>;
6668
+ /**
6669
+ * Person that is signing the document.
6670
+ */
6671
+ signer?: ProofOfRegistration.Signer;
7630
6672
  /**
7631
6673
  * The format of the document. Currently supports `files` only.
7632
6674
  */
@@ -7637,6 +6679,10 @@ export declare namespace V2 {
7637
6679
  * 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`.
7638
6680
  */
7639
6681
  files: Array<string>;
6682
+ /**
6683
+ * Person that is signing the document.
6684
+ */
6685
+ signer?: ProofOfUltimateBeneficialOwnership.Signer;
7640
6686
  /**
7641
6687
  * The format of the document. Currently supports `files` only.
7642
6688
  */
@@ -7654,6 +6700,22 @@ export declare namespace V2 {
7654
6700
  front?: string;
7655
6701
  }
7656
6702
  }
6703
+ namespace ProofOfRegistration {
6704
+ interface Signer {
6705
+ /**
6706
+ * Person signing the document.
6707
+ */
6708
+ person: string;
6709
+ }
6710
+ }
6711
+ namespace ProofOfUltimateBeneficialOwnership {
6712
+ interface Signer {
6713
+ /**
6714
+ * Person signing the document.
6715
+ */
6716
+ person: string;
6717
+ }
6718
+ }
7657
6719
  }
7658
6720
  namespace IdNumber {
7659
6721
  type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
@@ -7942,7 +7004,7 @@ export declare namespace V2 {
7942
7004
  limit?: number;
7943
7005
  }
7944
7006
  namespace AccountListParams {
7945
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
7007
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
7946
7008
  }
7947
7009
  }
7948
7010
  }
@@ -7955,7 +7017,7 @@ export declare namespace V2 {
7955
7017
  applied_configurations?: Array<AccountCloseParams.AppliedConfiguration>;
7956
7018
  }
7957
7019
  namespace AccountCloseParams {
7958
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
7020
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
7959
7021
  }
7960
7022
  }
7961
7023
  }