stripe 19.2.0-beta.1 → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/CHANGELOG.md +64 -1433
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/apiVersion.js +3 -2
  7. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  8. package/cjs/resources/Mandates.js +0 -5
  9. package/cjs/resources/PaymentIntents.js +0 -8
  10. package/cjs/resources/PaymentRecords.js +4 -0
  11. package/cjs/resources/Quotes.js +0 -32
  12. package/cjs/resources/SubscriptionSchedules.js +0 -4
  13. package/cjs/resources/Subscriptions.js +0 -4
  14. package/cjs/resources.js +8 -106
  15. package/cjs/stripe.core.js +1 -1
  16. package/esm/Error.js +0 -100
  17. package/esm/apiVersion.js +2 -1
  18. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  19. package/esm/resources/Mandates.js +0 -5
  20. package/esm/resources/PaymentIntents.js +0 -8
  21. package/esm/resources/PaymentRecords.js +4 -0
  22. package/esm/resources/Quotes.js +0 -32
  23. package/esm/resources/SubscriptionSchedules.js +0 -4
  24. package/esm/resources/Subscriptions.js +0 -4
  25. package/esm/resources.js +0 -93
  26. package/esm/stripe.core.js +1 -1
  27. package/package.json +1 -1
  28. package/types/AccountLinksResource.d.ts +1 -5
  29. package/types/AccountSessions.d.ts +0 -45
  30. package/types/AccountSessionsResource.d.ts +0 -264
  31. package/types/Accounts.d.ts +23 -212
  32. package/types/AccountsResource.d.ts +44 -544
  33. package/types/Billing/AlertTriggereds.d.ts +1 -1
  34. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  35. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  36. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  37. package/types/Billing/CreditGrants.d.ts +0 -5
  38. package/types/Billing/CreditGrantsResource.d.ts +3 -13
  39. package/types/BillingPortal/Configurations.d.ts +1 -1
  40. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  41. package/types/BillingPortal/Sessions.d.ts +0 -5
  42. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  43. package/types/Cards.d.ts +0 -5
  44. package/types/CashBalances.d.ts +0 -5
  45. package/types/Charges.d.ts +1 -172
  46. package/types/ChargesResource.d.ts +0 -1406
  47. package/types/Checkout/Sessions.d.ts +17 -369
  48. package/types/Checkout/SessionsResource.d.ts +23 -635
  49. package/types/ConfirmationTokens.d.ts +1 -125
  50. package/types/Coupons.d.ts +0 -33
  51. package/types/CouponsResource.d.ts +0 -21
  52. package/types/CreditNoteLineItems.d.ts +0 -17
  53. package/types/CreditNotes.d.ts +26 -5
  54. package/types/CreditNotesResource.d.ts +78 -5
  55. package/types/CustomerBalanceTransactions.d.ts +0 -2
  56. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  57. package/types/CustomerSessions.d.ts +120 -5
  58. package/types/CustomerSessionsResource.d.ts +121 -6
  59. package/types/Customers.d.ts +7 -2
  60. package/types/CustomersResource.d.ts +1 -8
  61. package/types/Discounts.d.ts +0 -10
  62. package/types/Disputes.d.ts +0 -40
  63. package/types/DisputesResource.d.ts +0 -11
  64. package/types/Errors.d.ts +0 -85
  65. package/types/EventTypes.d.ts +0 -630
  66. package/types/Events.d.ts +0 -95
  67. package/types/Files.d.ts +1 -0
  68. package/types/FilesResource.d.ts +2 -0
  69. package/types/FinancialConnections/Accounts.d.ts +1 -36
  70. package/types/FinancialConnections/AccountsResource.d.ts +4 -41
  71. package/types/FinancialConnections/Sessions.d.ts +1 -51
  72. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  73. package/types/Identity/VerificationSessions.d.ts +0 -5
  74. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  75. package/types/InvoiceItems.d.ts +0 -10
  76. package/types/InvoiceItemsResource.d.ts +6 -117
  77. package/types/InvoiceLineItems.d.ts +1 -45
  78. package/types/Invoices.d.ts +5 -203
  79. package/types/InvoicesResource.d.ts +4 -1622
  80. package/types/Issuing/CardholdersResource.d.ts +1 -2
  81. package/types/Issuing/Transactions.d.ts +0 -5
  82. package/types/Issuing/TransactionsResource.d.ts +0 -5
  83. package/types/LineItems.d.ts +0 -49
  84. package/types/Mandates.d.ts +1 -135
  85. package/types/MandatesResource.d.ts +0 -31
  86. package/types/PaymentAttemptRecords.d.ts +1 -137
  87. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  88. package/types/PaymentIntentAmountDetailsLineItems.d.ts +17 -7
  89. package/types/PaymentIntents.d.ts +23 -782
  90. package/types/PaymentIntentsResource.d.ts +4783 -9501
  91. package/types/PaymentLinks.d.ts +34 -6
  92. package/types/PaymentLinksResource.d.ts +88 -12
  93. package/types/PaymentMethodConfigurations.d.ts +46 -190
  94. package/types/PaymentMethodConfigurationsResource.d.ts +100 -300
  95. package/types/PaymentMethods.d.ts +34 -130
  96. package/types/PaymentMethodsResource.d.ts +17 -168
  97. package/types/PaymentRecords.d.ts +1 -137
  98. package/types/PaymentRecordsResource.d.ts +89 -0
  99. package/types/PayoutsResource.d.ts +1 -1
  100. package/types/Prices.d.ts +0 -22
  101. package/types/PricesResource.d.ts +0 -22
  102. package/types/PromotionCodes.d.ts +0 -5
  103. package/types/PromotionCodesResource.d.ts +0 -10
  104. package/types/Quotes.d.ts +1 -594
  105. package/types/QuotesResource.d.ts +290 -2635
  106. package/types/Refunds.d.ts +9 -14
  107. package/types/SetupAttempts.d.ts +2 -51
  108. package/types/SetupIntents.d.ts +59 -209
  109. package/types/SetupIntentsResource.d.ts +132 -952
  110. package/types/Sources.d.ts +0 -29
  111. package/types/SubscriptionItems.d.ts +0 -26
  112. package/types/SubscriptionItemsResource.d.ts +0 -109
  113. package/types/SubscriptionSchedules.d.ts +0 -205
  114. package/types/SubscriptionSchedulesResource.d.ts +4 -1232
  115. package/types/Subscriptions.d.ts +1 -262
  116. package/types/SubscriptionsResource.d.ts +8 -745
  117. package/types/Tax/Registrations.d.ts +9 -0
  118. package/types/Tax/RegistrationsResource.d.ts +12 -0
  119. package/types/TaxIds.d.ts +0 -10
  120. package/types/TaxIdsResource.d.ts +0 -10
  121. package/types/Terminal/Configurations.d.ts +19 -9
  122. package/types/Terminal/ConfigurationsResource.d.ts +44 -28
  123. package/types/Terminal/Readers.d.ts +14 -29
  124. package/types/Terminal/ReadersResource.d.ts +30 -30
  125. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  126. package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
  127. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  128. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  129. package/types/TokensResource.d.ts +22 -0
  130. package/types/Transfers.d.ts +0 -5
  131. package/types/TransfersResource.d.ts +0 -5
  132. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  133. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  134. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  135. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  136. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  137. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  138. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  139. package/types/V2/Core/EventTypes.d.ts +10 -1647
  140. package/types/V2/Core/EventsResource.d.ts +29 -3
  141. package/types/WebhookEndpointsResource.d.ts +2 -75
  142. package/types/apiVersion.d.ts +2 -1
  143. package/types/crypto/crypto.d.ts +1 -1
  144. package/types/index.d.ts +0 -153
  145. package/types/lib.d.ts +0 -10
  146. package/cjs/resources/AccountNotices.js +0 -21
  147. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  148. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  149. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  150. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  151. package/cjs/resources/ExternalAccounts.js +0 -23
  152. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  153. package/cjs/resources/FxQuotes.js +0 -15
  154. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  155. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  156. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  157. package/cjs/resources/Margins.js +0 -22
  158. package/cjs/resources/Orders.js +0 -24
  159. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  160. package/cjs/resources/Tax/Associations.js +0 -9
  161. package/cjs/resources/Tax/Forms.js +0 -20
  162. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  163. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  164. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  165. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  166. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  167. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  168. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  169. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  170. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  171. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  172. package/cjs/resources/V2/Core/Accounts.js +0 -25
  173. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  174. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  175. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  176. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  177. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  178. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  179. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  180. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  181. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  182. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  183. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  184. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  185. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  186. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  187. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  188. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  189. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
  190. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  191. package/esm/resources/AccountNotices.js +0 -18
  192. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  193. package/esm/resources/Capital/FinancingOffers.js +0 -18
  194. package/esm/resources/Capital/FinancingSummary.js +0 -9
  195. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  196. package/esm/resources/ExternalAccounts.js +0 -20
  197. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  198. package/esm/resources/FxQuotes.js +0 -12
  199. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  200. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  201. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  202. package/esm/resources/Margins.js +0 -19
  203. package/esm/resources/Orders.js +0 -21
  204. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  205. package/esm/resources/Tax/Associations.js +0 -6
  206. package/esm/resources/Tax/Forms.js +0 -17
  207. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  208. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  209. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  210. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  211. package/esm/resources/V2/Billing/Cadences.js +0 -20
  212. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  213. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  214. package/esm/resources/V2/Billing/Profiles.js +0 -16
  215. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  216. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  217. package/esm/resources/V2/Core/Accounts.js +0 -22
  218. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  219. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  220. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  221. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  222. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  223. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  224. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  225. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  226. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  227. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  228. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  229. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  230. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  231. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  232. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  233. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  234. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
  235. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  236. package/types/AccountNotices.d.ts +0 -113
  237. package/types/AccountNoticesResource.d.ts +0 -98
  238. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  239. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
  240. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
  241. package/types/Capital/FinancingOffers.d.ts +0 -188
  242. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  243. package/types/Capital/FinancingSummary.d.ts +0 -106
  244. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  245. package/types/Capital/FinancingTransactions.d.ts +0 -135
  246. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  247. package/types/ExternalAccountsResource.d.ts +0 -304
  248. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  249. package/types/FinancialConnections/Institutions.d.ts +0 -98
  250. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  251. package/types/FxQuotes.d.ts +0 -155
  252. package/types/FxQuotesResource.d.ts +0 -130
  253. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  254. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  255. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  256. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  257. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  258. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  259. package/types/Issuing/Settlements.d.ts +0 -113
  260. package/types/Margins.d.ts +0 -56
  261. package/types/MarginsResource.d.ts +0 -114
  262. package/types/Orders.d.ts +0 -1163
  263. package/types/OrdersResource.d.ts +0 -3139
  264. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  265. package/types/Privacy/RedactionJobs.d.ts +0 -111
  266. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  267. package/types/QuoteLines.d.ts +0 -634
  268. package/types/QuotePreviewInvoices.d.ts +0 -1770
  269. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
  270. package/types/Tax/Associations.d.ts +0 -82
  271. package/types/Tax/AssociationsResource.d.ts +0 -29
  272. package/types/Tax/Forms.d.ts +0 -220
  273. package/types/Tax/FormsResource.d.ts +0 -107
  274. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  275. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  276. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  277. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  278. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  279. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  280. package/types/V2/Billing/BillSettings.d.ts +0 -120
  281. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  282. package/types/V2/Billing/Cadences.d.ts +0 -686
  283. package/types/V2/Billing/CadencesResource.d.ts +0 -487
  284. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  285. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  286. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  287. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  288. package/types/V2/Billing/Profiles.d.ts +0 -70
  289. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  290. package/types/V2/Core/AccountLinks.d.ts +0 -168
  291. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  292. package/types/V2/Core/AccountPersons.d.ts +0 -615
  293. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
  294. package/types/V2/Core/Accounts.d.ts +0 -5919
  295. package/types/V2/Core/AccountsResource.d.ts +0 -4999
  296. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  297. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  298. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  299. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  300. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  301. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  302. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  303. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  304. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
  305. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -147
  306. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
  307. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
  308. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  309. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  310. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  311. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  312. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  313. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  314. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  315. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  316. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  317. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  318. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  319. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
  320. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  321. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  322. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
  323. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  324. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  325. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  326. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  327. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  328. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  329. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  330. package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
  331. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
  332. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -87,11 +87,6 @@ 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://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
92
- */
93
- risk_controls?: AccountCreateParams.RiskControls;
94
-
95
90
  /**
96
91
  * Options for customizing how the account functions within Stripe.
97
92
  */
@@ -248,11 +243,6 @@ declare module 'stripe' {
248
243
  */
249
244
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
250
245
 
251
- /**
252
- * The automatic_indirect_tax capability.
253
- */
254
- automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
255
-
256
246
  /**
257
247
  * The bacs_debit_payments capability.
258
248
  */
@@ -328,26 +318,11 @@ declare module 'stripe' {
328
318
  */
329
319
  giropay_payments?: Capabilities.GiropayPayments;
330
320
 
331
- /**
332
- * The gopay_payments capability.
333
- */
334
- gopay_payments?: Capabilities.GopayPayments;
335
-
336
321
  /**
337
322
  * The grabpay_payments capability.
338
323
  */
339
324
  grabpay_payments?: Capabilities.GrabpayPayments;
340
325
 
341
- /**
342
- * The id_bank_transfer_payments capability.
343
- */
344
- id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
345
-
346
- /**
347
- * The id_bank_transfer_payments_bca capability.
348
- */
349
- id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
350
-
351
326
  /**
352
327
  * The ideal_payments capability.
353
328
  */
@@ -453,21 +428,6 @@ declare module 'stripe' {
453
428
  */
454
429
  paynow_payments?: Capabilities.PaynowPayments;
455
430
 
456
- /**
457
- * The paypal_payments capability.
458
- */
459
- paypal_payments?: Capabilities.PaypalPayments;
460
-
461
- /**
462
- * The paypay_payments capability.
463
- */
464
- paypay_payments?: Capabilities.PaypayPayments;
465
-
466
- /**
467
- * The payto_payments capability.
468
- */
469
- payto_payments?: Capabilities.PaytoPayments;
470
-
471
431
  /**
472
432
  * The pix_payments capability.
473
433
  */
@@ -478,16 +438,6 @@ declare module 'stripe' {
478
438
  */
479
439
  promptpay_payments?: Capabilities.PromptpayPayments;
480
440
 
481
- /**
482
- * The qris_payments capability.
483
- */
484
- qris_payments?: Capabilities.QrisPayments;
485
-
486
- /**
487
- * The rechnung_payments capability.
488
- */
489
- rechnung_payments?: Capabilities.RechnungPayments;
490
-
491
441
  /**
492
442
  * The revolut_pay_payments capability.
493
443
  */
@@ -513,21 +463,11 @@ declare module 'stripe' {
513
463
  */
514
464
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
515
465
 
516
- /**
517
- * The shopeepay_payments capability.
518
- */
519
- shopeepay_payments?: Capabilities.ShopeepayPayments;
520
-
521
466
  /**
522
467
  * The sofort_payments capability.
523
468
  */
524
469
  sofort_payments?: Capabilities.SofortPayments;
525
470
 
526
- /**
527
- * The stripe_balance_payments capability.
528
- */
529
- stripe_balance_payments?: Capabilities.StripeBalancePayments;
530
-
531
471
  /**
532
472
  * The swish_payments capability.
533
473
  */
@@ -553,21 +493,6 @@ declare module 'stripe' {
553
493
  */
554
494
  treasury?: Capabilities.Treasury;
555
495
 
556
- /**
557
- * The treasury_evolve capability.
558
- */
559
- treasury_evolve?: Capabilities.TreasuryEvolve;
560
-
561
- /**
562
- * The treasury_fifth_third capability.
563
- */
564
- treasury_fifth_third?: Capabilities.TreasuryFifthThird;
565
-
566
- /**
567
- * The treasury_goldman_sachs capability.
568
- */
569
- treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
570
-
571
496
  /**
572
497
  * The twint_payments capability.
573
498
  */
@@ -632,13 +557,6 @@ declare module 'stripe' {
632
557
  requested?: boolean;
633
558
  }
634
559
 
635
- interface AutomaticIndirectTax {
636
- /**
637
- * 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.
638
- */
639
- requested?: boolean;
640
- }
641
-
642
560
  interface BacsDebitPayments {
643
561
  /**
644
562
  * 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.
@@ -744,13 +662,6 @@ declare module 'stripe' {
744
662
  requested?: boolean;
745
663
  }
746
664
 
747
- interface GopayPayments {
748
- /**
749
- * 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.
750
- */
751
- requested?: boolean;
752
- }
753
-
754
665
  interface GrabpayPayments {
755
666
  /**
756
667
  * 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.
@@ -758,20 +669,6 @@ declare module 'stripe' {
758
669
  requested?: boolean;
759
670
  }
760
671
 
761
- interface IdBankTransferPayments {
762
- /**
763
- * 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.
764
- */
765
- requested?: boolean;
766
- }
767
-
768
- interface IdBankTransferPaymentsBca {
769
- /**
770
- * 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.
771
- */
772
- requested?: boolean;
773
- }
774
-
775
672
  interface IdealPayments {
776
673
  /**
777
674
  * 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.
@@ -919,27 +816,6 @@ declare module 'stripe' {
919
816
  requested?: boolean;
920
817
  }
921
818
 
922
- interface PaypalPayments {
923
- /**
924
- * 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.
925
- */
926
- requested?: boolean;
927
- }
928
-
929
- interface PaypayPayments {
930
- /**
931
- * 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.
932
- */
933
- requested?: boolean;
934
- }
935
-
936
- interface PaytoPayments {
937
- /**
938
- * 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.
939
- */
940
- requested?: boolean;
941
- }
942
-
943
819
  interface PixPayments {
944
820
  /**
945
821
  * 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.
@@ -954,20 +830,6 @@ declare module 'stripe' {
954
830
  requested?: boolean;
955
831
  }
956
832
 
957
- interface QrisPayments {
958
- /**
959
- * 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.
960
- */
961
- requested?: boolean;
962
- }
963
-
964
- interface RechnungPayments {
965
- /**
966
- * 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.
967
- */
968
- requested?: boolean;
969
- }
970
-
971
833
  interface RevolutPayPayments {
972
834
  /**
973
835
  * 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.
@@ -1003,13 +865,6 @@ declare module 'stripe' {
1003
865
  requested?: boolean;
1004
866
  }
1005
867
 
1006
- interface ShopeepayPayments {
1007
- /**
1008
- * 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.
1009
- */
1010
- requested?: boolean;
1011
- }
1012
-
1013
868
  interface SofortPayments {
1014
869
  /**
1015
870
  * 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.
@@ -1017,13 +872,6 @@ declare module 'stripe' {
1017
872
  requested?: boolean;
1018
873
  }
1019
874
 
1020
- interface StripeBalancePayments {
1021
- /**
1022
- * 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.
1023
- */
1024
- requested?: boolean;
1025
- }
1026
-
1027
875
  interface SwishPayments {
1028
876
  /**
1029
877
  * 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.
@@ -1059,27 +907,6 @@ declare module 'stripe' {
1059
907
  requested?: boolean;
1060
908
  }
1061
909
 
1062
- interface TreasuryEvolve {
1063
- /**
1064
- * 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.
1065
- */
1066
- requested?: boolean;
1067
- }
1068
-
1069
- interface TreasuryFifthThird {
1070
- /**
1071
- * 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.
1072
- */
1073
- requested?: boolean;
1074
- }
1075
-
1076
- interface TreasuryGoldmanSachs {
1077
- /**
1078
- * 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.
1079
- */
1080
- requested?: boolean;
1081
- }
1082
-
1083
910
  interface TwintPayments {
1084
911
  /**
1085
912
  * 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.
@@ -1197,6 +1024,11 @@ declare module 'stripe' {
1197
1024
  */
1198
1025
  registration_number?: string;
1199
1026
 
1027
+ /**
1028
+ * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
1029
+ */
1030
+ representative_declaration?: Company.RepresentativeDeclaration;
1031
+
1200
1032
  /**
1201
1033
  * The category identifying the legal structure of the company or legal entity. See [Business structure](https://docs.stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
1202
1034
  */
@@ -1279,6 +1111,23 @@ declare module 'stripe' {
1279
1111
  year: number;
1280
1112
  }
1281
1113
 
1114
+ interface RepresentativeDeclaration {
1115
+ /**
1116
+ * The Unix timestamp marking when the representative declaration attestation was made.
1117
+ */
1118
+ date?: number;
1119
+
1120
+ /**
1121
+ * The IP address from which the representative declaration attestation was made.
1122
+ */
1123
+ ip?: string;
1124
+
1125
+ /**
1126
+ * The user agent of the browser from which the representative declaration attestation was made.
1127
+ */
1128
+ user_agent?: string;
1129
+ }
1130
+
1282
1131
  type Structure =
1283
1132
  | 'free_zone_establishment'
1284
1133
  | 'free_zone_llc'
@@ -1327,16 +1176,6 @@ declare module 'stripe' {
1327
1176
  }
1328
1177
 
1329
1178
  interface Controller {
1330
- /**
1331
- * A hash of configuration describing the Connect application that controls the account.
1332
- */
1333
- application?: Controller.Application;
1334
-
1335
- /**
1336
- * Properties of the account's dashboard.
1337
- */
1338
- dashboard?: Controller.Dashboard;
1339
-
1340
1179
  /**
1341
1180
  * A hash of configuration for who pays Stripe fees for product usage on this account.
1342
1181
  */
@@ -1359,34 +1198,6 @@ declare module 'stripe' {
1359
1198
  }
1360
1199
 
1361
1200
  namespace Controller {
1362
- interface Application {
1363
- /**
1364
- * Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
1365
- */
1366
- loss_liable: boolean;
1367
-
1368
- /**
1369
- * Whether the controller owns onboarding for this account.
1370
- */
1371
- onboarding_owner?: boolean;
1372
-
1373
- /**
1374
- * Whether the controller has pricing controls for this account.
1375
- */
1376
- pricing_controls?: boolean;
1377
- }
1378
-
1379
- interface Dashboard {
1380
- /**
1381
- * 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`.
1382
- */
1383
- type?: Dashboard.Type;
1384
- }
1385
-
1386
- namespace Dashboard {
1387
- type Type = 'express' | 'full' | 'none';
1388
- }
1389
-
1390
1201
  interface Fees {
1391
1202
  /**
1392
1203
  * 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).
@@ -1782,57 +1593,17 @@ declare module 'stripe' {
1782
1593
  }
1783
1594
  }
1784
1595
 
1785
- interface RiskControls {
1786
- /**
1787
- * 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).
1788
- */
1789
- charges?: RiskControls.Charges;
1790
-
1791
- /**
1792
- * 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).
1793
- */
1794
- payouts?: RiskControls.Payouts;
1795
- }
1796
-
1797
- namespace RiskControls {
1798
- interface Charges {
1799
- /**
1800
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1801
- * There can be a delay before the risk control is paused or unpaused.
1802
- */
1803
- pause_requested?: boolean;
1804
- }
1805
-
1806
- interface Payouts {
1807
- /**
1808
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1809
- * There can be a delay before the risk control is paused or unpaused.
1810
- */
1811
- pause_requested?: boolean;
1812
- }
1813
- }
1814
-
1815
1596
  interface Settings {
1816
1597
  /**
1817
1598
  * Settings specific to Bacs Direct Debit.
1818
1599
  */
1819
1600
  bacs_debit_payments?: Settings.BacsDebitPayments;
1820
1601
 
1821
- /**
1822
- * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
1823
- */
1824
- bank_bca_onboarding?: Settings.BankBcaOnboarding;
1825
-
1826
1602
  /**
1827
1603
  * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
1828
1604
  */
1829
1605
  branding?: Settings.Branding;
1830
1606
 
1831
- /**
1832
- * Settings specific to the account's use of the Capital product.
1833
- */
1834
- capital?: Settings.Capital;
1835
-
1836
1607
  /**
1837
1608
  * Settings specific to the account's use of the Card Issuing product.
1838
1609
  */
@@ -1858,11 +1629,6 @@ declare module 'stripe' {
1858
1629
  */
1859
1630
  payouts?: Settings.Payouts;
1860
1631
 
1861
- /**
1862
- * Settings specific to the account's tax forms.
1863
- */
1864
- tax_forms?: Settings.TaxForms;
1865
-
1866
1632
  /**
1867
1633
  * Settings specific to the account's Treasury FinancialAccounts.
1868
1634
  */
@@ -1877,18 +1643,6 @@ declare module 'stripe' {
1877
1643
  display_name?: string;
1878
1644
  }
1879
1645
 
1880
- interface BankBcaOnboarding {
1881
- /**
1882
- * Bank BCA business account holder name
1883
- */
1884
- account_holder_name?: string;
1885
-
1886
- /**
1887
- * Bank BCA business account number
1888
- */
1889
- business_account_number?: string;
1890
- }
1891
-
1892
1646
  interface Branding {
1893
1647
  /**
1894
1648
  * (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.
@@ -1911,22 +1665,6 @@ declare module 'stripe' {
1911
1665
  secondary_color?: string;
1912
1666
  }
1913
1667
 
1914
- interface Capital {
1915
- /**
1916
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
1917
- */
1918
- payout_destination?: {
1919
- [key: string]: string;
1920
- };
1921
-
1922
- /**
1923
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1924
- */
1925
- payout_destination_selector?: {
1926
- [key: string]: Array<string>;
1927
- };
1928
- }
1929
-
1930
1668
  interface CardIssuing {
1931
1669
  /**
1932
1670
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
@@ -2088,13 +1826,6 @@ declare module 'stripe' {
2088
1826
  }
2089
1827
  }
2090
1828
 
2091
- interface TaxForms {
2092
- /**
2093
- * Whether the account opted out of receiving their tax forms by postal delivery.
2094
- */
2095
- consented_to_paperless_delivery?: boolean;
2096
- }
2097
-
2098
1829
  interface Treasury {
2099
1830
  /**
2100
1831
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -2234,11 +1965,6 @@ declare module 'stripe' {
2234
1965
  */
2235
1966
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
2236
1967
 
2237
- /**
2238
- * A hash to configure risk controls on the account. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2239
- */
2240
- risk_controls?: AccountUpdateParams.RiskControls;
2241
-
2242
1968
  /**
2243
1969
  * Options for customizing how the account functions within Stripe.
2244
1970
  */
@@ -2428,11 +2154,6 @@ declare module 'stripe' {
2428
2154
  */
2429
2155
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
2430
2156
 
2431
- /**
2432
- * The automatic_indirect_tax capability.
2433
- */
2434
- automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
2435
-
2436
2157
  /**
2437
2158
  * The bacs_debit_payments capability.
2438
2159
  */
@@ -2508,26 +2229,11 @@ declare module 'stripe' {
2508
2229
  */
2509
2230
  giropay_payments?: Capabilities.GiropayPayments;
2510
2231
 
2511
- /**
2512
- * The gopay_payments capability.
2513
- */
2514
- gopay_payments?: Capabilities.GopayPayments;
2515
-
2516
2232
  /**
2517
2233
  * The grabpay_payments capability.
2518
2234
  */
2519
2235
  grabpay_payments?: Capabilities.GrabpayPayments;
2520
2236
 
2521
- /**
2522
- * The id_bank_transfer_payments capability.
2523
- */
2524
- id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
2525
-
2526
- /**
2527
- * The id_bank_transfer_payments_bca capability.
2528
- */
2529
- id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
2530
-
2531
2237
  /**
2532
2238
  * The ideal_payments capability.
2533
2239
  */
@@ -2633,21 +2339,6 @@ declare module 'stripe' {
2633
2339
  */
2634
2340
  paynow_payments?: Capabilities.PaynowPayments;
2635
2341
 
2636
- /**
2637
- * The paypal_payments capability.
2638
- */
2639
- paypal_payments?: Capabilities.PaypalPayments;
2640
-
2641
- /**
2642
- * The paypay_payments capability.
2643
- */
2644
- paypay_payments?: Capabilities.PaypayPayments;
2645
-
2646
- /**
2647
- * The payto_payments capability.
2648
- */
2649
- payto_payments?: Capabilities.PaytoPayments;
2650
-
2651
2342
  /**
2652
2343
  * The pix_payments capability.
2653
2344
  */
@@ -2658,16 +2349,6 @@ declare module 'stripe' {
2658
2349
  */
2659
2350
  promptpay_payments?: Capabilities.PromptpayPayments;
2660
2351
 
2661
- /**
2662
- * The qris_payments capability.
2663
- */
2664
- qris_payments?: Capabilities.QrisPayments;
2665
-
2666
- /**
2667
- * The rechnung_payments capability.
2668
- */
2669
- rechnung_payments?: Capabilities.RechnungPayments;
2670
-
2671
2352
  /**
2672
2353
  * The revolut_pay_payments capability.
2673
2354
  */
@@ -2693,21 +2374,11 @@ declare module 'stripe' {
2693
2374
  */
2694
2375
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
2695
2376
 
2696
- /**
2697
- * The shopeepay_payments capability.
2698
- */
2699
- shopeepay_payments?: Capabilities.ShopeepayPayments;
2700
-
2701
2377
  /**
2702
2378
  * The sofort_payments capability.
2703
2379
  */
2704
2380
  sofort_payments?: Capabilities.SofortPayments;
2705
2381
 
2706
- /**
2707
- * The stripe_balance_payments capability.
2708
- */
2709
- stripe_balance_payments?: Capabilities.StripeBalancePayments;
2710
-
2711
2382
  /**
2712
2383
  * The swish_payments capability.
2713
2384
  */
@@ -2733,21 +2404,6 @@ declare module 'stripe' {
2733
2404
  */
2734
2405
  treasury?: Capabilities.Treasury;
2735
2406
 
2736
- /**
2737
- * The treasury_evolve capability.
2738
- */
2739
- treasury_evolve?: Capabilities.TreasuryEvolve;
2740
-
2741
- /**
2742
- * The treasury_fifth_third capability.
2743
- */
2744
- treasury_fifth_third?: Capabilities.TreasuryFifthThird;
2745
-
2746
- /**
2747
- * The treasury_goldman_sachs capability.
2748
- */
2749
- treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
2750
-
2751
2407
  /**
2752
2408
  * The twint_payments capability.
2753
2409
  */
@@ -2812,13 +2468,6 @@ declare module 'stripe' {
2812
2468
  requested?: boolean;
2813
2469
  }
2814
2470
 
2815
- interface AutomaticIndirectTax {
2816
- /**
2817
- * 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.
2818
- */
2819
- requested?: boolean;
2820
- }
2821
-
2822
2471
  interface BacsDebitPayments {
2823
2472
  /**
2824
2473
  * 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.
@@ -2924,13 +2573,6 @@ declare module 'stripe' {
2924
2573
  requested?: boolean;
2925
2574
  }
2926
2575
 
2927
- interface GopayPayments {
2928
- /**
2929
- * 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.
2930
- */
2931
- requested?: boolean;
2932
- }
2933
-
2934
2576
  interface GrabpayPayments {
2935
2577
  /**
2936
2578
  * 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.
@@ -2938,20 +2580,6 @@ declare module 'stripe' {
2938
2580
  requested?: boolean;
2939
2581
  }
2940
2582
 
2941
- interface IdBankTransferPayments {
2942
- /**
2943
- * 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.
2944
- */
2945
- requested?: boolean;
2946
- }
2947
-
2948
- interface IdBankTransferPaymentsBca {
2949
- /**
2950
- * 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.
2951
- */
2952
- requested?: boolean;
2953
- }
2954
-
2955
2583
  interface IdealPayments {
2956
2584
  /**
2957
2585
  * 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.
@@ -3099,27 +2727,6 @@ declare module 'stripe' {
3099
2727
  requested?: boolean;
3100
2728
  }
3101
2729
 
3102
- interface PaypalPayments {
3103
- /**
3104
- * 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.
3105
- */
3106
- requested?: boolean;
3107
- }
3108
-
3109
- interface PaypayPayments {
3110
- /**
3111
- * 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.
3112
- */
3113
- requested?: boolean;
3114
- }
3115
-
3116
- interface PaytoPayments {
3117
- /**
3118
- * 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.
3119
- */
3120
- requested?: boolean;
3121
- }
3122
-
3123
2730
  interface PixPayments {
3124
2731
  /**
3125
2732
  * 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.
@@ -3134,20 +2741,6 @@ declare module 'stripe' {
3134
2741
  requested?: boolean;
3135
2742
  }
3136
2743
 
3137
- interface QrisPayments {
3138
- /**
3139
- * 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.
3140
- */
3141
- requested?: boolean;
3142
- }
3143
-
3144
- interface RechnungPayments {
3145
- /**
3146
- * 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.
3147
- */
3148
- requested?: boolean;
3149
- }
3150
-
3151
2744
  interface RevolutPayPayments {
3152
2745
  /**
3153
2746
  * 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.
@@ -3183,13 +2776,6 @@ declare module 'stripe' {
3183
2776
  requested?: boolean;
3184
2777
  }
3185
2778
 
3186
- interface ShopeepayPayments {
3187
- /**
3188
- * 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.
3189
- */
3190
- requested?: boolean;
3191
- }
3192
-
3193
2779
  interface SofortPayments {
3194
2780
  /**
3195
2781
  * 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.
@@ -3197,13 +2783,6 @@ declare module 'stripe' {
3197
2783
  requested?: boolean;
3198
2784
  }
3199
2785
 
3200
- interface StripeBalancePayments {
3201
- /**
3202
- * 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.
3203
- */
3204
- requested?: boolean;
3205
- }
3206
-
3207
2786
  interface SwishPayments {
3208
2787
  /**
3209
2788
  * 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.
@@ -3239,27 +2818,6 @@ declare module 'stripe' {
3239
2818
  requested?: boolean;
3240
2819
  }
3241
2820
 
3242
- interface TreasuryEvolve {
3243
- /**
3244
- * 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.
3245
- */
3246
- requested?: boolean;
3247
- }
3248
-
3249
- interface TreasuryFifthThird {
3250
- /**
3251
- * 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.
3252
- */
3253
- requested?: boolean;
3254
- }
3255
-
3256
- interface TreasuryGoldmanSachs {
3257
- /**
3258
- * 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.
3259
- */
3260
- requested?: boolean;
3261
- }
3262
-
3263
2821
  interface TwintPayments {
3264
2822
  /**
3265
2823
  * 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.
@@ -3417,6 +2975,11 @@ declare module 'stripe' {
3417
2975
  */
3418
2976
  registration_number?: string;
3419
2977
 
2978
+ /**
2979
+ * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
2980
+ */
2981
+ representative_declaration?: Company.RepresentativeDeclaration;
2982
+
3420
2983
  /**
3421
2984
  * The category identifying the legal structure of the company or legal entity. See [Business structure](https://docs.stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
3422
2985
  */
@@ -3499,6 +3062,23 @@ declare module 'stripe' {
3499
3062
  year: number;
3500
3063
  }
3501
3064
 
3065
+ interface RepresentativeDeclaration {
3066
+ /**
3067
+ * The Unix timestamp marking when the representative declaration attestation was made.
3068
+ */
3069
+ date?: number;
3070
+
3071
+ /**
3072
+ * The IP address from which the representative declaration attestation was made.
3073
+ */
3074
+ ip?: string;
3075
+
3076
+ /**
3077
+ * The user agent of the browser from which the representative declaration attestation was made.
3078
+ */
3079
+ user_agent?: string;
3080
+ }
3081
+
3502
3082
  type Structure =
3503
3083
  | 'free_zone_establishment'
3504
3084
  | 'free_zone_llc'
@@ -3868,57 +3448,17 @@ declare module 'stripe' {
3868
3448
  }
3869
3449
  }
3870
3450
 
3871
- interface RiskControls {
3872
- /**
3873
- * 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).
3874
- */
3875
- charges?: RiskControls.Charges;
3876
-
3877
- /**
3878
- * 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).
3879
- */
3880
- payouts?: RiskControls.Payouts;
3881
- }
3882
-
3883
- namespace RiskControls {
3884
- interface Charges {
3885
- /**
3886
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3887
- * There can be a delay before the risk control is paused or unpaused.
3888
- */
3889
- pause_requested?: boolean;
3890
- }
3891
-
3892
- interface Payouts {
3893
- /**
3894
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3895
- * There can be a delay before the risk control is paused or unpaused.
3896
- */
3897
- pause_requested?: boolean;
3898
- }
3899
- }
3900
-
3901
3451
  interface Settings {
3902
3452
  /**
3903
3453
  * Settings specific to Bacs Direct Debit payments.
3904
3454
  */
3905
3455
  bacs_debit_payments?: Settings.BacsDebitPayments;
3906
3456
 
3907
- /**
3908
- * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
3909
- */
3910
- bank_bca_onboarding?: Settings.BankBcaOnboarding;
3911
-
3912
3457
  /**
3913
3458
  * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
3914
3459
  */
3915
3460
  branding?: Settings.Branding;
3916
3461
 
3917
- /**
3918
- * Settings specific to the account's use of the Capital product.
3919
- */
3920
- capital?: Settings.Capital;
3921
-
3922
3462
  /**
3923
3463
  * Settings specific to the account's use of the Card Issuing product.
3924
3464
  */
@@ -3944,11 +3484,6 @@ declare module 'stripe' {
3944
3484
  */
3945
3485
  payouts?: Settings.Payouts;
3946
3486
 
3947
- /**
3948
- * Settings specific to the account's tax forms.
3949
- */
3950
- tax_forms?: Settings.TaxForms;
3951
-
3952
3487
  /**
3953
3488
  * Settings specific to the account's Treasury FinancialAccounts.
3954
3489
  */
@@ -3963,18 +3498,6 @@ declare module 'stripe' {
3963
3498
  display_name?: string;
3964
3499
  }
3965
3500
 
3966
- interface BankBcaOnboarding {
3967
- /**
3968
- * Bank BCA business account holder name
3969
- */
3970
- account_holder_name?: string;
3971
-
3972
- /**
3973
- * Bank BCA business account number
3974
- */
3975
- business_account_number?: string;
3976
- }
3977
-
3978
3501
  interface Branding {
3979
3502
  /**
3980
3503
  * (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.
@@ -3997,22 +3520,6 @@ declare module 'stripe' {
3997
3520
  secondary_color?: string;
3998
3521
  }
3999
3522
 
4000
- interface Capital {
4001
- /**
4002
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
4003
- */
4004
- payout_destination?: {
4005
- [key: string]: string;
4006
- };
4007
-
4008
- /**
4009
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4010
- */
4011
- payout_destination_selector?: {
4012
- [key: string]: Array<string>;
4013
- };
4014
- }
4015
-
4016
3523
  interface CardIssuing {
4017
3524
  /**
4018
3525
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
@@ -4179,13 +3686,6 @@ declare module 'stripe' {
4179
3686
  }
4180
3687
  }
4181
3688
 
4182
- interface TaxForms {
4183
- /**
4184
- * Whether the account opted out of receiving their tax forms by postal delivery.
4185
- */
4186
- consented_to_paperless_delivery?: boolean;
4187
- }
4188
-
4189
3689
  interface Treasury {
4190
3690
  /**
4191
3691
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.