stripe 22.2.0 → 22.3.0-beta.1

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 (789) hide show
  1. package/CHANGELOG.md +1753 -76
  2. package/README.md +57 -65
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +50 -0
  5. package/cjs/Error.js +125 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +0 -1
  8. package/cjs/RequestSender.js +0 -8
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  11. package/cjs/StripeEventNotificationHandler.js +148 -0
  12. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  13. package/cjs/Types.d.ts +4 -2
  14. package/cjs/Types.js.map +1 -1
  15. package/cjs/apiVersion.d.ts +1 -2
  16. package/cjs/apiVersion.js +2 -3
  17. package/cjs/apiVersion.js.map +1 -1
  18. package/cjs/resources/AccountLinks.d.ts +1 -1
  19. package/cjs/resources/AccountNotices.d.ts +140 -0
  20. package/cjs/resources/AccountNotices.js +29 -0
  21. package/cjs/resources/AccountNotices.js.map +1 -0
  22. package/cjs/resources/AccountSessions.d.ts +262 -0
  23. package/cjs/resources/AccountSessions.js.map +1 -1
  24. package/cjs/resources/Accounts.d.ts +827 -3
  25. package/cjs/resources/Accounts.js +14 -0
  26. package/cjs/resources/Accounts.js.map +1 -1
  27. package/cjs/resources/Balance.d.ts +67 -0
  28. package/cjs/resources/BankAccounts.d.ts +2 -2
  29. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
  30. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  31. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  32. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  33. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  34. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  35. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  36. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  37. package/cjs/resources/Billing/Analytics/index.js +13 -0
  38. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  39. package/cjs/resources/Billing/index.d.ts +3 -0
  40. package/cjs/resources/Billing/index.js +2 -0
  41. package/cjs/resources/Billing/index.js.map +1 -1
  42. package/cjs/resources/Capabilities.d.ts +2 -2
  43. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  44. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  45. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  46. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  47. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  48. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  49. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  50. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  51. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  52. package/cjs/resources/Capital/index.d.ts +25 -0
  53. package/cjs/resources/Capital/index.js +17 -0
  54. package/cjs/resources/Capital/index.js.map +1 -0
  55. package/cjs/resources/Cards.d.ts +4 -0
  56. package/cjs/resources/Charges.d.ts +3064 -70
  57. package/cjs/resources/Checkout/Sessions.d.ts +390 -4
  58. package/cjs/resources/ConfirmationTokens.d.ts +67 -1
  59. package/cjs/resources/Coupons.d.ts +53 -0
  60. package/cjs/resources/Coupons.js +13 -0
  61. package/cjs/resources/Coupons.js.map +1 -1
  62. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  63. package/cjs/resources/CreditNotes.d.ts +1 -1
  64. package/cjs/resources/CustomerSessions.d.ts +68 -0
  65. package/cjs/resources/Customers.d.ts +7 -1
  66. package/cjs/resources/Customers.js +14 -0
  67. package/cjs/resources/Customers.js.map +1 -1
  68. package/cjs/resources/Disputes.d.ts +29 -0
  69. package/cjs/resources/Events.d.ts +547 -2
  70. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  71. package/cjs/resources/ExternalAccounts.js +44 -0
  72. package/cjs/resources/ExternalAccounts.js.map +1 -1
  73. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  74. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  75. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  76. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  77. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  78. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  79. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  80. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  81. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  82. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  83. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  84. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  85. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  86. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  87. package/cjs/resources/FinancialConnections/index.js +4 -0
  88. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  89. package/cjs/resources/FxQuotes.d.ts +212 -0
  90. package/cjs/resources/FxQuotes.js +29 -0
  91. package/cjs/resources/FxQuotes.js.map +1 -0
  92. package/cjs/resources/InvoiceItems.d.ts +85 -0
  93. package/cjs/resources/InvoiceItems.js.map +1 -1
  94. package/cjs/resources/InvoiceLineItems.d.ts +40 -2
  95. package/cjs/resources/Invoices.d.ts +1337 -19
  96. package/cjs/resources/Invoices.js +41 -0
  97. package/cjs/resources/Invoices.js.map +1 -1
  98. package/cjs/resources/Issuing/Cardholders.d.ts +2 -1
  99. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  103. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  104. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  105. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  106. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  107. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  108. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  109. package/cjs/resources/Issuing/Settlements.js +4 -0
  110. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  111. package/cjs/resources/Issuing/Transactions.d.ts +9 -0
  112. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  113. package/cjs/resources/Issuing/index.d.ts +47 -22
  114. package/cjs/resources/Issuing/index.js +6 -0
  115. package/cjs/resources/Issuing/index.js.map +1 -1
  116. package/cjs/resources/LineItems.d.ts +29 -2
  117. package/cjs/resources/Mandates.d.ts +33 -1
  118. package/cjs/resources/Mandates.js +8 -0
  119. package/cjs/resources/Mandates.js.map +1 -1
  120. package/cjs/resources/Margins.d.ts +115 -0
  121. package/cjs/resources/Margins.js +35 -0
  122. package/cjs/resources/Margins.js.map +1 -0
  123. package/cjs/resources/Orders.d.ts +4693 -0
  124. package/cjs/resources/Orders.js +457 -0
  125. package/cjs/resources/Orders.js.map +1 -0
  126. package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
  127. package/cjs/resources/PaymentIntents.d.ts +13239 -2321
  128. package/cjs/resources/PaymentIntents.js +27 -0
  129. package/cjs/resources/PaymentIntents.js.map +1 -1
  130. package/cjs/resources/PaymentLinks.d.ts +19 -3
  131. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  132. package/cjs/resources/PaymentMethods.d.ts +151 -3
  133. package/cjs/resources/PaymentMethods.js.map +1 -1
  134. package/cjs/resources/PaymentRecords.d.ts +82 -0
  135. package/cjs/resources/Persons.d.ts +2 -2
  136. package/cjs/resources/Plans.d.ts +16 -0
  137. package/cjs/resources/Prices.d.ts +52 -0
  138. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  139. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  140. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  141. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  142. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  143. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  144. package/cjs/resources/Privacy/index.d.ts +22 -0
  145. package/cjs/resources/Privacy/index.js +13 -0
  146. package/cjs/resources/Privacy/index.js.map +1 -0
  147. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  148. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  149. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  150. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  151. package/cjs/resources/ProductCatalog/index.js +13 -0
  152. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  153. package/cjs/resources/Products.d.ts +42 -0
  154. package/cjs/resources/PromotionCodes.d.ts +12 -0
  155. package/cjs/resources/PromotionCodes.js +27 -0
  156. package/cjs/resources/PromotionCodes.js.map +1 -1
  157. package/cjs/resources/QuoteLines.d.ts +507 -0
  158. package/cjs/resources/QuoteLines.js +4 -0
  159. package/cjs/resources/QuoteLines.js.map +1 -0
  160. package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
  161. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  162. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  163. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
  164. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  165. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  166. package/cjs/resources/Quotes.d.ts +2266 -57
  167. package/cjs/resources/Quotes.js +1184 -16
  168. package/cjs/resources/Quotes.js.map +1 -1
  169. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  170. package/cjs/resources/Refunds.d.ts +11 -0
  171. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  172. package/cjs/resources/Reserve/Holds.js +19 -0
  173. package/cjs/resources/Reserve/Holds.js.map +1 -1
  174. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  175. package/cjs/resources/Reserve/Plans.js +11 -0
  176. package/cjs/resources/Reserve/Plans.js.map +1 -1
  177. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  178. package/cjs/resources/Reserve/Releases.js +19 -0
  179. package/cjs/resources/Reserve/Releases.js.map +1 -1
  180. package/cjs/resources/Reserve/index.d.ts +14 -3
  181. package/cjs/resources/Reserve/index.js +10 -2
  182. package/cjs/resources/Reserve/index.js.map +1 -1
  183. package/cjs/resources/SetupAttempts.d.ts +26 -1
  184. package/cjs/resources/SetupIntents.d.ts +330 -11
  185. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1095 -0
  186. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  187. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  188. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +308 -0
  189. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  190. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  191. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  192. package/cjs/resources/SharedPayment/index.js +15 -0
  193. package/cjs/resources/SharedPayment/index.js.map +1 -0
  194. package/cjs/resources/Sources.d.ts +16 -1
  195. package/cjs/resources/SubscriptionItems.d.ts +143 -0
  196. package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
  197. package/cjs/resources/SubscriptionSchedules.js +6 -0
  198. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  199. package/cjs/resources/Subscriptions.d.ts +571 -6
  200. package/cjs/resources/Subscriptions.js +145 -0
  201. package/cjs/resources/Subscriptions.js.map +1 -1
  202. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  203. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  204. package/cjs/resources/Tax/Forms.d.ts +230 -0
  205. package/cjs/resources/Tax/Forms.js +32 -0
  206. package/cjs/resources/Tax/Forms.js.map +1 -0
  207. package/cjs/resources/Tax/Locations.d.ts +108 -0
  208. package/cjs/resources/Tax/Locations.js +33 -0
  209. package/cjs/resources/Tax/Locations.js.map +1 -0
  210. package/cjs/resources/Tax/Registrations.d.ts +138 -2
  211. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  212. package/cjs/resources/Tax/index.d.ts +27 -13
  213. package/cjs/resources/Tax/index.js +4 -0
  214. package/cjs/resources/Tax/index.js.map +1 -1
  215. package/cjs/resources/TaxCodes.d.ts +15 -0
  216. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  217. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  218. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  219. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  220. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  221. package/cjs/resources/Terminal/index.d.ts +5 -0
  222. package/cjs/resources/Terminal/index.js +2 -0
  223. package/cjs/resources/Terminal/index.js.map +1 -1
  224. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  225. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  226. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  227. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  228. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  229. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  230. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  231. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  232. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  233. package/cjs/resources/TestHelpers/index.d.ts +3 -0
  234. package/cjs/resources/TestHelpers/index.js +6 -4
  235. package/cjs/resources/TestHelpers/index.js.map +1 -1
  236. package/cjs/resources/Transfers.d.ts +8 -0
  237. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  238. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  239. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  240. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  241. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  242. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  243. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  244. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  245. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  246. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  247. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  248. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  249. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  250. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  251. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  252. package/cjs/resources/V2/Billing/Cadences.d.ts +951 -0
  253. package/cjs/resources/V2/Billing/Cadences.js +198 -0
  254. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  255. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  256. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  257. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  258. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  259. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  260. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  261. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  262. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  263. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  264. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  265. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  266. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  267. package/cjs/resources/V2/Billing/index.d.ts +45 -6
  268. package/cjs/resources/V2/Billing/index.js +8 -0
  269. package/cjs/resources/V2/Billing/index.js.map +1 -1
  270. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  271. package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
  272. package/cjs/resources/V2/Core/Accounts.d.ts +1177 -167
  273. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  274. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  275. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  276. package/cjs/resources/V2/Core/Events.d.ts +1123 -4
  277. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  278. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  279. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  280. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  281. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  282. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  283. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  284. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  285. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  286. package/cjs/resources/V2/Core/index.d.ts +19 -9
  287. package/cjs/resources/V2/Core/index.js +4 -0
  288. package/cjs/resources/V2/Core/index.js.map +1 -1
  289. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  290. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  291. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  292. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  293. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  294. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  295. package/cjs/resources/V2/Data/index.d.ts +10 -0
  296. package/cjs/resources/V2/Data/index.js +13 -0
  297. package/cjs/resources/V2/Data/index.js.map +1 -0
  298. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  299. package/cjs/resources/V2/EventMisc.js +2 -0
  300. package/cjs/resources/V2/EventMisc.js.map +1 -0
  301. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  302. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  303. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  304. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  305. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  306. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  307. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  308. package/cjs/resources/V2/Extend/index.js +15 -0
  309. package/cjs/resources/V2/Extend/index.js.map +1 -0
  310. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  311. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  312. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  313. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  314. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  315. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  316. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  317. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  318. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  319. package/cjs/resources/V2/Iam/index.d.ts +13 -0
  320. package/cjs/resources/V2/Iam/index.js +13 -0
  321. package/cjs/resources/V2/Iam/index.js.map +1 -0
  322. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  323. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  324. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  325. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
  326. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
  327. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  328. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
  329. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  330. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  331. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  332. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  333. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  334. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
  335. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  336. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  337. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
  338. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  339. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  340. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
  341. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  342. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  343. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
  344. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  345. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  346. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
  347. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  348. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  349. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  350. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  351. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  352. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  353. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  354. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  355. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -0
  356. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  357. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  358. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +165 -0
  359. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  360. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  361. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
  362. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  363. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  364. package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
  365. package/cjs/resources/V2/MoneyManagement/index.js +39 -0
  366. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  367. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  368. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  369. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  370. package/cjs/resources/V2/Network/index.d.ts +13 -0
  371. package/cjs/resources/V2/Network/index.js +13 -0
  372. package/cjs/resources/V2/Network/index.js.map +1 -0
  373. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  374. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  375. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  376. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  377. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  378. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  379. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  380. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  381. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  382. package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
  383. package/cjs/resources/V2/TestHelpers/index.js +13 -0
  384. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  385. package/cjs/resources/V2/index.d.ts +27 -0
  386. package/cjs/resources/V2/index.js +14 -0
  387. package/cjs/resources/V2/index.js.map +1 -1
  388. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  389. package/cjs/resources.d.ts +10 -0
  390. package/cjs/resources.js +146 -10
  391. package/cjs/resources.js.map +1 -1
  392. package/cjs/stripe.core.d.ts +61 -24
  393. package/cjs/stripe.core.js +55 -31
  394. package/cjs/stripe.core.js.map +1 -1
  395. package/esm/Error.d.ts +50 -0
  396. package/esm/Error.js +109 -0
  397. package/esm/Error.js.map +1 -1
  398. package/esm/RequestSender.d.ts +0 -1
  399. package/esm/RequestSender.js +0 -8
  400. package/esm/RequestSender.js.map +1 -1
  401. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  402. package/esm/StripeEventNotificationHandler.js +144 -0
  403. package/esm/StripeEventNotificationHandler.js.map +1 -0
  404. package/esm/Types.d.ts +4 -2
  405. package/esm/Types.js.map +1 -1
  406. package/esm/apiVersion.d.ts +1 -2
  407. package/esm/apiVersion.js +1 -2
  408. package/esm/apiVersion.js.map +1 -1
  409. package/esm/resources/AccountLinks.d.ts +1 -1
  410. package/esm/resources/AccountNotices.d.ts +140 -0
  411. package/esm/resources/AccountNotices.js +25 -0
  412. package/esm/resources/AccountNotices.js.map +1 -0
  413. package/esm/resources/AccountSessions.d.ts +262 -0
  414. package/esm/resources/AccountSessions.js.map +1 -1
  415. package/esm/resources/Accounts.d.ts +827 -3
  416. package/esm/resources/Accounts.js +14 -0
  417. package/esm/resources/Accounts.js.map +1 -1
  418. package/esm/resources/Balance.d.ts +67 -0
  419. package/esm/resources/BankAccounts.d.ts +2 -2
  420. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
  421. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  422. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  423. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  424. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  425. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  426. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  427. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  428. package/esm/resources/Billing/Analytics/index.js +9 -0
  429. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  430. package/esm/resources/Billing/index.d.ts +3 -0
  431. package/esm/resources/Billing/index.js +2 -0
  432. package/esm/resources/Billing/index.js.map +1 -1
  433. package/esm/resources/Capabilities.d.ts +2 -2
  434. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  435. package/esm/resources/Capital/FinancingOffers.js +26 -0
  436. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  437. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  438. package/esm/resources/Capital/FinancingSummary.js +11 -0
  439. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  440. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  441. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  442. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  443. package/esm/resources/Capital/index.d.ts +25 -0
  444. package/esm/resources/Capital/index.js +13 -0
  445. package/esm/resources/Capital/index.js.map +1 -0
  446. package/esm/resources/Cards.d.ts +4 -0
  447. package/esm/resources/Charges.d.ts +3064 -70
  448. package/esm/resources/Checkout/Sessions.d.ts +390 -4
  449. package/esm/resources/ConfirmationTokens.d.ts +67 -1
  450. package/esm/resources/Coupons.d.ts +53 -0
  451. package/esm/resources/Coupons.js +13 -0
  452. package/esm/resources/Coupons.js.map +1 -1
  453. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  454. package/esm/resources/CreditNotes.d.ts +1 -1
  455. package/esm/resources/CustomerSessions.d.ts +68 -0
  456. package/esm/resources/Customers.d.ts +7 -1
  457. package/esm/resources/Customers.js +14 -0
  458. package/esm/resources/Customers.js.map +1 -1
  459. package/esm/resources/Disputes.d.ts +29 -0
  460. package/esm/resources/Events.d.ts +547 -2
  461. package/esm/resources/ExternalAccounts.d.ts +212 -1
  462. package/esm/resources/ExternalAccounts.js +42 -1
  463. package/esm/resources/ExternalAccounts.js.map +1 -1
  464. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  465. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  466. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  467. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  468. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  469. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  470. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  471. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  472. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  473. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  474. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  475. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  476. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  477. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  478. package/esm/resources/FinancialConnections/index.js +4 -0
  479. package/esm/resources/FinancialConnections/index.js.map +1 -1
  480. package/esm/resources/FxQuotes.d.ts +212 -0
  481. package/esm/resources/FxQuotes.js +25 -0
  482. package/esm/resources/FxQuotes.js.map +1 -0
  483. package/esm/resources/InvoiceItems.d.ts +85 -0
  484. package/esm/resources/InvoiceItems.js.map +1 -1
  485. package/esm/resources/InvoiceLineItems.d.ts +40 -2
  486. package/esm/resources/Invoices.d.ts +1337 -19
  487. package/esm/resources/Invoices.js +41 -0
  488. package/esm/resources/Invoices.js.map +1 -1
  489. package/esm/resources/Issuing/Cardholders.d.ts +2 -1
  490. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  491. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  492. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  493. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  494. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  495. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  496. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  497. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  498. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  499. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  500. package/esm/resources/Issuing/Settlements.js +3 -0
  501. package/esm/resources/Issuing/Settlements.js.map +1 -0
  502. package/esm/resources/Issuing/Transactions.d.ts +9 -0
  503. package/esm/resources/Issuing/Transactions.js.map +1 -1
  504. package/esm/resources/Issuing/index.d.ts +47 -22
  505. package/esm/resources/Issuing/index.js +6 -0
  506. package/esm/resources/Issuing/index.js.map +1 -1
  507. package/esm/resources/LineItems.d.ts +29 -2
  508. package/esm/resources/Mandates.d.ts +33 -1
  509. package/esm/resources/Mandates.js +8 -0
  510. package/esm/resources/Mandates.js.map +1 -1
  511. package/esm/resources/Margins.d.ts +115 -0
  512. package/esm/resources/Margins.js +31 -0
  513. package/esm/resources/Margins.js.map +1 -0
  514. package/esm/resources/Orders.d.ts +4693 -0
  515. package/esm/resources/Orders.js +453 -0
  516. package/esm/resources/Orders.js.map +1 -0
  517. package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
  518. package/esm/resources/PaymentIntents.d.ts +13239 -2321
  519. package/esm/resources/PaymentIntents.js +27 -0
  520. package/esm/resources/PaymentIntents.js.map +1 -1
  521. package/esm/resources/PaymentLinks.d.ts +19 -3
  522. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  523. package/esm/resources/PaymentMethods.d.ts +151 -3
  524. package/esm/resources/PaymentMethods.js.map +1 -1
  525. package/esm/resources/PaymentRecords.d.ts +82 -0
  526. package/esm/resources/Persons.d.ts +2 -2
  527. package/esm/resources/Plans.d.ts +16 -0
  528. package/esm/resources/Prices.d.ts +52 -0
  529. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  530. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  531. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  532. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  533. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  534. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  535. package/esm/resources/Privacy/index.d.ts +22 -0
  536. package/esm/resources/Privacy/index.js +9 -0
  537. package/esm/resources/Privacy/index.js.map +1 -0
  538. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  539. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  540. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  541. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  542. package/esm/resources/ProductCatalog/index.js +9 -0
  543. package/esm/resources/ProductCatalog/index.js.map +1 -0
  544. package/esm/resources/Products.d.ts +42 -0
  545. package/esm/resources/PromotionCodes.d.ts +12 -0
  546. package/esm/resources/PromotionCodes.js +27 -0
  547. package/esm/resources/PromotionCodes.js.map +1 -1
  548. package/esm/resources/QuoteLines.d.ts +507 -0
  549. package/esm/resources/QuoteLines.js +3 -0
  550. package/esm/resources/QuoteLines.js.map +1 -0
  551. package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
  552. package/esm/resources/QuotePreviewInvoices.js +3 -0
  553. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  554. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
  555. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  556. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  557. package/esm/resources/Quotes.d.ts +2266 -57
  558. package/esm/resources/Quotes.js +1184 -16
  559. package/esm/resources/Quotes.js.map +1 -1
  560. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  561. package/esm/resources/Refunds.d.ts +11 -0
  562. package/esm/resources/Reserve/Holds.d.ts +53 -1
  563. package/esm/resources/Reserve/Holds.js +17 -1
  564. package/esm/resources/Reserve/Holds.js.map +1 -1
  565. package/esm/resources/Reserve/Plans.d.ts +16 -0
  566. package/esm/resources/Reserve/Plans.js +9 -1
  567. package/esm/resources/Reserve/Plans.js.map +1 -1
  568. package/esm/resources/Reserve/Releases.d.ts +41 -1
  569. package/esm/resources/Reserve/Releases.js +17 -1
  570. package/esm/resources/Reserve/Releases.js.map +1 -1
  571. package/esm/resources/Reserve/index.d.ts +14 -3
  572. package/esm/resources/Reserve/index.js +10 -2
  573. package/esm/resources/Reserve/index.js.map +1 -1
  574. package/esm/resources/SetupAttempts.d.ts +26 -1
  575. package/esm/resources/SetupIntents.d.ts +330 -11
  576. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1095 -0
  577. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  578. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  579. package/esm/resources/SharedPayment/IssuedTokens.d.ts +308 -0
  580. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  581. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  582. package/esm/resources/SharedPayment/index.d.ts +19 -0
  583. package/esm/resources/SharedPayment/index.js +11 -0
  584. package/esm/resources/SharedPayment/index.js.map +1 -0
  585. package/esm/resources/Sources.d.ts +16 -1
  586. package/esm/resources/SubscriptionItems.d.ts +143 -0
  587. package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
  588. package/esm/resources/SubscriptionSchedules.js +6 -0
  589. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  590. package/esm/resources/Subscriptions.d.ts +571 -6
  591. package/esm/resources/Subscriptions.js +145 -0
  592. package/esm/resources/Subscriptions.js.map +1 -1
  593. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  594. package/esm/resources/Tax/Calculations.d.ts +7 -3
  595. package/esm/resources/Tax/Forms.d.ts +230 -0
  596. package/esm/resources/Tax/Forms.js +28 -0
  597. package/esm/resources/Tax/Forms.js.map +1 -0
  598. package/esm/resources/Tax/Locations.d.ts +108 -0
  599. package/esm/resources/Tax/Locations.js +29 -0
  600. package/esm/resources/Tax/Locations.js.map +1 -0
  601. package/esm/resources/Tax/Registrations.d.ts +138 -2
  602. package/esm/resources/Tax/Transactions.d.ts +2 -2
  603. package/esm/resources/Tax/index.d.ts +27 -13
  604. package/esm/resources/Tax/index.js +4 -0
  605. package/esm/resources/Tax/index.js.map +1 -1
  606. package/esm/resources/TaxCodes.d.ts +15 -0
  607. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  608. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  609. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  610. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  611. package/esm/resources/Terminal/Readers.d.ts +17 -1
  612. package/esm/resources/Terminal/index.d.ts +5 -0
  613. package/esm/resources/Terminal/index.js +2 -0
  614. package/esm/resources/Terminal/index.js.map +1 -1
  615. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  616. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  617. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  618. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  619. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  620. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  621. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  622. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  623. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  624. package/esm/resources/TestHelpers/index.d.ts +3 -0
  625. package/esm/resources/TestHelpers/index.js +2 -0
  626. package/esm/resources/TestHelpers/index.js.map +1 -1
  627. package/esm/resources/Transfers.d.ts +8 -0
  628. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  629. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  630. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  631. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  632. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  633. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  634. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  635. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  636. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  637. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  638. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  639. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  640. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  641. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  642. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  643. package/esm/resources/V2/Billing/Cadences.d.ts +951 -0
  644. package/esm/resources/V2/Billing/Cadences.js +194 -0
  645. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  646. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  647. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  648. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  649. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  650. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  651. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  652. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  653. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  654. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  655. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  656. package/esm/resources/V2/Billing/Profiles.js +31 -0
  657. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  658. package/esm/resources/V2/Billing/index.d.ts +45 -6
  659. package/esm/resources/V2/Billing/index.js +8 -0
  660. package/esm/resources/V2/Billing/index.js.map +1 -1
  661. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  662. package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
  663. package/esm/resources/V2/Core/Accounts.d.ts +1177 -167
  664. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  665. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  666. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  667. package/esm/resources/V2/Core/Events.d.ts +1123 -4
  668. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  669. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  670. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  671. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  672. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  673. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  674. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  675. package/esm/resources/V2/Core/Vault/index.js +11 -0
  676. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  677. package/esm/resources/V2/Core/index.d.ts +19 -9
  678. package/esm/resources/V2/Core/index.js +4 -0
  679. package/esm/resources/V2/Core/index.js.map +1 -1
  680. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  681. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  682. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  683. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  684. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  685. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  686. package/esm/resources/V2/Data/index.d.ts +10 -0
  687. package/esm/resources/V2/Data/index.js +9 -0
  688. package/esm/resources/V2/Data/index.js.map +1 -0
  689. package/esm/resources/V2/EventMisc.d.ts +0 -0
  690. package/esm/resources/V2/EventMisc.js +2 -0
  691. package/esm/resources/V2/EventMisc.js.map +1 -0
  692. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  693. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  694. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  695. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  696. package/esm/resources/V2/Extend/Workflows.js +26 -0
  697. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  698. package/esm/resources/V2/Extend/index.d.ts +20 -0
  699. package/esm/resources/V2/Extend/index.js +11 -0
  700. package/esm/resources/V2/Extend/index.js.map +1 -0
  701. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  702. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  703. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  704. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  705. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  706. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  707. package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  708. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  709. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  710. package/esm/resources/V2/Iam/index.d.ts +13 -0
  711. package/esm/resources/V2/Iam/index.js +9 -0
  712. package/esm/resources/V2/Iam/index.js.map +1 -0
  713. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  714. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  715. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  716. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
  717. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
  718. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  719. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
  720. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  721. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  722. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  723. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  724. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  725. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
  726. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  727. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  728. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
  729. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  730. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  731. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
  732. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  733. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  734. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
  735. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  736. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  737. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
  738. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  739. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  740. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  741. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  742. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  743. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  744. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  745. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  746. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -0
  747. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  748. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  749. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +165 -0
  750. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  751. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  752. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
  753. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  754. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  755. package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
  756. package/esm/resources/V2/MoneyManagement/index.js +35 -0
  757. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  758. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  759. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  760. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  761. package/esm/resources/V2/Network/index.d.ts +13 -0
  762. package/esm/resources/V2/Network/index.js +9 -0
  763. package/esm/resources/V2/Network/index.js.map +1 -0
  764. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  765. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  766. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  767. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  768. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  769. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  770. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  771. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  772. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  773. package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
  774. package/esm/resources/V2/TestHelpers/index.js +9 -0
  775. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  776. package/esm/resources/V2/index.d.ts +27 -0
  777. package/esm/resources/V2/index.js +14 -0
  778. package/esm/resources/V2/index.js.map +1 -1
  779. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  780. package/esm/resources.d.ts +10 -0
  781. package/esm/resources.js +131 -0
  782. package/esm/resources.js.map +1 -1
  783. package/esm/stripe.core.d.ts +61 -24
  784. package/esm/stripe.core.js +25 -1
  785. package/esm/stripe.core.js.map +1 -1
  786. package/esm/stripe.esm.node.d.ts +62 -24
  787. package/esm/stripe.esm.node.js +25 -1
  788. package/esm/stripe.esm.node.js.map +1 -1
  789. package/package.json +1 -1
@@ -105,7 +105,7 @@ export interface Account {
105
105
  export declare namespace V2 {
106
106
  namespace Core {
107
107
  namespace Account {
108
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
108
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
109
109
  interface Configuration {
110
110
  /**
111
111
  * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
@@ -119,6 +119,10 @@ 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;
122
126
  }
123
127
  type Dashboard = 'express' | 'full' | 'none';
124
128
  interface Defaults {
@@ -138,6 +142,10 @@ export declare namespace V2 {
138
142
  * Default responsibilities held by either Stripe or the platform.
139
143
  */
140
144
  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;
141
149
  }
142
150
  interface FutureRequirements {
143
151
  /**
@@ -249,6 +257,10 @@ export declare namespace V2 {
249
257
  * Settings for SEPA Direct Debit payments.
250
258
  */
251
259
  sepa_debit_payments?: Merchant.SepaDebitPayments;
260
+ /**
261
+ * Settings for Smart Disputes automatic response feature.
262
+ */
263
+ smart_disputes?: Merchant.SmartDisputes;
252
264
  /**
253
265
  * Statement descriptor.
254
266
  */
@@ -267,6 +279,20 @@ export declare namespace V2 {
267
279
  * Capabilities that have been requested on the Recipient Configuration.
268
280
  */
269
281
  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;
270
296
  }
271
297
  namespace Customer {
272
298
  interface AutomaticIndirectTax {
@@ -677,6 +703,12 @@ export declare namespace V2 {
677
703
  */
678
704
  creditor_id?: string;
679
705
  }
706
+ interface SmartDisputes {
707
+ /**
708
+ * Settings for Smart Disputes auto_respond.
709
+ */
710
+ auto_respond?: SmartDisputes.AutoRespond;
711
+ }
680
712
  interface StatementDescriptor {
681
713
  /**
682
714
  * 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.
@@ -1992,6 +2024,22 @@ export declare namespace V2 {
1992
2024
  prefix?: string;
1993
2025
  }
1994
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
+ }
1995
2043
  namespace Support {
1996
2044
  interface Address {
1997
2045
  /**
@@ -2027,12 +2075,50 @@ export declare namespace V2 {
2027
2075
  }
2028
2076
  namespace Recipient {
2029
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;
2030
2086
  /**
2031
2087
  * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2032
2088
  */
2033
2089
  stripe_balance?: Capabilities.StripeBalance;
2034
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
+ }
2035
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
+ }
2036
2122
  interface StripeBalance {
2037
2123
  /**
2038
2124
  * Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
@@ -2043,6 +2129,79 @@ export declare namespace V2 {
2043
2129
  */
2044
2130
  stripe_transfers?: StripeBalance.StripeTransfers;
2045
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
+ }
2046
2205
  namespace StripeBalance {
2047
2206
  interface Payouts {
2048
2207
  /**
@@ -2100,152 +2259,511 @@ export declare namespace V2 {
2100
2259
  }
2101
2260
  }
2102
2261
  }
2103
- }
2104
- }
2105
- namespace Defaults {
2106
- 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';
2107
- interface Profile {
2108
- /**
2109
- * The business's publicly-available website.
2110
- */
2111
- business_url?: string;
2112
- /**
2113
- * The customer-facing business name.
2114
- */
2115
- doing_business_as?: string;
2116
- /**
2117
- * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2118
- */
2119
- product_description?: string;
2120
- }
2121
- interface Responsibilities {
2122
- /**
2123
- * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
2124
- */
2125
- fees_collector?: Responsibilities.FeesCollector;
2126
- /**
2127
- * A value indicating responsibility for collecting requirements on this account.
2128
- */
2129
- losses_collector?: Responsibilities.LossesCollector;
2130
- /**
2131
- * A value indicating responsibility for collecting requirements on this account.
2132
- */
2133
- requirements_collector: Responsibilities.RequirementsCollector;
2134
- }
2135
- namespace Responsibilities {
2136
- type FeesCollector = 'application' | 'application_custom' | 'application_express' | 'stripe';
2137
- type LossesCollector = 'application' | 'stripe';
2138
- type RequirementsCollector = 'application' | 'stripe';
2139
- }
2140
- }
2141
- namespace FutureRequirements {
2142
- interface Entry {
2143
- /**
2144
- * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
2145
- */
2146
- awaiting_action_from: Entry.AwaitingActionFrom;
2147
- /**
2148
- * Machine-readable string describing the requirement.
2149
- */
2150
- description: string;
2151
- /**
2152
- * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
2153
- */
2154
- errors: Array<Entry.Error>;
2155
- /**
2156
- * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
2157
- */
2158
- impact: Entry.Impact;
2159
- /**
2160
- * The soonest point when the account will be impacted by not providing the requirement.
2161
- */
2162
- minimum_deadline: Entry.MinimumDeadline;
2163
- /**
2164
- * A reference to the location of the requirement.
2165
- */
2166
- reference?: Entry.Reference;
2167
- /**
2168
- * A list of reasons why Stripe is collecting the requirement.
2169
- */
2170
- requested_reasons: Array<Entry.RequestedReason>;
2171
- }
2172
- interface Summary {
2173
- /**
2174
- * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
2175
- */
2176
- minimum_deadline?: Summary.MinimumDeadline;
2177
- }
2178
- namespace Entry {
2179
- type AwaitingActionFrom = 'stripe' | 'user';
2180
- interface Error {
2181
- /**
2182
- * Machine-readable code describing the error.
2183
- */
2184
- code: Error.Code;
2185
- /**
2186
- * Human-readable description of the error.
2187
- */
2188
- description: string;
2189
- }
2190
- interface Impact {
2191
- /**
2192
- * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
2193
- */
2194
- restricts_capabilities?: Array<Impact.RestrictsCapability>;
2262
+ namespace DefaultOutboundDestination {
2263
+ type Type = 'ae_bank_account' | 'ag_bank_account' | 'al_bank_account' | 'am_bank_account' | 'ao_bank_account' | 'ar_bank_account' | 'at_bank_account' | 'au_bank_account' | 'az_bank_account' | 'ba_bank_account' | 'bd_bank_account' | 'be_bank_account' | 'bg_bank_account' | 'bh_bank_account' | 'bj_bank_account' | 'bn_bank_account' | 'bo_bank_account' | 'br_bank_account' | 'bs_bank_account' | 'bt_bank_account' | 'bw_bank_account' | 'card' | 'ca_bank_account' | 'ch_bank_account' | 'ci_bank_account' | 'cl_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' | 'ga_bank_account' | 'gb_bank_account' | 'gh_bank_account' | 'gi_bank_account' | 'gm_bank_account' | 'gr_bank_account' | 'gt_bank_account' | 'gy_bank_account' | 'hk_bank_account' | 'hn_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' | 'kr_bank_account' | 'kw_bank_account' | 'kz_bank_account' | 'la_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' | 'ne_bank_account' | 'ng_bank_account' | 'ni_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' | 'py_bank_account' | 'qa_bank_account' | 'ro_bank_account' | 'rs_bank_account' | 'rw_bank_account' | 'sa_bank_account' | 'se_bank_account' | 'sg_bank_account' | 'si_bank_account' | 'sk_bank_account' | 'sm_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' | 'uy_bank_account' | 'uz_bank_account' | 'vn_bank_account' | 'za_bank_account';
2195
2264
  }
2196
- interface MinimumDeadline {
2265
+ }
2266
+ namespace Storer {
2267
+ interface Capabilities {
2197
2268
  /**
2198
- * The current status of the requirement's impact.
2269
+ * Can provision a financial address to credit/debit a FinancialAccount.
2199
2270
  */
2200
- status: MinimumDeadline.Status;
2201
- }
2202
- interface Reference {
2271
+ financial_addresses?: Capabilities.FinancialAddresses;
2203
2272
  /**
2204
- * If `inquiry` is the type, the inquiry token.
2273
+ * Can hold storage-type funds on Stripe.
2205
2274
  */
2206
- inquiry?: string;
2275
+ holds_currencies?: Capabilities.HoldsCurrencies;
2207
2276
  /**
2208
- * If `resource` is the type, the resource token.
2277
+ * Hash containing capabilities related to InboundTransfers.
2209
2278
  */
2210
- resource?: string;
2279
+ inbound_transfers?: Capabilities.InboundTransfers;
2211
2280
  /**
2212
- * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field.
2213
- * Otherwise the type is an API resource, the token for which can be found in the "resource" field.
2281
+ * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview).
2214
2282
  */
2215
- type: Reference.Type;
2216
- }
2217
- interface RequestedReason {
2283
+ outbound_payments?: Capabilities.OutboundPayments;
2218
2284
  /**
2219
- * Machine-readable description of Stripe's reason for collecting the requirement.
2285
+ * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview).
2220
2286
  */
2221
- code: RequestedReason.Code;
2222
- }
2223
- namespace Error {
2224
- type Code = 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_url_web_presence_detected' | 'invalid_value_other' | 'unresolvable_ip_address' | 'unresolvable_postal_code' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_selfie_document_missing_photo' | 'verification_selfie_face_mismatch' | 'verification_selfie_manipulated' | 'verification_selfie_unverified_other' | 'verification_supportability' | 'verification_token_stale';
2287
+ outbound_transfers?: Capabilities.OutboundTransfers;
2225
2288
  }
2226
- namespace Impact {
2227
- interface RestrictsCapability {
2289
+ namespace Capabilities {
2290
+ interface FinancialAddresses {
2228
2291
  /**
2229
- * The name of the Capability which will be restricted.
2292
+ * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2230
2293
  */
2231
- capability: RestrictsCapability.Capability;
2294
+ bank_accounts?: FinancialAddresses.BankAccounts;
2295
+ }
2296
+ interface HoldsCurrencies {
2232
2297
  /**
2233
- * The configuration which specifies the Capability which will be restricted.
2298
+ * Can hold storage-type funds on Stripe in EUR.
2234
2299
  */
2235
- configuration: RestrictsCapability.Configuration;
2300
+ eur?: HoldsCurrencies.Eur;
2236
2301
  /**
2237
- * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
2302
+ * Can hold storage-type funds on Stripe in GBP.
2238
2303
  */
2239
- deadline: RestrictsCapability.Deadline;
2304
+ gbp?: HoldsCurrencies.Gbp;
2305
+ /**
2306
+ * Can hold storage-type funds on Stripe in USD.
2307
+ */
2308
+ usd?: HoldsCurrencies.Usd;
2240
2309
  }
2241
- namespace RestrictsCapability {
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';
2244
- interface Deadline {
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 {
2245
2342
  /**
2246
- * The current status of the requirement's impact.
2343
+ * The status of the Capability.
2247
2344
  */
2248
- status: Deadline.Status;
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
+ }
2562
+ }
2563
+ }
2564
+ namespace OutboundTransfers {
2565
+ interface BankAccounts {
2566
+ /**
2567
+ * The status of the Capability.
2568
+ */
2569
+ status: BankAccounts.Status;
2570
+ /**
2571
+ * Additional details about the capability's status. This value is empty when `status` is `active`.
2572
+ */
2573
+ status_details: Array<BankAccounts.StatusDetail>;
2574
+ }
2575
+ interface FinancialAccounts {
2576
+ /**
2577
+ * The status of the Capability.
2578
+ */
2579
+ status: FinancialAccounts.Status;
2580
+ /**
2581
+ * Additional details about the capability's status. This value is empty when `status` is `active`.
2582
+ */
2583
+ status_details: Array<FinancialAccounts.StatusDetail>;
2584
+ }
2585
+ namespace BankAccounts {
2586
+ type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2587
+ interface StatusDetail {
2588
+ /**
2589
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
2590
+ */
2591
+ code: StatusDetail.Code;
2592
+ /**
2593
+ * Machine-readable code explaining how to make the Capability active.
2594
+ */
2595
+ resolution: StatusDetail.Resolution;
2596
+ }
2597
+ namespace StatusDetail {
2598
+ type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2599
+ type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2600
+ }
2601
+ }
2602
+ namespace FinancialAccounts {
2603
+ type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
2604
+ interface StatusDetail {
2605
+ /**
2606
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
2607
+ */
2608
+ code: StatusDetail.Code;
2609
+ /**
2610
+ * Machine-readable code explaining how to make the Capability active.
2611
+ */
2612
+ resolution: StatusDetail.Resolution;
2613
+ }
2614
+ namespace StatusDetail {
2615
+ type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
2616
+ type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
2617
+ }
2618
+ }
2619
+ }
2620
+ }
2621
+ }
2622
+ }
2623
+ namespace Defaults {
2624
+ 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';
2625
+ interface Profile {
2626
+ /**
2627
+ * The business's publicly-available website.
2628
+ */
2629
+ business_url?: string;
2630
+ /**
2631
+ * The customer-facing business name.
2632
+ */
2633
+ doing_business_as?: string;
2634
+ /**
2635
+ * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2636
+ */
2637
+ product_description?: string;
2638
+ }
2639
+ interface Responsibilities {
2640
+ /**
2641
+ * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
2642
+ */
2643
+ fees_collector?: Responsibilities.FeesCollector;
2644
+ /**
2645
+ * A value indicating responsibility for collecting requirements on this account.
2646
+ */
2647
+ losses_collector?: Responsibilities.LossesCollector;
2648
+ /**
2649
+ * A value indicating responsibility for collecting requirements on this account.
2650
+ */
2651
+ requirements_collector: Responsibilities.RequirementsCollector;
2652
+ }
2653
+ namespace Responsibilities {
2654
+ type FeesCollector = 'application' | 'application_custom' | 'application_express' | 'stripe';
2655
+ type LossesCollector = 'application' | 'stripe';
2656
+ type RequirementsCollector = 'application' | 'stripe';
2657
+ }
2658
+ }
2659
+ namespace FutureRequirements {
2660
+ interface Entry {
2661
+ /**
2662
+ * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
2663
+ */
2664
+ awaiting_action_from: Entry.AwaitingActionFrom;
2665
+ /**
2666
+ * Machine-readable string describing the requirement.
2667
+ */
2668
+ description: string;
2669
+ /**
2670
+ * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
2671
+ */
2672
+ errors: Array<Entry.Error>;
2673
+ /**
2674
+ * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
2675
+ */
2676
+ impact: Entry.Impact;
2677
+ /**
2678
+ * The soonest point when the account will be impacted by not providing the requirement.
2679
+ */
2680
+ minimum_deadline: Entry.MinimumDeadline;
2681
+ /**
2682
+ * A reference to the location of the requirement.
2683
+ */
2684
+ reference?: Entry.Reference;
2685
+ /**
2686
+ * A list of reasons why Stripe is collecting the requirement.
2687
+ */
2688
+ requested_reasons: Array<Entry.RequestedReason>;
2689
+ }
2690
+ interface Summary {
2691
+ /**
2692
+ * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
2693
+ */
2694
+ minimum_deadline?: Summary.MinimumDeadline;
2695
+ }
2696
+ namespace Entry {
2697
+ type AwaitingActionFrom = 'stripe' | 'user';
2698
+ interface Error {
2699
+ /**
2700
+ * Machine-readable code describing the error.
2701
+ */
2702
+ code: Error.Code;
2703
+ /**
2704
+ * Human-readable description of the error.
2705
+ */
2706
+ description: string;
2707
+ }
2708
+ interface Impact {
2709
+ /**
2710
+ * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
2711
+ */
2712
+ restricts_capabilities?: Array<Impact.RestrictsCapability>;
2713
+ }
2714
+ interface MinimumDeadline {
2715
+ /**
2716
+ * The current status of the requirement's impact.
2717
+ */
2718
+ status: MinimumDeadline.Status;
2719
+ }
2720
+ interface Reference {
2721
+ /**
2722
+ * If `inquiry` is the type, the inquiry token.
2723
+ */
2724
+ inquiry?: string;
2725
+ /**
2726
+ * If `resource` is the type, the resource token.
2727
+ */
2728
+ resource?: string;
2729
+ /**
2730
+ * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field.
2731
+ * Otherwise the type is an API resource, the token for which can be found in the "resource" field.
2732
+ */
2733
+ type: Reference.Type;
2734
+ }
2735
+ interface RequestedReason {
2736
+ /**
2737
+ * Machine-readable description of Stripe's reason for collecting the requirement.
2738
+ */
2739
+ code: RequestedReason.Code;
2740
+ }
2741
+ namespace Error {
2742
+ type Code = 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_url_web_presence_detected' | 'invalid_value_other' | 'unresolvable_ip_address' | 'unresolvable_postal_code' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_selfie_document_missing_photo' | 'verification_selfie_face_mismatch' | 'verification_selfie_manipulated' | 'verification_selfie_unverified_other' | 'verification_supportability' | 'verification_token_stale';
2743
+ }
2744
+ namespace Impact {
2745
+ interface RestrictsCapability {
2746
+ /**
2747
+ * The name of the Capability which will be restricted.
2748
+ */
2749
+ capability: RestrictsCapability.Capability;
2750
+ /**
2751
+ * The configuration which specifies the Capability which will be restricted.
2752
+ */
2753
+ configuration: RestrictsCapability.Configuration;
2754
+ /**
2755
+ * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
2756
+ */
2757
+ deadline: RestrictsCapability.Deadline;
2758
+ }
2759
+ 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';
2762
+ interface Deadline {
2763
+ /**
2764
+ * The current status of the requirement's impact.
2765
+ */
2766
+ status: Deadline.Status;
2249
2767
  }
2250
2768
  namespace Deadline {
2251
2769
  type Status = 'currently_due' | 'eventually_due' | 'past_due';
@@ -2512,6 +3030,10 @@ export declare namespace V2 {
2512
3030
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2513
3031
  */
2514
3032
  account?: TermsOfService.Account;
3033
+ /**
3034
+ * Details on the Account's acceptance of Treasury-specific terms of service.
3035
+ */
3036
+ storer?: TermsOfService.Storer;
2515
3037
  }
2516
3038
  namespace PersonsProvided {
2517
3039
  type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
@@ -2531,6 +3053,20 @@ export declare namespace V2 {
2531
3053
  */
2532
3054
  user_agent?: string;
2533
3055
  }
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
+ }
2534
3070
  }
2535
3071
  }
2536
3072
  namespace BusinessDetails {
@@ -3357,8 +3893,8 @@ export declare namespace V2 {
3357
3893
  deadline: RestrictsCapability.Deadline;
3358
3894
  }
3359
3895
  namespace RestrictsCapability {
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';
3896
+ 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';
3897
+ type Configuration = 'customer' | 'merchant' | 'recipient' | 'storer';
3362
3898
  interface Deadline {
3363
3899
  /**
3364
3900
  * The current status of the requirement's impact.
@@ -3457,6 +3993,10 @@ export declare namespace V2 {
3457
3993
  * 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.
3458
3994
  */
3459
3995
  recipient?: Configuration.Recipient;
3996
+ /**
3997
+ * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3998
+ */
3999
+ storer?: Configuration.Storer;
3460
4000
  }
3461
4001
  type Dashboard = 'express' | 'full' | 'none';
3462
4002
  interface Defaults {
@@ -3476,6 +4016,10 @@ export declare namespace V2 {
3476
4016
  * Default responsibilities held by either Stripe or the platform.
3477
4017
  */
3478
4018
  responsibilities?: Defaults.Responsibilities;
4019
+ /**
4020
+ * 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).
4021
+ */
4022
+ timezone?: string;
3479
4023
  }
3480
4024
  interface Identity {
3481
4025
  /**
@@ -3499,7 +4043,7 @@ export declare namespace V2 {
3499
4043
  */
3500
4044
  individual?: Identity.Individual;
3501
4045
  }
3502
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
4046
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
3503
4047
  namespace Configuration {
3504
4048
  interface Customer {
3505
4049
  /**
@@ -3552,6 +4096,10 @@ export declare namespace V2 {
3552
4096
  * Settings for the default text that appears on statements for language variations.
3553
4097
  */
3554
4098
  script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
4099
+ /**
4100
+ * Settings used for Smart Disputes.
4101
+ */
4102
+ smart_disputes?: Merchant.SmartDisputes;
3555
4103
  /**
3556
4104
  * Statement descriptor.
3557
4105
  */
@@ -3567,6 +4115,12 @@ export declare namespace V2 {
3567
4115
  */
3568
4116
  capabilities?: Recipient.Capabilities;
3569
4117
  }
4118
+ interface Storer {
4119
+ /**
4120
+ * Capabilities to request on the Storer Configuration.
4121
+ */
4122
+ capabilities?: Storer.Capabilities;
4123
+ }
3570
4124
  namespace Customer {
3571
4125
  interface AutomaticIndirectTax {
3572
4126
  /**
@@ -3577,6 +4131,10 @@ export declare namespace V2 {
3577
4131
  * A recent IP address of the customer used for tax reporting and tax location inference.
3578
4132
  */
3579
4133
  ip_address?: string;
4134
+ /**
4135
+ * 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.
4136
+ */
4137
+ location_source?: AutomaticIndirectTax.LocationSource;
3580
4138
  }
3581
4139
  interface Billing {
3582
4140
  /**
@@ -3606,6 +4164,7 @@ export declare namespace V2 {
3606
4164
  }
3607
4165
  namespace AutomaticIndirectTax {
3608
4166
  type Exempt = 'exempt' | 'none' | 'reverse';
4167
+ type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
3609
4168
  }
3610
4169
  namespace Billing {
3611
4170
  interface Invoice {
@@ -3890,6 +4449,12 @@ export declare namespace V2 {
3890
4449
  */
3891
4450
  kanji?: ScriptStatementDescriptor.Kanji;
3892
4451
  }
4452
+ interface SmartDisputes {
4453
+ /**
4454
+ * Settings for Smart Disputes auto_respond.
4455
+ */
4456
+ auto_respond?: SmartDisputes.AutoRespond;
4457
+ }
3893
4458
  interface StatementDescriptor {
3894
4459
  /**
3895
4460
  * 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.
@@ -4241,60 +4806,255 @@ export declare namespace V2 {
4241
4806
  */
4242
4807
  descriptor?: string;
4243
4808
  /**
4244
- * 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.
4809
+ * 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.
4810
+ */
4811
+ prefix?: string;
4812
+ }
4813
+ }
4814
+ namespace SmartDisputes {
4815
+ interface AutoRespond {
4816
+ /**
4817
+ * The preference for Smart Disputes auto-respond.
4818
+ */
4819
+ preference?: AutoRespond.Preference;
4820
+ }
4821
+ namespace AutoRespond {
4822
+ type Preference = 'inherit' | 'off' | 'on';
4823
+ }
4824
+ }
4825
+ namespace Support {
4826
+ interface Address {
4827
+ /**
4828
+ * City, district, suburb, town, or village.
4829
+ */
4830
+ city?: string;
4831
+ /**
4832
+ * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4833
+ */
4834
+ country: string;
4835
+ /**
4836
+ * Address line 1 (e.g., street, PO Box, or company name).
4837
+ */
4838
+ line1?: string;
4839
+ /**
4840
+ * Address line 2 (e.g., apartment, suite, unit, or building).
4841
+ */
4842
+ line2?: string;
4843
+ /**
4844
+ * ZIP or postal code.
4845
+ */
4846
+ postal_code?: string;
4847
+ /**
4848
+ * State, county, province, or region.
4849
+ */
4850
+ state?: string;
4851
+ /**
4852
+ * Town or district.
4853
+ */
4854
+ town?: string;
4855
+ }
4856
+ }
4857
+ }
4858
+ namespace Recipient {
4859
+ interface Capabilities {
4860
+ /**
4861
+ * Capabilities that enable OutboundPayments to a bank account linked to this Account.
4862
+ */
4863
+ bank_accounts?: Capabilities.BankAccounts;
4864
+ /**
4865
+ * Capabilities that enable OutboundPayments to a card linked to this Account.
4866
+ */
4867
+ cards?: Capabilities.Cards;
4868
+ /**
4869
+ * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
4870
+ */
4871
+ stripe_balance?: Capabilities.StripeBalance;
4872
+ }
4873
+ namespace Capabilities {
4874
+ interface BankAccounts {
4875
+ /**
4876
+ * Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
4877
+ */
4878
+ local?: BankAccounts.Local;
4879
+ /**
4880
+ * Enables this Account to receive OutboundPayments to linked bank accounts over wire.
4881
+ */
4882
+ wire?: BankAccounts.Wire;
4883
+ }
4884
+ interface Cards {
4885
+ /**
4886
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4887
+ */
4888
+ requested: boolean;
4889
+ }
4890
+ interface StripeBalance {
4891
+ /**
4892
+ * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
4893
+ */
4894
+ stripe_transfers?: StripeBalance.StripeTransfers;
4895
+ }
4896
+ namespace BankAccounts {
4897
+ interface Local {
4898
+ /**
4899
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4900
+ */
4901
+ requested: boolean;
4902
+ }
4903
+ interface Wire {
4904
+ /**
4905
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4906
+ */
4907
+ requested: boolean;
4908
+ }
4909
+ }
4910
+ namespace StripeBalance {
4911
+ interface StripeTransfers {
4912
+ /**
4913
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4914
+ */
4915
+ requested: boolean;
4916
+ }
4917
+ }
4918
+ }
4919
+ }
4920
+ namespace Storer {
4921
+ interface Capabilities {
4922
+ /**
4923
+ * Can provision a financial address to credit/debit a FinancialAccount.
4924
+ */
4925
+ financial_addresses?: Capabilities.FinancialAddresses;
4926
+ /**
4927
+ * Can hold storage-type funds on Stripe.
4928
+ */
4929
+ holds_currencies?: Capabilities.HoldsCurrencies;
4930
+ /**
4931
+ * Can pull funds from an external source, owned by yourself, to a FinancialAccount.
4932
+ */
4933
+ inbound_transfers?: Capabilities.InboundTransfers;
4934
+ /**
4935
+ * Can send funds from a FinancialAccount to a destination owned by someone else.
4936
+ */
4937
+ outbound_payments?: Capabilities.OutboundPayments;
4938
+ /**
4939
+ * Can send funds from a FinancialAccount to a destination owned by yourself.
4940
+ */
4941
+ outbound_transfers?: Capabilities.OutboundTransfers;
4942
+ }
4943
+ namespace Capabilities {
4944
+ interface FinancialAddresses {
4945
+ /**
4946
+ * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
4245
4947
  */
4246
- prefix?: string;
4948
+ bank_accounts?: FinancialAddresses.BankAccounts;
4247
4949
  }
4248
- }
4249
- namespace Support {
4250
- interface Address {
4950
+ interface HoldsCurrencies {
4251
4951
  /**
4252
- * City, district, suburb, town, or village.
4952
+ * Can hold storage-type funds on Stripe in EUR.
4253
4953
  */
4254
- city?: string;
4954
+ eur?: HoldsCurrencies.Eur;
4255
4955
  /**
4256
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4956
+ * Can hold storage-type funds on Stripe in GBP.
4257
4957
  */
4258
- country: string;
4958
+ gbp?: HoldsCurrencies.Gbp;
4259
4959
  /**
4260
- * Address line 1 (e.g., street, PO Box, or company name).
4960
+ * Can hold storage-type funds on Stripe in USD.
4261
4961
  */
4262
- line1?: string;
4962
+ usd?: HoldsCurrencies.Usd;
4963
+ }
4964
+ interface InboundTransfers {
4263
4965
  /**
4264
- * Address line 2 (e.g., apartment, suite, unit, or building).
4966
+ * Can pull funds from an external bank account owned by yourself to a FinancialAccount.
4265
4967
  */
4266
- line2?: string;
4968
+ bank_accounts?: InboundTransfers.BankAccounts;
4969
+ }
4970
+ interface OutboundPayments {
4267
4971
  /**
4268
- * ZIP or postal code.
4972
+ * Can send funds from a FinancialAccount to a bank account owned by someone else.
4269
4973
  */
4270
- postal_code?: string;
4974
+ bank_accounts?: OutboundPayments.BankAccounts;
4271
4975
  /**
4272
- * State, county, province, or region.
4976
+ * Can send funds from a FinancialAccount to a debit card owned by someone else.
4273
4977
  */
4274
- state?: string;
4978
+ cards?: OutboundPayments.Cards;
4275
4979
  /**
4276
- * Town or district.
4980
+ * Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
4277
4981
  */
4278
- town?: string;
4982
+ financial_accounts?: OutboundPayments.FinancialAccounts;
4279
4983
  }
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 {
4984
+ interface OutboundTransfers {
4291
4985
  /**
4292
- * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
4986
+ * Can send funds from a FinancialAccount to a bank account owned by yourself.
4293
4987
  */
4294
- stripe_transfers?: StripeBalance.StripeTransfers;
4988
+ bank_accounts?: OutboundTransfers.BankAccounts;
4989
+ /**
4990
+ * Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
4991
+ */
4992
+ financial_accounts?: OutboundTransfers.FinancialAccounts;
4295
4993
  }
4296
- namespace StripeBalance {
4297
- interface StripeTransfers {
4994
+ namespace FinancialAddresses {
4995
+ interface BankAccounts {
4996
+ /**
4997
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4998
+ */
4999
+ requested: boolean;
5000
+ }
5001
+ }
5002
+ namespace HoldsCurrencies {
5003
+ interface Eur {
5004
+ /**
5005
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5006
+ */
5007
+ requested: boolean;
5008
+ }
5009
+ interface Gbp {
5010
+ /**
5011
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5012
+ */
5013
+ requested: boolean;
5014
+ }
5015
+ interface Usd {
5016
+ /**
5017
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5018
+ */
5019
+ requested: boolean;
5020
+ }
5021
+ }
5022
+ namespace InboundTransfers {
5023
+ interface BankAccounts {
5024
+ /**
5025
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5026
+ */
5027
+ requested: boolean;
5028
+ }
5029
+ }
5030
+ namespace OutboundPayments {
5031
+ interface BankAccounts {
5032
+ /**
5033
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5034
+ */
5035
+ requested: boolean;
5036
+ }
5037
+ interface Cards {
5038
+ /**
5039
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5040
+ */
5041
+ requested: boolean;
5042
+ }
5043
+ interface FinancialAccounts {
5044
+ /**
5045
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5046
+ */
5047
+ requested: boolean;
5048
+ }
5049
+ }
5050
+ namespace OutboundTransfers {
5051
+ interface BankAccounts {
5052
+ /**
5053
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
5054
+ */
5055
+ requested: boolean;
5056
+ }
5057
+ interface FinancialAccounts {
4298
5058
  /**
4299
5059
  * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4300
5060
  */
@@ -4545,6 +5305,10 @@ export declare namespace V2 {
4545
5305
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
4546
5306
  */
4547
5307
  account?: TermsOfService.Account;
5308
+ /**
5309
+ * Details on the Account's acceptance of Treasury-specific terms of service.
5310
+ */
5311
+ storer?: TermsOfService.Storer;
4548
5312
  }
4549
5313
  namespace PersonsProvided {
4550
5314
  type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
@@ -4564,6 +5328,20 @@ export declare namespace V2 {
4564
5328
  */
4565
5329
  user_agent?: string;
4566
5330
  }
5331
+ interface Storer {
5332
+ /**
5333
+ * 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.
5334
+ */
5335
+ date: string;
5336
+ /**
5337
+ * The IP address from which the Account's representative accepted the terms of service.
5338
+ */
5339
+ ip: string;
5340
+ /**
5341
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5342
+ */
5343
+ user_agent?: string;
5344
+ }
4567
5345
  }
4568
5346
  }
4569
5347
  namespace BusinessDetails {
@@ -5275,7 +6053,7 @@ export declare namespace V2 {
5275
6053
  include?: Array<AccountRetrieveParams.Include>;
5276
6054
  }
5277
6055
  namespace AccountRetrieveParams {
5278
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
6056
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
5279
6057
  }
5280
6058
  }
5281
6059
  }
@@ -5337,6 +6115,10 @@ export declare namespace V2 {
5337
6115
  * 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.
5338
6116
  */
5339
6117
  recipient?: Configuration.Recipient;
6118
+ /**
6119
+ * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
6120
+ */
6121
+ storer?: Configuration.Storer;
5340
6122
  }
5341
6123
  type Dashboard = 'express' | 'full' | 'none';
5342
6124
  interface Defaults {
@@ -5356,6 +6138,10 @@ export declare namespace V2 {
5356
6138
  * Default responsibilities held by either Stripe or the platform.
5357
6139
  */
5358
6140
  responsibilities?: Defaults.Responsibilities;
6141
+ /**
6142
+ * 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).
6143
+ */
6144
+ timezone?: string;
5359
6145
  }
5360
6146
  interface Identity {
5361
6147
  /**
@@ -5379,7 +6165,7 @@ export declare namespace V2 {
5379
6165
  */
5380
6166
  individual?: Identity.Individual;
5381
6167
  }
5382
- type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
6168
+ type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'configuration.storer' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
5383
6169
  namespace Configuration {
5384
6170
  interface Customer {
5385
6171
  /**
@@ -5440,6 +6226,10 @@ export declare namespace V2 {
5440
6226
  * Settings for the default text that appears on statements for language variations.
5441
6227
  */
5442
6228
  script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
6229
+ /**
6230
+ * Settings for Smart Disputes automatic response feature.
6231
+ */
6232
+ smart_disputes?: Merchant.SmartDisputes;
5443
6233
  /**
5444
6234
  * Settings for the default [statement descriptor](https://docs.stripe.com/connect/statement-descriptors) text.
5445
6235
  */
@@ -5458,6 +6248,20 @@ export declare namespace V2 {
5458
6248
  * Capabilities to request on the Recipient Configuration.
5459
6249
  */
5460
6250
  capabilities?: Recipient.Capabilities;
6251
+ /**
6252
+ * 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).
6253
+ */
6254
+ default_outbound_destination?: string;
6255
+ }
6256
+ interface Storer {
6257
+ /**
6258
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
6259
+ */
6260
+ applied?: boolean;
6261
+ /**
6262
+ * Capabilities to request on the Storer Configuration.
6263
+ */
6264
+ capabilities?: Storer.Capabilities;
5461
6265
  }
5462
6266
  namespace Customer {
5463
6267
  interface AutomaticIndirectTax {
@@ -5469,6 +6273,10 @@ export declare namespace V2 {
5469
6273
  * A recent IP address of the customer used for tax reporting and tax location inference.
5470
6274
  */
5471
6275
  ip_address?: string;
6276
+ /**
6277
+ * Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
6278
+ */
6279
+ location_source?: AutomaticIndirectTax.LocationSource;
5472
6280
  /**
5473
6281
  * A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
5474
6282
  */
@@ -5506,6 +6314,7 @@ export declare namespace V2 {
5506
6314
  }
5507
6315
  namespace AutomaticIndirectTax {
5508
6316
  type Exempt = 'exempt' | 'none' | 'reverse';
6317
+ type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
5509
6318
  type ValidateLocation = 'auto' | 'deferred' | 'immediately';
5510
6319
  }
5511
6320
  namespace Billing {
@@ -5791,6 +6600,12 @@ export declare namespace V2 {
5791
6600
  */
5792
6601
  kanji?: ScriptStatementDescriptor.Kanji;
5793
6602
  }
6603
+ interface SmartDisputes {
6604
+ /**
6605
+ * Settings for Smart Disputes auto_respond.
6606
+ */
6607
+ auto_respond?: SmartDisputes.AutoRespond;
6608
+ }
5794
6609
  interface StatementDescriptor {
5795
6610
  /**
5796
6611
  * 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.
@@ -6147,21 +6962,70 @@ export declare namespace V2 {
6147
6962
  prefix?: string;
6148
6963
  }
6149
6964
  }
6965
+ namespace SmartDisputes {
6966
+ interface AutoRespond {
6967
+ /**
6968
+ * The preference for automatic dispute responses.
6969
+ */
6970
+ preference?: AutoRespond.Preference;
6971
+ }
6972
+ namespace AutoRespond {
6973
+ type Preference = 'inherit' | 'off' | 'on';
6974
+ }
6975
+ }
6150
6976
  }
6151
6977
  namespace Recipient {
6152
6978
  interface Capabilities {
6979
+ /**
6980
+ * Capabilities that enable OutboundPayments to a bank account linked to this Account.
6981
+ */
6982
+ bank_accounts?: Capabilities.BankAccounts;
6983
+ /**
6984
+ * Capability that enable OutboundPayments to a debit card linked to this Account.
6985
+ */
6986
+ cards?: Capabilities.Cards;
6153
6987
  /**
6154
6988
  * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
6155
6989
  */
6156
6990
  stripe_balance?: Capabilities.StripeBalance;
6157
6991
  }
6158
6992
  namespace Capabilities {
6993
+ interface BankAccounts {
6994
+ /**
6995
+ * Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
6996
+ */
6997
+ local?: BankAccounts.Local;
6998
+ /**
6999
+ * Enables this Account to receive OutboundPayments to linked bank accounts over wire.
7000
+ */
7001
+ wire?: BankAccounts.Wire;
7002
+ }
7003
+ interface Cards {
7004
+ /**
7005
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7006
+ */
7007
+ requested?: boolean;
7008
+ }
6159
7009
  interface StripeBalance {
6160
7010
  /**
6161
7011
  * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
6162
7012
  */
6163
7013
  stripe_transfers?: StripeBalance.StripeTransfers;
6164
7014
  }
7015
+ namespace BankAccounts {
7016
+ interface Local {
7017
+ /**
7018
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7019
+ */
7020
+ requested?: boolean;
7021
+ }
7022
+ interface Wire {
7023
+ /**
7024
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7025
+ */
7026
+ requested?: boolean;
7027
+ }
7028
+ }
6165
7029
  namespace StripeBalance {
6166
7030
  interface StripeTransfers {
6167
7031
  /**
@@ -6172,6 +7036,152 @@ export declare namespace V2 {
6172
7036
  }
6173
7037
  }
6174
7038
  }
7039
+ namespace Storer {
7040
+ interface Capabilities {
7041
+ /**
7042
+ * Can provision a financial address to credit/debit a FinancialAccount.
7043
+ */
7044
+ financial_addresses?: Capabilities.FinancialAddresses;
7045
+ /**
7046
+ * Can hold storage-type funds on Stripe.
7047
+ */
7048
+ holds_currencies?: Capabilities.HoldsCurrencies;
7049
+ /**
7050
+ * Can pull funds from an external source, owned by yourself, to a FinancialAccount.
7051
+ */
7052
+ inbound_transfers?: Capabilities.InboundTransfers;
7053
+ /**
7054
+ * Can send funds from a FinancialAccount to a destination owned by someone else.
7055
+ */
7056
+ outbound_payments?: Capabilities.OutboundPayments;
7057
+ /**
7058
+ * Can send funds from a FinancialAccount to a destination owned by yourself.
7059
+ */
7060
+ outbound_transfers?: Capabilities.OutboundTransfers;
7061
+ }
7062
+ namespace Capabilities {
7063
+ interface FinancialAddresses {
7064
+ /**
7065
+ * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
7066
+ */
7067
+ bank_accounts?: FinancialAddresses.BankAccounts;
7068
+ }
7069
+ interface HoldsCurrencies {
7070
+ /**
7071
+ * Can hold storage-type funds on Stripe in EUR.
7072
+ */
7073
+ eur?: HoldsCurrencies.Eur;
7074
+ /**
7075
+ * Can hold storage-type funds on Stripe in GBP.
7076
+ */
7077
+ gbp?: HoldsCurrencies.Gbp;
7078
+ /**
7079
+ * Can hold storage-type funds on Stripe in USD.
7080
+ */
7081
+ usd?: HoldsCurrencies.Usd;
7082
+ }
7083
+ interface InboundTransfers {
7084
+ /**
7085
+ * Can pull funds from an external bank account owned by yourself to a FinancialAccount.
7086
+ */
7087
+ bank_accounts?: InboundTransfers.BankAccounts;
7088
+ }
7089
+ interface OutboundPayments {
7090
+ /**
7091
+ * Can send funds from a FinancialAccount to a bank account owned by someone else.
7092
+ */
7093
+ bank_accounts?: OutboundPayments.BankAccounts;
7094
+ /**
7095
+ * Can send funds from a FinancialAccount to a debit card owned by someone else.
7096
+ */
7097
+ cards?: OutboundPayments.Cards;
7098
+ /**
7099
+ * Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
7100
+ */
7101
+ financial_accounts?: OutboundPayments.FinancialAccounts;
7102
+ }
7103
+ interface OutboundTransfers {
7104
+ /**
7105
+ * Can send funds from a FinancialAccount to a bank account owned by yourself.
7106
+ */
7107
+ bank_accounts?: OutboundTransfers.BankAccounts;
7108
+ /**
7109
+ * Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
7110
+ */
7111
+ financial_accounts?: OutboundTransfers.FinancialAccounts;
7112
+ }
7113
+ namespace FinancialAddresses {
7114
+ interface BankAccounts {
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 HoldsCurrencies {
7122
+ interface Eur {
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 Gbp {
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
+ interface Usd {
7135
+ /**
7136
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7137
+ */
7138
+ requested?: boolean;
7139
+ }
7140
+ }
7141
+ namespace InboundTransfers {
7142
+ interface BankAccounts {
7143
+ /**
7144
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7145
+ */
7146
+ requested?: boolean;
7147
+ }
7148
+ }
7149
+ namespace OutboundPayments {
7150
+ interface BankAccounts {
7151
+ /**
7152
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7153
+ */
7154
+ requested?: boolean;
7155
+ }
7156
+ interface Cards {
7157
+ /**
7158
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7159
+ */
7160
+ requested?: boolean;
7161
+ }
7162
+ interface FinancialAccounts {
7163
+ /**
7164
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7165
+ */
7166
+ requested?: boolean;
7167
+ }
7168
+ }
7169
+ namespace OutboundTransfers {
7170
+ interface BankAccounts {
7171
+ /**
7172
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7173
+ */
7174
+ requested?: boolean;
7175
+ }
7176
+ interface FinancialAccounts {
7177
+ /**
7178
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
7179
+ */
7180
+ requested?: boolean;
7181
+ }
7182
+ }
7183
+ }
7184
+ }
6175
7185
  }
6176
7186
  namespace Defaults {
6177
7187
  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';
@@ -7004,7 +8014,7 @@ export declare namespace V2 {
7004
8014
  limit?: number;
7005
8015
  }
7006
8016
  namespace AccountListParams {
7007
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
8017
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
7008
8018
  }
7009
8019
  }
7010
8020
  }
@@ -7017,7 +8027,7 @@ export declare namespace V2 {
7017
8027
  applied_configurations?: Array<AccountCloseParams.AppliedConfiguration>;
7018
8028
  }
7019
8029
  namespace AccountCloseParams {
7020
- type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
8030
+ type AppliedConfiguration = 'customer' | 'merchant' | 'recipient' | 'storer';
7021
8031
  }
7022
8032
  }
7023
8033
  }