stripe 18.0.0 → 18.1.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 (289) hide show
  1. package/CHANGELOG.md +1155 -242
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  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/Quotes.js +32 -0
  27. package/cjs/resources/SubscriptionSchedules.js +4 -0
  28. package/cjs/resources/Tax/Associations.js +9 -0
  29. package/cjs/resources/Tax/Forms.js +20 -0
  30. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  31. package/cjs/resources/Terminal/Readers.js +12 -0
  32. package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
  33. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  34. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  35. package/cjs/resources/V2/Core/Accounts.js +25 -0
  36. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  37. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  38. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  39. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
  40. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  41. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  42. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +12 -0
  43. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  44. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  45. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  46. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  47. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  48. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  49. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  50. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  51. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  52. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  53. package/cjs/resources.js +102 -18
  54. package/cjs/stripe.core.js +1 -1
  55. package/esm/Error.js +79 -0
  56. package/esm/apiVersion.js +1 -1
  57. package/esm/resources/AccountNotices.js +18 -0
  58. package/esm/resources/BalanceSettings.js +7 -0
  59. package/esm/resources/Capital/FinancingOffers.js +18 -0
  60. package/esm/resources/Capital/FinancingSummary.js +9 -0
  61. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  62. package/esm/resources/ExternalAccounts.js +20 -0
  63. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  64. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  65. package/esm/resources/GiftCards/Cards.js +20 -0
  66. package/esm/resources/GiftCards/Transactions.js +30 -0
  67. package/esm/resources/Invoices.js +17 -0
  68. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  69. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  70. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  71. package/esm/resources/Margins.js +19 -0
  72. package/esm/resources/Orders.js +21 -0
  73. package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
  74. package/esm/resources/PaymentIntents.js +8 -0
  75. package/esm/resources/PaymentRecords.js +26 -0
  76. package/esm/resources/Quotes.js +32 -0
  77. package/esm/resources/SubscriptionSchedules.js +4 -0
  78. package/esm/resources/Tax/Associations.js +6 -0
  79. package/esm/resources/Tax/Forms.js +17 -0
  80. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  81. package/esm/resources/Terminal/Readers.js +12 -0
  82. package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
  83. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  84. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  85. package/esm/resources/V2/Core/Accounts.js +22 -0
  86. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  87. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  88. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  89. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
  90. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  91. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  92. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +9 -0
  93. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  94. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  95. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  96. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  97. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  98. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  99. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  100. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  101. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  102. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  103. package/esm/resources.js +79 -1
  104. package/esm/stripe.core.js +1 -1
  105. package/package.json +1 -1
  106. package/types/AccountLinksResource.d.ts +5 -1
  107. package/types/AccountNotices.d.ts +113 -0
  108. package/types/AccountNoticesResource.d.ts +98 -0
  109. package/types/AccountSessions.d.ts +45 -0
  110. package/types/AccountSessionsResource.d.ts +243 -0
  111. package/types/Accounts.d.ts +212 -1
  112. package/types/AccountsResource.d.ts +544 -0
  113. package/types/BalanceSettings.d.ts +85 -0
  114. package/types/BalanceSettingsResource.d.ts +108 -0
  115. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  116. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  117. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  118. package/types/Billing/CreditGrants.d.ts +5 -0
  119. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  120. package/types/Billing/MeterErrorReports.d.ts +106 -0
  121. package/types/BillingPortal/Sessions.d.ts +5 -0
  122. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  123. package/types/Capital/FinancingOffers.d.ts +188 -0
  124. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  125. package/types/Capital/FinancingSummary.d.ts +106 -0
  126. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  127. package/types/Capital/FinancingTransactions.d.ts +135 -0
  128. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  129. package/types/Cards.d.ts +5 -0
  130. package/types/CashBalances.d.ts +5 -0
  131. package/types/Charges.d.ts +166 -0
  132. package/types/ChargesResource.d.ts +1294 -0
  133. package/types/Checkout/Sessions.d.ts +312 -3
  134. package/types/Checkout/SessionsResource.d.ts +244 -1
  135. package/types/ConfirmationTokens.d.ts +151 -0
  136. package/types/Coupons.d.ts +1 -1
  137. package/types/CreditNoteLineItems.d.ts +17 -0
  138. package/types/CreditNotes.d.ts +9 -0
  139. package/types/CreditNotesResource.d.ts +5 -0
  140. package/types/CustomerBalanceTransactions.d.ts +2 -0
  141. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  142. package/types/CustomerSessions.d.ts +5 -0
  143. package/types/CustomerSessionsResource.d.ts +6 -1
  144. package/types/Customers.d.ts +2 -0
  145. package/types/CustomersResource.d.ts +8 -0
  146. package/types/Discounts.d.ts +10 -0
  147. package/types/Errors.d.ts +69 -2
  148. package/types/EventTypes.d.ts +596 -0
  149. package/types/Events.d.ts +96 -1
  150. package/types/ExternalAccountsResource.d.ts +219 -0
  151. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  152. package/types/FinancialConnections/Accounts.d.ts +31 -1
  153. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  154. package/types/FinancialConnections/Institutions.d.ts +93 -0
  155. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  156. package/types/FinancialConnections/Sessions.d.ts +51 -1
  157. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  158. package/types/GiftCards/Cards.d.ts +118 -0
  159. package/types/GiftCards/CardsResource.d.ts +159 -0
  160. package/types/GiftCards/Transactions.d.ts +129 -0
  161. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  162. package/types/Identity/VerificationSessions.d.ts +5 -0
  163. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  164. package/types/InvoiceItems.d.ts +10 -0
  165. package/types/InvoiceItemsResource.d.ts +117 -6
  166. package/types/InvoiceLineItems.d.ts +45 -1
  167. package/types/InvoicePayments.d.ts +5 -0
  168. package/types/Invoices.d.ts +141 -3
  169. package/types/InvoicesResource.d.ts +1545 -6
  170. package/types/Issuing/CardholdersResource.d.ts +2 -1
  171. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  172. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  173. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  174. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  175. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  176. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  177. package/types/Issuing/Settlements.d.ts +113 -0
  178. package/types/Issuing/Transactions.d.ts +5 -0
  179. package/types/Issuing/TransactionsResource.d.ts +5 -0
  180. package/types/LineItems.d.ts +49 -0
  181. package/types/Mandates.d.ts +77 -0
  182. package/types/Margins.d.ts +56 -0
  183. package/types/MarginsResource.d.ts +114 -0
  184. package/types/Orders.d.ts +1189 -0
  185. package/types/OrdersResource.d.ts +2981 -0
  186. package/types/PaymentAttemptRecords.d.ts +2112 -0
  187. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  188. package/types/PaymentIntents.d.ts +679 -2
  189. package/types/PaymentIntentsResource.d.ts +8437 -3941
  190. package/types/PaymentLinks.d.ts +6 -0
  191. package/types/PaymentLinksResource.d.ts +12 -0
  192. package/types/PaymentMethodConfigurations.d.ts +180 -0
  193. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  194. package/types/PaymentMethods.d.ts +120 -0
  195. package/types/PaymentMethodsResource.d.ts +167 -2
  196. package/types/PaymentRecords.d.ts +2105 -0
  197. package/types/PaymentRecordsResource.d.ts +455 -0
  198. package/types/Payouts.d.ts +5 -0
  199. package/types/PayoutsResource.d.ts +5 -0
  200. package/types/Prices.d.ts +22 -0
  201. package/types/PricesResource.d.ts +22 -0
  202. package/types/Products.d.ts +39 -0
  203. package/types/ProductsResource.d.ts +36 -0
  204. package/types/PromotionCodes.d.ts +5 -0
  205. package/types/PromotionCodesResource.d.ts +10 -0
  206. package/types/QuoteLines.d.ts +634 -0
  207. package/types/QuotePreviewInvoices.d.ts +1685 -0
  208. package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
  209. package/types/Quotes.d.ts +601 -1
  210. package/types/QuotesResource.d.ts +2565 -218
  211. package/types/Refunds.d.ts +14 -0
  212. package/types/SetupAttempts.d.ts +50 -1
  213. package/types/SetupIntents.d.ts +121 -2
  214. package/types/SetupIntentsResource.d.ts +730 -3
  215. package/types/Sources.d.ts +29 -0
  216. package/types/SubscriptionItems.d.ts +23 -0
  217. package/types/SubscriptionItemsResource.d.ts +109 -0
  218. package/types/SubscriptionSchedules.d.ts +205 -0
  219. package/types/SubscriptionSchedulesResource.d.ts +1237 -9
  220. package/types/Subscriptions.d.ts +94 -1
  221. package/types/SubscriptionsResource.d.ts +384 -8
  222. package/types/Tax/Associations.d.ts +126 -0
  223. package/types/Tax/AssociationsResource.d.ts +29 -0
  224. package/types/Tax/Forms.d.ts +220 -0
  225. package/types/Tax/FormsResource.d.ts +107 -0
  226. package/types/TaxIds.d.ts +10 -0
  227. package/types/TaxIdsResource.d.ts +10 -0
  228. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  229. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  230. package/types/Terminal/Readers.d.ts +300 -0
  231. package/types/Terminal/ReadersResource.d.ts +220 -0
  232. package/types/TestHelpers/ConfirmationTokensResource.d.ts +171 -0
  233. package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
  234. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  235. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  236. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  237. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  238. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  239. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  240. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  241. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  242. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  243. package/types/V2/Core/AccountLinks.d.ts +101 -0
  244. package/types/V2/Core/AccountLinksResource.d.ts +90 -0
  245. package/types/V2/Core/Accounts/PersonsResource.d.ts +3760 -0
  246. package/types/V2/Core/Accounts.d.ts +8057 -0
  247. package/types/V2/Core/AccountsResource.d.ts +10184 -0
  248. package/types/V2/Core/Persons.d.ts +1857 -0
  249. package/types/V2/Core/Vault/GbBankAccounts.d.ts +155 -0
  250. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  251. package/types/V2/Core/Vault/UsBankAccounts.d.ts +65 -0
  252. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  253. package/types/V2/EventTypes.d.ts +687 -1
  254. package/types/V2/FinancialAddressCreditSimulations.d.ts +22 -0
  255. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +27 -0
  256. package/types/V2/MoneyManagement/Adjustments.d.ts +105 -0
  257. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  258. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +540 -0
  259. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
  260. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  261. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +287 -0
  262. package/types/V2/MoneyManagement/InboundTransfers.d.ts +201 -0
  263. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  264. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +141 -0
  265. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +93 -0
  266. package/types/V2/MoneyManagement/OutboundPayments.d.ts +273 -0
  267. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  268. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +92 -0
  269. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  270. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +246 -0
  271. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
  272. package/types/V2/MoneyManagement/PayoutMethods.d.ts +146 -0
  273. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  274. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +82 -0
  275. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  276. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +280 -0
  277. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  278. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +219 -0
  279. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  280. package/types/V2/MoneyManagement/TransactionEntries.d.ts +151 -0
  281. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  282. package/types/V2/MoneyManagement/Transactions.d.ts +166 -0
  283. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  284. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
  285. package/types/WebhookEndpointsResource.d.ts +72 -2
  286. package/types/index.d.ts +135 -5
  287. package/types/lib.d.ts +11 -1
  288. package/types/test/typescriptTest.ts +3 -3
  289. package/types/InvoicePaymentsResource.d.ts +0 -74
@@ -87,6 +87,11 @@ declare module 'stripe' {
87
87
  */
88
88
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
89
89
 
90
+ /**
91
+ * A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
92
+ */
93
+ risk_controls?: AccountCreateParams.RiskControls;
94
+
90
95
  /**
91
96
  * Options for customizing how the account functions within Stripe.
92
97
  */
@@ -229,6 +234,11 @@ declare module 'stripe' {
229
234
  */
230
235
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
231
236
 
237
+ /**
238
+ * The automatic_indirect_tax capability.
239
+ */
240
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
241
+
232
242
  /**
233
243
  * The bacs_debit_payments capability.
234
244
  */
@@ -299,11 +309,26 @@ declare module 'stripe' {
299
309
  */
300
310
  giropay_payments?: Capabilities.GiropayPayments;
301
311
 
312
+ /**
313
+ * The gopay_payments capability.
314
+ */
315
+ gopay_payments?: Capabilities.GopayPayments;
316
+
302
317
  /**
303
318
  * The grabpay_payments capability.
304
319
  */
305
320
  grabpay_payments?: Capabilities.GrabpayPayments;
306
321
 
322
+ /**
323
+ * The id_bank_transfer_payments capability.
324
+ */
325
+ id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
326
+
327
+ /**
328
+ * The id_bank_transfer_payments_bca capability.
329
+ */
330
+ id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
331
+
307
332
  /**
308
333
  * The ideal_payments capability.
309
334
  */
@@ -354,6 +379,11 @@ declare module 'stripe' {
354
379
  */
355
380
  link_payments?: Capabilities.LinkPayments;
356
381
 
382
+ /**
383
+ * The mb_way_payments capability.
384
+ */
385
+ mb_way_payments?: Capabilities.MbWayPayments;
386
+
357
387
  /**
358
388
  * The mobilepay_payments capability.
359
389
  */
@@ -404,11 +434,31 @@ declare module 'stripe' {
404
434
  */
405
435
  paynow_payments?: Capabilities.PaynowPayments;
406
436
 
437
+ /**
438
+ * The paypal_payments capability.
439
+ */
440
+ paypal_payments?: Capabilities.PaypalPayments;
441
+
442
+ /**
443
+ * The payto_payments capability.
444
+ */
445
+ payto_payments?: Capabilities.PaytoPayments;
446
+
407
447
  /**
408
448
  * The promptpay_payments capability.
409
449
  */
410
450
  promptpay_payments?: Capabilities.PromptpayPayments;
411
451
 
452
+ /**
453
+ * The qris_payments capability.
454
+ */
455
+ qris_payments?: Capabilities.QrisPayments;
456
+
457
+ /**
458
+ * The rechnung_payments capability.
459
+ */
460
+ rechnung_payments?: Capabilities.RechnungPayments;
461
+
412
462
  /**
413
463
  * The revolut_pay_payments capability.
414
464
  */
@@ -434,11 +484,21 @@ declare module 'stripe' {
434
484
  */
435
485
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
436
486
 
487
+ /**
488
+ * The shopeepay_payments capability.
489
+ */
490
+ shopeepay_payments?: Capabilities.ShopeepayPayments;
491
+
437
492
  /**
438
493
  * The sofort_payments capability.
439
494
  */
440
495
  sofort_payments?: Capabilities.SofortPayments;
441
496
 
497
+ /**
498
+ * The stripe_balance_payments capability.
499
+ */
500
+ stripe_balance_payments?: Capabilities.StripeBalancePayments;
501
+
442
502
  /**
443
503
  * The swish_payments capability.
444
504
  */
@@ -464,6 +524,21 @@ declare module 'stripe' {
464
524
  */
465
525
  treasury?: Capabilities.Treasury;
466
526
 
527
+ /**
528
+ * The treasury_evolve capability.
529
+ */
530
+ treasury_evolve?: Capabilities.TreasuryEvolve;
531
+
532
+ /**
533
+ * The treasury_fifth_third capability.
534
+ */
535
+ treasury_fifth_third?: Capabilities.TreasuryFifthThird;
536
+
537
+ /**
538
+ * The treasury_goldman_sachs capability.
539
+ */
540
+ treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
541
+
467
542
  /**
468
543
  * The twint_payments capability.
469
544
  */
@@ -528,6 +603,13 @@ declare module 'stripe' {
528
603
  requested?: boolean;
529
604
  }
530
605
 
606
+ interface AutomaticIndirectTax {
607
+ /**
608
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
609
+ */
610
+ requested?: boolean;
611
+ }
612
+
531
613
  interface BacsDebitPayments {
532
614
  /**
533
615
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -626,6 +708,13 @@ declare module 'stripe' {
626
708
  requested?: boolean;
627
709
  }
628
710
 
711
+ interface GopayPayments {
712
+ /**
713
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
714
+ */
715
+ requested?: boolean;
716
+ }
717
+
629
718
  interface GrabpayPayments {
630
719
  /**
631
720
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -633,6 +722,20 @@ declare module 'stripe' {
633
722
  requested?: boolean;
634
723
  }
635
724
 
725
+ interface IdBankTransferPayments {
726
+ /**
727
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
728
+ */
729
+ requested?: boolean;
730
+ }
731
+
732
+ interface IdBankTransferPaymentsBca {
733
+ /**
734
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
735
+ */
736
+ requested?: boolean;
737
+ }
738
+
636
739
  interface IdealPayments {
637
740
  /**
638
741
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -703,6 +806,13 @@ declare module 'stripe' {
703
806
  requested?: boolean;
704
807
  }
705
808
 
809
+ interface MbWayPayments {
810
+ /**
811
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
812
+ */
813
+ requested?: boolean;
814
+ }
815
+
706
816
  interface MobilepayPayments {
707
817
  /**
708
818
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -773,6 +883,20 @@ declare module 'stripe' {
773
883
  requested?: boolean;
774
884
  }
775
885
 
886
+ interface PaypalPayments {
887
+ /**
888
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
889
+ */
890
+ requested?: boolean;
891
+ }
892
+
893
+ interface PaytoPayments {
894
+ /**
895
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
896
+ */
897
+ requested?: boolean;
898
+ }
899
+
776
900
  interface PromptpayPayments {
777
901
  /**
778
902
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -780,6 +904,20 @@ declare module 'stripe' {
780
904
  requested?: boolean;
781
905
  }
782
906
 
907
+ interface QrisPayments {
908
+ /**
909
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
910
+ */
911
+ requested?: boolean;
912
+ }
913
+
914
+ interface RechnungPayments {
915
+ /**
916
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
917
+ */
918
+ requested?: boolean;
919
+ }
920
+
783
921
  interface RevolutPayPayments {
784
922
  /**
785
923
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -815,6 +953,13 @@ declare module 'stripe' {
815
953
  requested?: boolean;
816
954
  }
817
955
 
956
+ interface ShopeepayPayments {
957
+ /**
958
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
959
+ */
960
+ requested?: boolean;
961
+ }
962
+
818
963
  interface SofortPayments {
819
964
  /**
820
965
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -822,6 +967,13 @@ declare module 'stripe' {
822
967
  requested?: boolean;
823
968
  }
824
969
 
970
+ interface StripeBalancePayments {
971
+ /**
972
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
973
+ */
974
+ requested?: boolean;
975
+ }
976
+
825
977
  interface SwishPayments {
826
978
  /**
827
979
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -857,6 +1009,27 @@ declare module 'stripe' {
857
1009
  requested?: boolean;
858
1010
  }
859
1011
 
1012
+ interface TreasuryEvolve {
1013
+ /**
1014
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1015
+ */
1016
+ requested?: boolean;
1017
+ }
1018
+
1019
+ interface TreasuryFifthThird {
1020
+ /**
1021
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1022
+ */
1023
+ requested?: boolean;
1024
+ }
1025
+
1026
+ interface TreasuryGoldmanSachs {
1027
+ /**
1028
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1029
+ */
1030
+ requested?: boolean;
1031
+ }
1032
+
860
1033
  interface TwintPayments {
861
1034
  /**
862
1035
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -1082,6 +1255,16 @@ declare module 'stripe' {
1082
1255
  }
1083
1256
 
1084
1257
  interface Controller {
1258
+ /**
1259
+ * A hash of configuration describing the Connect application that controls the account.
1260
+ */
1261
+ application?: Controller.Application;
1262
+
1263
+ /**
1264
+ * Properties of the account's dashboard.
1265
+ */
1266
+ dashboard?: Controller.Dashboard;
1267
+
1085
1268
  /**
1086
1269
  * A hash of configuration for who pays Stripe fees for product usage on this account.
1087
1270
  */
@@ -1104,6 +1287,34 @@ declare module 'stripe' {
1104
1287
  }
1105
1288
 
1106
1289
  namespace Controller {
1290
+ interface Application {
1291
+ /**
1292
+ * Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
1293
+ */
1294
+ loss_liable: boolean;
1295
+
1296
+ /**
1297
+ * Whether the controller owns onboarding for this account.
1298
+ */
1299
+ onboarding_owner?: boolean;
1300
+
1301
+ /**
1302
+ * Whether the controller has pricing controls for this account.
1303
+ */
1304
+ pricing_controls?: boolean;
1305
+ }
1306
+
1307
+ interface Dashboard {
1308
+ /**
1309
+ * Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
1310
+ */
1311
+ type?: Dashboard.Type;
1312
+ }
1313
+
1314
+ namespace Dashboard {
1315
+ type Type = 'express' | 'full' | 'none';
1316
+ }
1317
+
1107
1318
  interface Fees {
1108
1319
  /**
1109
1320
  * A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
@@ -1487,17 +1698,57 @@ declare module 'stripe' {
1487
1698
  }
1488
1699
  }
1489
1700
 
1701
+ interface RiskControls {
1702
+ /**
1703
+ * Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1704
+ */
1705
+ charges?: RiskControls.Charges;
1706
+
1707
+ /**
1708
+ * Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1709
+ */
1710
+ payouts?: RiskControls.Payouts;
1711
+ }
1712
+
1713
+ namespace RiskControls {
1714
+ interface Charges {
1715
+ /**
1716
+ * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1717
+ * There can be a delay before the risk control is paused or unpaused.
1718
+ */
1719
+ pause_requested?: boolean;
1720
+ }
1721
+
1722
+ interface Payouts {
1723
+ /**
1724
+ * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1725
+ * There can be a delay before the risk control is paused or unpaused.
1726
+ */
1727
+ pause_requested?: boolean;
1728
+ }
1729
+ }
1730
+
1490
1731
  interface Settings {
1491
1732
  /**
1492
1733
  * Settings specific to Bacs Direct Debit.
1493
1734
  */
1494
1735
  bacs_debit_payments?: Settings.BacsDebitPayments;
1495
1736
 
1737
+ /**
1738
+ * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
1739
+ */
1740
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
1741
+
1496
1742
  /**
1497
1743
  * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
1498
1744
  */
1499
1745
  branding?: Settings.Branding;
1500
1746
 
1747
+ /**
1748
+ * Settings specific to the account's use of the Capital product.
1749
+ */
1750
+ capital?: Settings.Capital;
1751
+
1501
1752
  /**
1502
1753
  * Settings specific to the account's use of the Card Issuing product.
1503
1754
  */
@@ -1523,6 +1774,11 @@ declare module 'stripe' {
1523
1774
  */
1524
1775
  payouts?: Settings.Payouts;
1525
1776
 
1777
+ /**
1778
+ * Settings specific to the account's tax forms.
1779
+ */
1780
+ tax_forms?: Settings.TaxForms;
1781
+
1526
1782
  /**
1527
1783
  * Settings specific to the account's Treasury FinancialAccounts.
1528
1784
  */
@@ -1537,6 +1793,18 @@ declare module 'stripe' {
1537
1793
  display_name?: string;
1538
1794
  }
1539
1795
 
1796
+ interface BankBcaOnboarding {
1797
+ /**
1798
+ * Bank BCA business account holder name
1799
+ */
1800
+ account_holder_name?: string;
1801
+
1802
+ /**
1803
+ * Bank BCA business account number
1804
+ */
1805
+ business_account_number?: string;
1806
+ }
1807
+
1540
1808
  interface Branding {
1541
1809
  /**
1542
1810
  * (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.
@@ -1559,6 +1827,22 @@ declare module 'stripe' {
1559
1827
  secondary_color?: string;
1560
1828
  }
1561
1829
 
1830
+ interface Capital {
1831
+ /**
1832
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1833
+ */
1834
+ payout_destination?: {
1835
+ [key: string]: string;
1836
+ };
1837
+
1838
+ /**
1839
+ * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1840
+ */
1841
+ payout_destination_selector?: {
1842
+ [key: string]: Array<string>;
1843
+ };
1844
+ }
1845
+
1562
1846
  interface CardIssuing {
1563
1847
  /**
1564
1848
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -1703,6 +1987,13 @@ declare module 'stripe' {
1703
1987
  }
1704
1988
  }
1705
1989
 
1990
+ interface TaxForms {
1991
+ /**
1992
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1993
+ */
1994
+ consented_to_paperless_delivery?: boolean;
1995
+ }
1996
+
1706
1997
  interface Treasury {
1707
1998
  /**
1708
1999
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -1842,6 +2133,11 @@ declare module 'stripe' {
1842
2133
  */
1843
2134
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
1844
2135
 
2136
+ /**
2137
+ * A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2138
+ */
2139
+ risk_controls?: AccountUpdateParams.RiskControls;
2140
+
1845
2141
  /**
1846
2142
  * Options for customizing how the account functions within Stripe.
1847
2143
  */
@@ -2017,6 +2313,11 @@ declare module 'stripe' {
2017
2313
  */
2018
2314
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
2019
2315
 
2316
+ /**
2317
+ * The automatic_indirect_tax capability.
2318
+ */
2319
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
2320
+
2020
2321
  /**
2021
2322
  * The bacs_debit_payments capability.
2022
2323
  */
@@ -2087,11 +2388,26 @@ declare module 'stripe' {
2087
2388
  */
2088
2389
  giropay_payments?: Capabilities.GiropayPayments;
2089
2390
 
2391
+ /**
2392
+ * The gopay_payments capability.
2393
+ */
2394
+ gopay_payments?: Capabilities.GopayPayments;
2395
+
2090
2396
  /**
2091
2397
  * The grabpay_payments capability.
2092
2398
  */
2093
2399
  grabpay_payments?: Capabilities.GrabpayPayments;
2094
2400
 
2401
+ /**
2402
+ * The id_bank_transfer_payments capability.
2403
+ */
2404
+ id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
2405
+
2406
+ /**
2407
+ * The id_bank_transfer_payments_bca capability.
2408
+ */
2409
+ id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
2410
+
2095
2411
  /**
2096
2412
  * The ideal_payments capability.
2097
2413
  */
@@ -2142,6 +2458,11 @@ declare module 'stripe' {
2142
2458
  */
2143
2459
  link_payments?: Capabilities.LinkPayments;
2144
2460
 
2461
+ /**
2462
+ * The mb_way_payments capability.
2463
+ */
2464
+ mb_way_payments?: Capabilities.MbWayPayments;
2465
+
2145
2466
  /**
2146
2467
  * The mobilepay_payments capability.
2147
2468
  */
@@ -2192,11 +2513,31 @@ declare module 'stripe' {
2192
2513
  */
2193
2514
  paynow_payments?: Capabilities.PaynowPayments;
2194
2515
 
2516
+ /**
2517
+ * The paypal_payments capability.
2518
+ */
2519
+ paypal_payments?: Capabilities.PaypalPayments;
2520
+
2521
+ /**
2522
+ * The payto_payments capability.
2523
+ */
2524
+ payto_payments?: Capabilities.PaytoPayments;
2525
+
2195
2526
  /**
2196
2527
  * The promptpay_payments capability.
2197
2528
  */
2198
2529
  promptpay_payments?: Capabilities.PromptpayPayments;
2199
2530
 
2531
+ /**
2532
+ * The qris_payments capability.
2533
+ */
2534
+ qris_payments?: Capabilities.QrisPayments;
2535
+
2536
+ /**
2537
+ * The rechnung_payments capability.
2538
+ */
2539
+ rechnung_payments?: Capabilities.RechnungPayments;
2540
+
2200
2541
  /**
2201
2542
  * The revolut_pay_payments capability.
2202
2543
  */
@@ -2222,11 +2563,21 @@ declare module 'stripe' {
2222
2563
  */
2223
2564
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
2224
2565
 
2566
+ /**
2567
+ * The shopeepay_payments capability.
2568
+ */
2569
+ shopeepay_payments?: Capabilities.ShopeepayPayments;
2570
+
2225
2571
  /**
2226
2572
  * The sofort_payments capability.
2227
2573
  */
2228
2574
  sofort_payments?: Capabilities.SofortPayments;
2229
2575
 
2576
+ /**
2577
+ * The stripe_balance_payments capability.
2578
+ */
2579
+ stripe_balance_payments?: Capabilities.StripeBalancePayments;
2580
+
2230
2581
  /**
2231
2582
  * The swish_payments capability.
2232
2583
  */
@@ -2252,6 +2603,21 @@ declare module 'stripe' {
2252
2603
  */
2253
2604
  treasury?: Capabilities.Treasury;
2254
2605
 
2606
+ /**
2607
+ * The treasury_evolve capability.
2608
+ */
2609
+ treasury_evolve?: Capabilities.TreasuryEvolve;
2610
+
2611
+ /**
2612
+ * The treasury_fifth_third capability.
2613
+ */
2614
+ treasury_fifth_third?: Capabilities.TreasuryFifthThird;
2615
+
2616
+ /**
2617
+ * The treasury_goldman_sachs capability.
2618
+ */
2619
+ treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
2620
+
2255
2621
  /**
2256
2622
  * The twint_payments capability.
2257
2623
  */
@@ -2316,6 +2682,13 @@ declare module 'stripe' {
2316
2682
  requested?: boolean;
2317
2683
  }
2318
2684
 
2685
+ interface AutomaticIndirectTax {
2686
+ /**
2687
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2688
+ */
2689
+ requested?: boolean;
2690
+ }
2691
+
2319
2692
  interface BacsDebitPayments {
2320
2693
  /**
2321
2694
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2414,6 +2787,13 @@ declare module 'stripe' {
2414
2787
  requested?: boolean;
2415
2788
  }
2416
2789
 
2790
+ interface GopayPayments {
2791
+ /**
2792
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2793
+ */
2794
+ requested?: boolean;
2795
+ }
2796
+
2417
2797
  interface GrabpayPayments {
2418
2798
  /**
2419
2799
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2421,6 +2801,20 @@ declare module 'stripe' {
2421
2801
  requested?: boolean;
2422
2802
  }
2423
2803
 
2804
+ interface IdBankTransferPayments {
2805
+ /**
2806
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2807
+ */
2808
+ requested?: boolean;
2809
+ }
2810
+
2811
+ interface IdBankTransferPaymentsBca {
2812
+ /**
2813
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2814
+ */
2815
+ requested?: boolean;
2816
+ }
2817
+
2424
2818
  interface IdealPayments {
2425
2819
  /**
2426
2820
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2491,6 +2885,13 @@ declare module 'stripe' {
2491
2885
  requested?: boolean;
2492
2886
  }
2493
2887
 
2888
+ interface MbWayPayments {
2889
+ /**
2890
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2891
+ */
2892
+ requested?: boolean;
2893
+ }
2894
+
2494
2895
  interface MobilepayPayments {
2495
2896
  /**
2496
2897
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2561,6 +2962,20 @@ declare module 'stripe' {
2561
2962
  requested?: boolean;
2562
2963
  }
2563
2964
 
2965
+ interface PaypalPayments {
2966
+ /**
2967
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2968
+ */
2969
+ requested?: boolean;
2970
+ }
2971
+
2972
+ interface PaytoPayments {
2973
+ /**
2974
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2975
+ */
2976
+ requested?: boolean;
2977
+ }
2978
+
2564
2979
  interface PromptpayPayments {
2565
2980
  /**
2566
2981
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2568,6 +2983,20 @@ declare module 'stripe' {
2568
2983
  requested?: boolean;
2569
2984
  }
2570
2985
 
2986
+ interface QrisPayments {
2987
+ /**
2988
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2989
+ */
2990
+ requested?: boolean;
2991
+ }
2992
+
2993
+ interface RechnungPayments {
2994
+ /**
2995
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2996
+ */
2997
+ requested?: boolean;
2998
+ }
2999
+
2571
3000
  interface RevolutPayPayments {
2572
3001
  /**
2573
3002
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2603,6 +3032,13 @@ declare module 'stripe' {
2603
3032
  requested?: boolean;
2604
3033
  }
2605
3034
 
3035
+ interface ShopeepayPayments {
3036
+ /**
3037
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3038
+ */
3039
+ requested?: boolean;
3040
+ }
3041
+
2606
3042
  interface SofortPayments {
2607
3043
  /**
2608
3044
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2610,6 +3046,13 @@ declare module 'stripe' {
2610
3046
  requested?: boolean;
2611
3047
  }
2612
3048
 
3049
+ interface StripeBalancePayments {
3050
+ /**
3051
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3052
+ */
3053
+ requested?: boolean;
3054
+ }
3055
+
2613
3056
  interface SwishPayments {
2614
3057
  /**
2615
3058
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2645,6 +3088,27 @@ declare module 'stripe' {
2645
3088
  requested?: boolean;
2646
3089
  }
2647
3090
 
3091
+ interface TreasuryEvolve {
3092
+ /**
3093
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3094
+ */
3095
+ requested?: boolean;
3096
+ }
3097
+
3098
+ interface TreasuryFifthThird {
3099
+ /**
3100
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3101
+ */
3102
+ requested?: boolean;
3103
+ }
3104
+
3105
+ interface TreasuryGoldmanSachs {
3106
+ /**
3107
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3108
+ */
3109
+ requested?: boolean;
3110
+ }
3111
+
2648
3112
  interface TwintPayments {
2649
3113
  /**
2650
3114
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -3222,17 +3686,57 @@ declare module 'stripe' {
3222
3686
  }
3223
3687
  }
3224
3688
 
3689
+ interface RiskControls {
3690
+ /**
3691
+ * Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
3692
+ */
3693
+ charges?: RiskControls.Charges;
3694
+
3695
+ /**
3696
+ * Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
3697
+ */
3698
+ payouts?: RiskControls.Payouts;
3699
+ }
3700
+
3701
+ namespace RiskControls {
3702
+ interface Charges {
3703
+ /**
3704
+ * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3705
+ * There can be a delay before the risk control is paused or unpaused.
3706
+ */
3707
+ pause_requested?: boolean;
3708
+ }
3709
+
3710
+ interface Payouts {
3711
+ /**
3712
+ * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3713
+ * There can be a delay before the risk control is paused or unpaused.
3714
+ */
3715
+ pause_requested?: boolean;
3716
+ }
3717
+ }
3718
+
3225
3719
  interface Settings {
3226
3720
  /**
3227
3721
  * Settings specific to Bacs Direct Debit payments.
3228
3722
  */
3229
3723
  bacs_debit_payments?: Settings.BacsDebitPayments;
3230
3724
 
3725
+ /**
3726
+ * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
3727
+ */
3728
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
3729
+
3231
3730
  /**
3232
3731
  * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
3233
3732
  */
3234
3733
  branding?: Settings.Branding;
3235
3734
 
3735
+ /**
3736
+ * Settings specific to the account's use of the Capital product.
3737
+ */
3738
+ capital?: Settings.Capital;
3739
+
3236
3740
  /**
3237
3741
  * Settings specific to the account's use of the Card Issuing product.
3238
3742
  */
@@ -3258,6 +3762,11 @@ declare module 'stripe' {
3258
3762
  */
3259
3763
  payouts?: Settings.Payouts;
3260
3764
 
3765
+ /**
3766
+ * Settings specific to the account's tax forms.
3767
+ */
3768
+ tax_forms?: Settings.TaxForms;
3769
+
3261
3770
  /**
3262
3771
  * Settings specific to the account's Treasury FinancialAccounts.
3263
3772
  */
@@ -3272,6 +3781,18 @@ declare module 'stripe' {
3272
3781
  display_name?: string;
3273
3782
  }
3274
3783
 
3784
+ interface BankBcaOnboarding {
3785
+ /**
3786
+ * Bank BCA business account holder name
3787
+ */
3788
+ account_holder_name?: string;
3789
+
3790
+ /**
3791
+ * Bank BCA business account number
3792
+ */
3793
+ business_account_number?: string;
3794
+ }
3795
+
3275
3796
  interface Branding {
3276
3797
  /**
3277
3798
  * (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.
@@ -3294,6 +3815,22 @@ declare module 'stripe' {
3294
3815
  secondary_color?: string;
3295
3816
  }
3296
3817
 
3818
+ interface Capital {
3819
+ /**
3820
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
3821
+ */
3822
+ payout_destination?: {
3823
+ [key: string]: string;
3824
+ };
3825
+
3826
+ /**
3827
+ * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
3828
+ */
3829
+ payout_destination_selector?: {
3830
+ [key: string]: Array<string>;
3831
+ };
3832
+ }
3833
+
3297
3834
  interface CardIssuing {
3298
3835
  /**
3299
3836
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -3443,6 +3980,13 @@ declare module 'stripe' {
3443
3980
  }
3444
3981
  }
3445
3982
 
3983
+ interface TaxForms {
3984
+ /**
3985
+ * Whether the account opted out of receiving their tax forms by postal delivery.
3986
+ */
3987
+ consented_to_paperless_delivery?: boolean;
3988
+ }
3989
+
3446
3990
  interface Treasury {
3447
3991
  /**
3448
3992
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.