stripe 18.0.0 → 18.1.0-beta.2

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 (303) hide show
  1. package/CHANGELOG.md +1187 -110
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -3
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +91 -1
  6. package/cjs/apiVersion.js +1 -1
  7. package/cjs/resources/AccountNotices.js +21 -0
  8. package/cjs/resources/BalanceSettings.js +10 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/ExternalAccounts.js +23 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  14. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  15. package/cjs/resources/GiftCards/Cards.js +23 -0
  16. package/cjs/resources/GiftCards/Transactions.js +33 -0
  17. package/cjs/resources/Invoices.js +17 -0
  18. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  19. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  20. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  21. package/cjs/resources/Margins.js +22 -0
  22. package/cjs/resources/Orders.js +24 -0
  23. package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
  24. package/cjs/resources/PaymentIntents.js +8 -0
  25. package/cjs/resources/PaymentRecords.js +29 -0
  26. package/cjs/resources/Privacy/RedactionJobs.js +46 -0
  27. package/cjs/resources/Quotes.js +32 -0
  28. package/cjs/resources/SubscriptionSchedules.js +4 -0
  29. package/cjs/resources/Tax/Associations.js +9 -0
  30. package/cjs/resources/Tax/Forms.js +20 -0
  31. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  32. package/cjs/resources/Terminal/Readers.js +12 -0
  33. package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
  34. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  35. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  36. package/cjs/resources/V2/Core/Accounts.js +25 -0
  37. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  38. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  39. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  40. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
  41. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  42. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  43. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +12 -0
  44. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  45. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  46. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  47. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  48. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  49. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  50. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  51. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  52. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  53. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  54. package/cjs/resources.js +106 -18
  55. package/cjs/stripe.core.js +1 -1
  56. package/esm/Error.js +79 -0
  57. package/esm/apiVersion.js +1 -1
  58. package/esm/resources/AccountNotices.js +18 -0
  59. package/esm/resources/BalanceSettings.js +7 -0
  60. package/esm/resources/Capital/FinancingOffers.js +18 -0
  61. package/esm/resources/Capital/FinancingSummary.js +9 -0
  62. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  63. package/esm/resources/ExternalAccounts.js +20 -0
  64. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  65. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  66. package/esm/resources/GiftCards/Cards.js +20 -0
  67. package/esm/resources/GiftCards/Transactions.js +30 -0
  68. package/esm/resources/Invoices.js +17 -0
  69. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  70. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  71. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  72. package/esm/resources/Margins.js +19 -0
  73. package/esm/resources/Orders.js +21 -0
  74. package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
  75. package/esm/resources/PaymentIntents.js +8 -0
  76. package/esm/resources/PaymentRecords.js +26 -0
  77. package/esm/resources/Privacy/RedactionJobs.js +43 -0
  78. package/esm/resources/Quotes.js +32 -0
  79. package/esm/resources/SubscriptionSchedules.js +4 -0
  80. package/esm/resources/Tax/Associations.js +6 -0
  81. package/esm/resources/Tax/Forms.js +17 -0
  82. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  83. package/esm/resources/Terminal/Readers.js +12 -0
  84. package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
  85. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  86. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  87. package/esm/resources/V2/Core/Accounts.js +22 -0
  88. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  89. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  90. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  91. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
  92. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  93. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  94. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +9 -0
  95. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  96. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  97. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  98. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  99. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  100. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  101. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  102. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  103. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  104. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  105. package/esm/resources.js +83 -1
  106. package/esm/stripe.core.js +1 -1
  107. package/package.json +1 -1
  108. package/types/AccountLinksResource.d.ts +5 -1
  109. package/types/AccountNotices.d.ts +113 -0
  110. package/types/AccountNoticesResource.d.ts +98 -0
  111. package/types/AccountSessions.d.ts +45 -0
  112. package/types/AccountSessionsResource.d.ts +300 -0
  113. package/types/Accounts.d.ts +228 -1
  114. package/types/AccountsResource.d.ts +572 -0
  115. package/types/BalanceSettings.d.ts +85 -0
  116. package/types/BalanceSettingsResource.d.ts +108 -0
  117. package/types/BankAccounts.d.ts +2 -0
  118. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  119. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  120. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  121. package/types/Billing/CreditGrants.d.ts +5 -0
  122. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  123. package/types/Billing/MeterErrorReports.d.ts +106 -0
  124. package/types/BillingPortal/Sessions.d.ts +5 -0
  125. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  126. package/types/Capabilities.d.ts +2 -0
  127. package/types/Capital/FinancingOffers.d.ts +188 -0
  128. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  129. package/types/Capital/FinancingSummary.d.ts +106 -0
  130. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  131. package/types/Capital/FinancingTransactions.d.ts +135 -0
  132. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  133. package/types/Cards.d.ts +5 -0
  134. package/types/CashBalances.d.ts +5 -0
  135. package/types/Charges.d.ts +166 -0
  136. package/types/ChargesResource.d.ts +1294 -0
  137. package/types/Checkout/Sessions.d.ts +335 -4
  138. package/types/Checkout/SessionsResource.d.ts +270 -2
  139. package/types/ConfirmationTokens.d.ts +151 -0
  140. package/types/Coupons.d.ts +1 -1
  141. package/types/CreditNoteLineItems.d.ts +17 -0
  142. package/types/CreditNotes.d.ts +9 -0
  143. package/types/CreditNotesResource.d.ts +5 -0
  144. package/types/CustomerBalanceTransactions.d.ts +2 -0
  145. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  146. package/types/CustomerSessions.d.ts +5 -0
  147. package/types/CustomerSessionsResource.d.ts +6 -1
  148. package/types/Customers.d.ts +2 -0
  149. package/types/CustomersResource.d.ts +8 -0
  150. package/types/Discounts.d.ts +10 -0
  151. package/types/Errors.d.ts +69 -2
  152. package/types/EventTypes.d.ts +681 -0
  153. package/types/Events.d.ts +101 -1
  154. package/types/ExternalAccountsResource.d.ts +304 -0
  155. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  156. package/types/FinancialConnections/Accounts.d.ts +31 -1
  157. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  158. package/types/FinancialConnections/Institutions.d.ts +93 -0
  159. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  160. package/types/FinancialConnections/Sessions.d.ts +51 -1
  161. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  162. package/types/GiftCards/Cards.d.ts +118 -0
  163. package/types/GiftCards/CardsResource.d.ts +159 -0
  164. package/types/GiftCards/Transactions.d.ts +129 -0
  165. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  166. package/types/Identity/VerificationSessions.d.ts +5 -0
  167. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  168. package/types/InvoiceItems.d.ts +10 -0
  169. package/types/InvoiceItemsResource.d.ts +117 -6
  170. package/types/InvoiceLineItems.d.ts +45 -1
  171. package/types/InvoicePayments.d.ts +5 -0
  172. package/types/Invoices.d.ts +142 -3
  173. package/types/InvoicesResource.d.ts +1546 -4
  174. package/types/Issuing/CardholdersResource.d.ts +2 -1
  175. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  176. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  177. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  178. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  179. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  180. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  181. package/types/Issuing/Settlements.d.ts +113 -0
  182. package/types/Issuing/Transactions.d.ts +5 -0
  183. package/types/Issuing/TransactionsResource.d.ts +5 -0
  184. package/types/LineItems.d.ts +49 -0
  185. package/types/LoginLinks.d.ts +2 -1
  186. package/types/Mandates.d.ts +77 -0
  187. package/types/Margins.d.ts +56 -0
  188. package/types/MarginsResource.d.ts +114 -0
  189. package/types/Orders.d.ts +1189 -0
  190. package/types/OrdersResource.d.ts +2981 -0
  191. package/types/PaymentAttemptRecords.d.ts +2112 -0
  192. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  193. package/types/PaymentIntents.d.ts +680 -2
  194. package/types/PaymentIntentsResource.d.ts +8438 -3942
  195. package/types/PaymentLinks.d.ts +6 -0
  196. package/types/PaymentLinksResource.d.ts +12 -0
  197. package/types/PaymentMethodConfigurations.d.ts +180 -0
  198. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  199. package/types/PaymentMethodDomains.d.ts +28 -0
  200. package/types/PaymentMethods.d.ts +120 -0
  201. package/types/PaymentMethodsResource.d.ts +170 -5
  202. package/types/PaymentRecords.d.ts +2105 -0
  203. package/types/PaymentRecordsResource.d.ts +455 -0
  204. package/types/Payouts.d.ts +5 -0
  205. package/types/PayoutsResource.d.ts +5 -0
  206. package/types/Persons.d.ts +2 -0
  207. package/types/Prices.d.ts +22 -0
  208. package/types/PricesResource.d.ts +22 -0
  209. package/types/Privacy/RedactionJobRootObjects.d.ts +35 -0
  210. package/types/Privacy/RedactionJobValidationErrors.d.ts +30 -0
  211. package/types/Privacy/RedactionJobs.d.ts +43 -0
  212. package/types/Privacy/RedactionJobsResource.d.ts +240 -0
  213. package/types/Products.d.ts +39 -0
  214. package/types/ProductsResource.d.ts +36 -0
  215. package/types/PromotionCodes.d.ts +5 -0
  216. package/types/PromotionCodesResource.d.ts +10 -0
  217. package/types/QuoteLines.d.ts +634 -0
  218. package/types/QuotePreviewInvoices.d.ts +1686 -0
  219. package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
  220. package/types/Quotes.d.ts +601 -1
  221. package/types/QuotesResource.d.ts +2565 -218
  222. package/types/Refunds.d.ts +14 -0
  223. package/types/SetupAttempts.d.ts +51 -1
  224. package/types/SetupIntents.d.ts +122 -2
  225. package/types/SetupIntentsResource.d.ts +739 -12
  226. package/types/Sources.d.ts +29 -0
  227. package/types/SubscriptionItems.d.ts +23 -0
  228. package/types/SubscriptionItemsResource.d.ts +109 -0
  229. package/types/SubscriptionSchedules.d.ts +205 -0
  230. package/types/SubscriptionSchedulesResource.d.ts +1237 -9
  231. package/types/Subscriptions.d.ts +97 -1
  232. package/types/SubscriptionsResource.d.ts +390 -8
  233. package/types/Tax/Associations.d.ts +126 -0
  234. package/types/Tax/AssociationsResource.d.ts +29 -0
  235. package/types/Tax/CalculationLineItems.d.ts +1 -1
  236. package/types/Tax/Forms.d.ts +220 -0
  237. package/types/Tax/FormsResource.d.ts +107 -0
  238. package/types/Tax/Registrations.d.ts +9 -0
  239. package/types/Tax/RegistrationsResource.d.ts +12 -0
  240. package/types/TaxIds.d.ts +10 -0
  241. package/types/TaxIdsResource.d.ts +10 -0
  242. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  243. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  244. package/types/Terminal/Readers.d.ts +300 -0
  245. package/types/Terminal/ReadersResource.d.ts +220 -0
  246. package/types/TestHelpers/ConfirmationTokensResource.d.ts +174 -3
  247. package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
  248. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  249. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  250. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  251. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  252. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  253. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  254. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  255. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  256. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  257. package/types/V2/Core/AccountLinks.d.ts +101 -0
  258. package/types/V2/Core/AccountLinksResource.d.ts +90 -0
  259. package/types/V2/Core/Accounts/PersonsResource.d.ts +3760 -0
  260. package/types/V2/Core/Accounts.d.ts +8057 -0
  261. package/types/V2/Core/AccountsResource.d.ts +10184 -0
  262. package/types/V2/Core/Persons.d.ts +1857 -0
  263. package/types/V2/Core/Vault/GbBankAccounts.d.ts +155 -0
  264. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  265. package/types/V2/Core/Vault/UsBankAccounts.d.ts +65 -0
  266. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  267. package/types/V2/EventTypes.d.ts +683 -1
  268. package/types/V2/FinancialAddressCreditSimulations.d.ts +22 -0
  269. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +27 -0
  270. package/types/V2/MoneyManagement/Adjustments.d.ts +105 -0
  271. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  272. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +540 -0
  273. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
  274. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  275. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +287 -0
  276. package/types/V2/MoneyManagement/InboundTransfers.d.ts +201 -0
  277. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  278. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +141 -0
  279. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +93 -0
  280. package/types/V2/MoneyManagement/OutboundPayments.d.ts +273 -0
  281. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  282. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +92 -0
  283. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  284. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +246 -0
  285. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
  286. package/types/V2/MoneyManagement/PayoutMethods.d.ts +146 -0
  287. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  288. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +82 -0
  289. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  290. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +280 -0
  291. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  292. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +219 -0
  293. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  294. package/types/V2/MoneyManagement/TransactionEntries.d.ts +151 -0
  295. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  296. package/types/V2/MoneyManagement/Transactions.d.ts +166 -0
  297. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  298. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
  299. package/types/WebhookEndpointsResource.d.ts +82 -2
  300. package/types/index.d.ts +142 -5
  301. package/types/lib.d.ts +11 -1
  302. package/types/test/typescriptTest.ts +3 -3
  303. package/types/InvoicePaymentsResource.d.ts +0 -74
@@ -111,6 +111,8 @@ declare module 'stripe' {
111
111
 
112
112
  requirements?: Account.Requirements;
113
113
 
114
+ risk_controls?: Account.RiskControls;
115
+
114
116
  /**
115
117
  * Options for customizing how the account functions within Stripe.
116
118
  */
@@ -141,6 +143,13 @@ declare module 'stripe' {
141
143
  */
142
144
  mcc: string | null;
143
145
 
146
+ /**
147
+ * Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
148
+ */
149
+ minority_owned_business_designation: Array<
150
+ BusinessProfile.MinorityOwnedBusinessDesignation
151
+ > | null;
152
+
144
153
  monthly_estimated_revenue?: BusinessProfile.MonthlyEstimatedRevenue;
145
154
 
146
155
  /**
@@ -197,6 +206,13 @@ declare module 'stripe' {
197
206
  fiscal_year_end: string | null;
198
207
  }
199
208
 
209
+ type MinorityOwnedBusinessDesignation =
210
+ | 'lgbtqi_owned_business'
211
+ | 'minority_owned_business'
212
+ | 'none_of_these_apply'
213
+ | 'prefer_not_to_answer'
214
+ | 'women_owned_business';
215
+
200
216
  interface MonthlyEstimatedRevenue {
201
217
  /**
202
218
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
@@ -247,6 +263,11 @@ declare module 'stripe' {
247
263
  */
248
264
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
249
265
 
266
+ /**
267
+ * The status of the automatic_indirect_tax capability of the account.
268
+ */
269
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
270
+
250
271
  /**
251
272
  * The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
252
273
  */
@@ -317,11 +338,26 @@ declare module 'stripe' {
317
338
  */
318
339
  giropay_payments?: Capabilities.GiropayPayments;
319
340
 
341
+ /**
342
+ * The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
343
+ */
344
+ gopay_payments?: Capabilities.GopayPayments;
345
+
320
346
  /**
321
347
  * The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
322
348
  */
323
349
  grabpay_payments?: Capabilities.GrabpayPayments;
324
350
 
351
+ /**
352
+ * The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
353
+ */
354
+ id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
355
+
356
+ /**
357
+ * The status of Bank BCA onboarding of the account.
358
+ */
359
+ id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
360
+
325
361
  /**
326
362
  * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
327
363
  */
@@ -372,6 +408,11 @@ declare module 'stripe' {
372
408
  */
373
409
  link_payments?: Capabilities.LinkPayments;
374
410
 
411
+ /**
412
+ * The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
413
+ */
414
+ mb_way_payments?: Capabilities.MbWayPayments;
415
+
375
416
  /**
376
417
  * The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
377
418
  */
@@ -422,11 +463,31 @@ declare module 'stripe' {
422
463
  */
423
464
  paynow_payments?: Capabilities.PaynowPayments;
424
465
 
466
+ /**
467
+ * The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
468
+ */
469
+ paypal_payments?: Capabilities.PaypalPayments;
470
+
471
+ /**
472
+ * The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
473
+ */
474
+ payto_payments?: Capabilities.PaytoPayments;
475
+
425
476
  /**
426
477
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
427
478
  */
428
479
  promptpay_payments?: Capabilities.PromptpayPayments;
429
480
 
481
+ /**
482
+ * The status of the Qris capability of the account, or whether the account can directly process Qris payments.
483
+ */
484
+ qris_payments?: Capabilities.QrisPayments;
485
+
486
+ /**
487
+ * The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
488
+ */
489
+ rechnung_payments?: Capabilities.RechnungPayments;
490
+
430
491
  /**
431
492
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
432
493
  */
@@ -452,11 +513,21 @@ declare module 'stripe' {
452
513
  */
453
514
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
454
515
 
516
+ /**
517
+ * The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
518
+ */
519
+ shopeepay_payments?: Capabilities.ShopeepayPayments;
520
+
455
521
  /**
456
522
  * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
457
523
  */
458
524
  sofort_payments?: Capabilities.SofortPayments;
459
525
 
526
+ /**
527
+ * The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
528
+ */
529
+ stripe_balance_payments?: Capabilities.StripeBalancePayments;
530
+
460
531
  /**
461
532
  * The status of the Swish capability of the account, or whether the account can directly process Swish payments.
462
533
  */
@@ -482,6 +553,21 @@ declare module 'stripe' {
482
553
  */
483
554
  treasury?: Capabilities.Treasury;
484
555
 
556
+ /**
557
+ * The status of the treasury_evolve capability of the account.
558
+ */
559
+ treasury_evolve?: Capabilities.TreasuryEvolve;
560
+
561
+ /**
562
+ * The status of the treasury_fifth_third capability of the account.
563
+ */
564
+ treasury_fifth_third?: Capabilities.TreasuryFifthThird;
565
+
566
+ /**
567
+ * The status of the treasury_goldman_sachs capability of the account.
568
+ */
569
+ treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
570
+
485
571
  /**
486
572
  * The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
487
573
  */
@@ -516,6 +602,8 @@ declare module 'stripe' {
516
602
 
517
603
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
518
604
 
605
+ type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
606
+
519
607
  type BacsDebitPayments = 'active' | 'inactive' | 'pending';
520
608
 
521
609
  type BancontactPayments = 'active' | 'inactive' | 'pending';
@@ -544,8 +632,14 @@ declare module 'stripe' {
544
632
 
545
633
  type GiropayPayments = 'active' | 'inactive' | 'pending';
546
634
 
635
+ type GopayPayments = 'active' | 'inactive' | 'pending';
636
+
547
637
  type GrabpayPayments = 'active' | 'inactive' | 'pending';
548
638
 
639
+ type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
640
+
641
+ type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
642
+
549
643
  type IdealPayments = 'active' | 'inactive' | 'pending';
550
644
 
551
645
  type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
@@ -566,6 +660,8 @@ declare module 'stripe' {
566
660
 
567
661
  type LinkPayments = 'active' | 'inactive' | 'pending';
568
662
 
663
+ type MbWayPayments = 'active' | 'inactive' | 'pending';
664
+
569
665
  type MobilepayPayments = 'active' | 'inactive' | 'pending';
570
666
 
571
667
  type MultibancoPayments = 'active' | 'inactive' | 'pending';
@@ -586,8 +682,16 @@ declare module 'stripe' {
586
682
 
587
683
  type PaynowPayments = 'active' | 'inactive' | 'pending';
588
684
 
685
+ type PaypalPayments = 'active' | 'inactive' | 'pending';
686
+
687
+ type PaytoPayments = 'active' | 'inactive' | 'pending';
688
+
589
689
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
590
690
 
691
+ type QrisPayments = 'active' | 'inactive' | 'pending';
692
+
693
+ type RechnungPayments = 'active' | 'inactive' | 'pending';
694
+
591
695
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
592
696
 
593
697
  type SamsungPayPayments = 'active' | 'inactive' | 'pending';
@@ -598,8 +702,12 @@ declare module 'stripe' {
598
702
 
599
703
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
600
704
 
705
+ type ShopeepayPayments = 'active' | 'inactive' | 'pending';
706
+
601
707
  type SofortPayments = 'active' | 'inactive' | 'pending';
602
708
 
709
+ type StripeBalancePayments = 'active' | 'inactive' | 'pending';
710
+
603
711
  type SwishPayments = 'active' | 'inactive' | 'pending';
604
712
 
605
713
  type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
@@ -610,6 +718,12 @@ declare module 'stripe' {
610
718
 
611
719
  type Treasury = 'active' | 'inactive' | 'pending';
612
720
 
721
+ type TreasuryEvolve = 'active' | 'inactive' | 'pending';
722
+
723
+ type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
724
+
725
+ type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
726
+
613
727
  type TwintPayments = 'active' | 'inactive' | 'pending';
614
728
 
615
729
  type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
@@ -886,6 +1000,10 @@ declare module 'stripe' {
886
1000
  }
887
1001
 
888
1002
  interface Controller {
1003
+ application?: Controller.Application;
1004
+
1005
+ dashboard?: Controller.Dashboard;
1006
+
889
1007
  fees?: Controller.Fees;
890
1008
 
891
1009
  /**
@@ -909,6 +1027,34 @@ declare module 'stripe' {
909
1027
  }
910
1028
 
911
1029
  namespace Controller {
1030
+ interface Application {
1031
+ /**
1032
+ * `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
1033
+ */
1034
+ loss_liable: boolean;
1035
+
1036
+ /**
1037
+ * `true` if the Connect application is responsible for onboarding the account.
1038
+ */
1039
+ onboarding_owner: boolean;
1040
+
1041
+ /**
1042
+ * `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
1043
+ */
1044
+ pricing_controls: boolean;
1045
+ }
1046
+
1047
+ interface Dashboard {
1048
+ /**
1049
+ * Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
1050
+ */
1051
+ type: Dashboard.Type;
1052
+ }
1053
+
1054
+ namespace Dashboard {
1055
+ type Type = 'express' | 'full' | 'none';
1056
+ }
1057
+
912
1058
  interface Fees {
913
1059
  /**
914
1060
  * A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
@@ -921,7 +1067,8 @@ declare module 'stripe' {
921
1067
  | 'account'
922
1068
  | 'application'
923
1069
  | 'application_custom'
924
- | 'application_express';
1070
+ | 'application_express'
1071
+ | 'application_unified_accounts_beta';
925
1072
  }
926
1073
 
927
1074
  interface Losses {
@@ -1129,6 +1276,7 @@ declare module 'stripe' {
1129
1276
  | 'verification_failed_residential_address'
1130
1277
  | 'verification_failed_tax_id_match'
1131
1278
  | 'verification_failed_tax_id_not_issued'
1279
+ | 'verification_legal_entity_structure_mismatch'
1132
1280
  | 'verification_missing_directors'
1133
1281
  | 'verification_missing_executives'
1134
1282
  | 'verification_missing_owners'
@@ -1324,6 +1472,7 @@ declare module 'stripe' {
1324
1472
  | 'verification_failed_residential_address'
1325
1473
  | 'verification_failed_tax_id_match'
1326
1474
  | 'verification_failed_tax_id_not_issued'
1475
+ | 'verification_legal_entity_structure_mismatch'
1327
1476
  | 'verification_missing_directors'
1328
1477
  | 'verification_missing_executives'
1329
1478
  | 'verification_missing_owners'
@@ -1334,11 +1483,52 @@ declare module 'stripe' {
1334
1483
  }
1335
1484
  }
1336
1485
 
1486
+ interface RiskControls {
1487
+ charges: RiskControls.Charges;
1488
+
1489
+ payouts: RiskControls.Payouts;
1490
+
1491
+ /**
1492
+ * Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
1493
+ */
1494
+ rejected_reason?: RiskControls.RejectedReason | null;
1495
+ }
1496
+
1497
+ namespace RiskControls {
1498
+ interface Charges {
1499
+ /**
1500
+ * Whether a pause of the risk control has been requested.
1501
+ */
1502
+ pause_requested: boolean;
1503
+ }
1504
+
1505
+ interface Payouts {
1506
+ /**
1507
+ * Whether a pause of the risk control has been requested.
1508
+ */
1509
+ pause_requested: boolean;
1510
+ }
1511
+
1512
+ type RejectedReason =
1513
+ | 'credit'
1514
+ | 'fraud'
1515
+ | 'fraud_no_intent_to_fulfill'
1516
+ | 'fraud_other'
1517
+ | 'fraud_payment_method_casher'
1518
+ | 'fraud_payment_method_tester'
1519
+ | 'other'
1520
+ | 'terms_of_service';
1521
+ }
1522
+
1337
1523
  interface Settings {
1338
1524
  bacs_debit_payments?: Settings.BacsDebitPayments;
1339
1525
 
1526
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
1527
+
1340
1528
  branding: Settings.Branding;
1341
1529
 
1530
+ capital?: Settings.Capital;
1531
+
1342
1532
  card_issuing?: Settings.CardIssuing;
1343
1533
 
1344
1534
  card_payments: Settings.CardPayments;
@@ -1353,6 +1543,8 @@ declare module 'stripe' {
1353
1543
 
1354
1544
  sepa_debit_payments?: Settings.SepaDebitPayments;
1355
1545
 
1546
+ tax_forms?: Settings.TaxForms;
1547
+
1356
1548
  treasury?: Settings.Treasury;
1357
1549
  }
1358
1550
 
@@ -1369,6 +1561,18 @@ declare module 'stripe' {
1369
1561
  service_user_number: string | null;
1370
1562
  }
1371
1563
 
1564
+ interface BankBcaOnboarding {
1565
+ /**
1566
+ * Bank BCA business account holder name.
1567
+ */
1568
+ account_holder_name?: string;
1569
+
1570
+ /**
1571
+ * Bank BCA business account number.
1572
+ */
1573
+ business_account_number?: string;
1574
+ }
1575
+
1372
1576
  interface Branding {
1373
1577
  /**
1374
1578
  * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
@@ -1391,6 +1595,22 @@ declare module 'stripe' {
1391
1595
  secondary_color: string | null;
1392
1596
  }
1393
1597
 
1598
+ interface Capital {
1599
+ /**
1600
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1601
+ */
1602
+ payout_destination?: {
1603
+ [key: string]: string;
1604
+ };
1605
+
1606
+ /**
1607
+ * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1608
+ */
1609
+ payout_destination_selector?: {
1610
+ [key: string]: Array<string>;
1611
+ };
1612
+ }
1613
+
1394
1614
  interface CardIssuing {
1395
1615
  tos_acceptance?: CardIssuing.TosAcceptance;
1396
1616
  }
@@ -1547,6 +1767,13 @@ declare module 'stripe' {
1547
1767
  creditor_id?: string;
1548
1768
  }
1549
1769
 
1770
+ interface TaxForms {
1771
+ /**
1772
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1773
+ */
1774
+ consented_to_paperless_delivery: boolean;
1775
+ }
1776
+
1550
1777
  interface Treasury {
1551
1778
  tos_acceptance?: Treasury.TosAcceptance;
1552
1779
  }