stripe 18.3.0-beta.1 → 18.3.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 (296) hide show
  1. package/CHANGELOG.md +59 -1246
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -91
  6. package/cjs/RequestSender.js +1 -1
  7. package/cjs/apiVersion.js +3 -2
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
  10. package/cjs/resources/PaymentIntents.js +0 -13
  11. package/cjs/resources/Quotes.js +0 -32
  12. package/cjs/resources/SubscriptionSchedules.js +0 -4
  13. package/cjs/resources.js +10 -98
  14. package/cjs/stripe.core.js +1 -1
  15. package/esm/Error.js +0 -79
  16. package/esm/RequestSender.js +1 -1
  17. package/esm/apiVersion.js +2 -1
  18. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  19. package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
  20. package/esm/resources/PaymentIntents.js +0 -13
  21. package/esm/resources/Quotes.js +0 -32
  22. package/esm/resources/SubscriptionSchedules.js +0 -4
  23. package/esm/resources.js +1 -82
  24. package/esm/stripe.core.js +1 -1
  25. package/package.json +1 -1
  26. package/types/AccountLinksResource.d.ts +1 -5
  27. package/types/AccountSessions.d.ts +31 -76
  28. package/types/AccountSessionsResource.d.ts +48 -312
  29. package/types/Accounts.d.ts +30 -213
  30. package/types/AccountsResource.d.ts +85 -540
  31. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  32. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  33. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  34. package/types/Billing/CreditGrants.d.ts +0 -5
  35. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  36. package/types/BillingPortal/Sessions.d.ts +1 -6
  37. package/types/BillingPortal/SessionsResource.d.ts +5 -13
  38. package/types/Cards.d.ts +0 -5
  39. package/types/CashBalances.d.ts +0 -5
  40. package/types/Charges.d.ts +52 -182
  41. package/types/ChargesResource.d.ts +0 -1406
  42. package/types/Checkout/Sessions.d.ts +1 -314
  43. package/types/Checkout/SessionsResource.d.ts +62 -340
  44. package/types/ConfirmationTokens.d.ts +22 -136
  45. package/types/Coupons.d.ts +0 -33
  46. package/types/CouponsResource.d.ts +0 -21
  47. package/types/CreditNoteLineItems.d.ts +0 -17
  48. package/types/CreditNotes.d.ts +0 -5
  49. package/types/CreditNotesResource.d.ts +9 -14
  50. package/types/CustomerBalanceTransactions.d.ts +0 -2
  51. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  52. package/types/CustomerSessions.d.ts +1 -6
  53. package/types/CustomerSessionsResource.d.ts +2 -7
  54. package/types/Customers.d.ts +0 -2
  55. package/types/CustomersResource.d.ts +1 -8
  56. package/types/Discounts.d.ts +0 -10
  57. package/types/Disputes.d.ts +6 -2
  58. package/types/Errors.d.ts +2 -69
  59. package/types/EventTypes.d.ts +0 -664
  60. package/types/Events.d.ts +1 -98
  61. package/types/FinancialConnections/Accounts.d.ts +1 -36
  62. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  63. package/types/FinancialConnections/Sessions.d.ts +1 -51
  64. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  65. package/types/Identity/VerificationSessions.d.ts +33 -4
  66. package/types/Identity/VerificationSessionsResource.d.ts +14 -4
  67. package/types/InvoiceItems.d.ts +1 -14
  68. package/types/InvoiceItemsResource.d.ts +6 -117
  69. package/types/InvoiceLineItems.d.ts +1 -45
  70. package/types/InvoicePayments.d.ts +0 -5
  71. package/types/InvoicePaymentsResource.d.ts +74 -0
  72. package/types/Invoices.d.ts +4 -133
  73. package/types/InvoicesResource.d.ts +37 -1446
  74. package/types/Issuing/CardholdersResource.d.ts +1 -2
  75. package/types/Issuing/Transactions.d.ts +0 -5
  76. package/types/Issuing/TransactionsResource.d.ts +0 -5
  77. package/types/LineItems.d.ts +0 -49
  78. package/types/Mandates.d.ts +4 -77
  79. package/types/PaymentIntents.d.ts +35 -770
  80. package/types/PaymentIntentsResource.d.ts +4268 -8619
  81. package/types/PaymentLinks.d.ts +0 -6
  82. package/types/PaymentLinksResource.d.ts +0 -12
  83. package/types/PaymentMethodConfigurations.d.ts +0 -180
  84. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  85. package/types/PaymentMethods.d.ts +16 -134
  86. package/types/PaymentMethodsResource.d.ts +12 -167
  87. package/types/Payouts.d.ts +0 -5
  88. package/types/PayoutsResource.d.ts +0 -5
  89. package/types/Prices.d.ts +0 -22
  90. package/types/PricesResource.d.ts +0 -22
  91. package/types/PromotionCodes.d.ts +0 -5
  92. package/types/PromotionCodesResource.d.ts +0 -10
  93. package/types/Quotes.d.ts +8 -592
  94. package/types/QuotesResource.d.ts +278 -2617
  95. package/types/Refunds.d.ts +0 -14
  96. package/types/SetupAttempts.d.ts +4 -48
  97. package/types/SetupIntents.d.ts +17 -119
  98. package/types/SetupIntentsResource.d.ts +413 -660
  99. package/types/Sources.d.ts +0 -29
  100. package/types/SubscriptionItems.d.ts +0 -30
  101. package/types/SubscriptionItemsResource.d.ts +0 -109
  102. package/types/SubscriptionSchedules.d.ts +16 -207
  103. package/types/SubscriptionSchedulesResource.d.ts +14 -1236
  104. package/types/Subscriptions.d.ts +15 -108
  105. package/types/SubscriptionsResource.d.ts +30 -402
  106. package/types/Tax/Registrations.d.ts +9 -0
  107. package/types/Tax/RegistrationsResource.d.ts +12 -0
  108. package/types/TaxIds.d.ts +0 -10
  109. package/types/TaxIdsResource.d.ts +0 -10
  110. package/types/Terminal/Configurations.d.ts +1 -0
  111. package/types/Terminal/LocationsResource.d.ts +1 -1
  112. package/types/Terminal/Readers.d.ts +6 -26
  113. package/types/Terminal/ReadersResource.d.ts +4 -4
  114. package/types/TestHelpers/ConfirmationTokensResource.d.ts +15 -128
  115. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  116. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  117. package/types/TokensResource.d.ts +3 -0
  118. package/types/Transfers.d.ts +0 -5
  119. package/types/TransfersResource.d.ts +0 -5
  120. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  121. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  122. package/types/Treasury/FinancialAccountsResource.d.ts +9 -37
  123. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  124. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  125. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  126. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  127. package/types/V2/EventTypes.d.ts +4 -906
  128. package/types/WebhookEndpointsResource.d.ts +2 -79
  129. package/types/index.d.ts +6 -142
  130. package/types/lib.d.ts +11 -11
  131. package/types/test/typescriptTest.ts +3 -3
  132. package/cjs/resources/AccountNotices.js +0 -21
  133. package/cjs/resources/BalanceSettings.js +0 -10
  134. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  135. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  136. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  137. package/cjs/resources/ExternalAccounts.js +0 -23
  138. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  139. package/cjs/resources/FxQuotes.js +0 -15
  140. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  141. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  142. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  143. package/cjs/resources/Margins.js +0 -22
  144. package/cjs/resources/Orders.js +0 -24
  145. package/cjs/resources/PaymentRecords.js +0 -29
  146. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  147. package/cjs/resources/Tax/Associations.js +0 -9
  148. package/cjs/resources/Tax/Forms.js +0 -20
  149. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  150. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  151. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  152. package/cjs/resources/V2/Core/Accounts.js +0 -25
  153. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  154. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  155. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  156. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
  157. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  158. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  159. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  160. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  161. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  162. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  163. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  164. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  165. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  166. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  167. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  168. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  169. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  170. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  171. package/esm/resources/AccountNotices.js +0 -18
  172. package/esm/resources/BalanceSettings.js +0 -7
  173. package/esm/resources/Capital/FinancingOffers.js +0 -18
  174. package/esm/resources/Capital/FinancingSummary.js +0 -9
  175. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  176. package/esm/resources/ExternalAccounts.js +0 -20
  177. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  178. package/esm/resources/FxQuotes.js +0 -12
  179. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  180. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  181. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  182. package/esm/resources/Margins.js +0 -19
  183. package/esm/resources/Orders.js +0 -21
  184. package/esm/resources/PaymentRecords.js +0 -26
  185. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  186. package/esm/resources/Tax/Associations.js +0 -6
  187. package/esm/resources/Tax/Forms.js +0 -17
  188. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  189. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  190. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  191. package/esm/resources/V2/Core/Accounts.js +0 -22
  192. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  193. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  194. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  195. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
  196. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  197. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  198. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  199. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  200. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  201. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  202. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  203. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  204. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  205. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  206. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  207. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  208. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  209. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  210. package/types/AccountNotices.d.ts +0 -113
  211. package/types/AccountNoticesResource.d.ts +0 -98
  212. package/types/BalanceSettings.d.ts +0 -89
  213. package/types/BalanceSettingsResource.d.ts +0 -108
  214. package/types/Capital/FinancingOffers.d.ts +0 -188
  215. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  216. package/types/Capital/FinancingSummary.d.ts +0 -106
  217. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  218. package/types/Capital/FinancingTransactions.d.ts +0 -135
  219. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  220. package/types/ExternalAccountsResource.d.ts +0 -304
  221. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  222. package/types/FinancialConnections/Institutions.d.ts +0 -98
  223. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  224. package/types/FxQuotes.d.ts +0 -153
  225. package/types/FxQuotesResource.d.ts +0 -130
  226. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  227. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  228. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  229. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  230. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  231. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  232. package/types/Issuing/Settlements.d.ts +0 -113
  233. package/types/Margins.d.ts +0 -56
  234. package/types/MarginsResource.d.ts +0 -114
  235. package/types/Orders.d.ts +0 -1159
  236. package/types/OrdersResource.d.ts +0 -2967
  237. package/types/PaymentAttemptRecords.d.ts +0 -2132
  238. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  239. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  240. package/types/PaymentRecords.d.ts +0 -2125
  241. package/types/PaymentRecordsResource.d.ts +0 -455
  242. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  243. package/types/Privacy/RedactionJobs.d.ts +0 -111
  244. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  245. package/types/QuoteLines.d.ts +0 -634
  246. package/types/QuotePreviewInvoices.d.ts +0 -1695
  247. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -831
  248. package/types/Tax/Associations.d.ts +0 -82
  249. package/types/Tax/AssociationsResource.d.ts +0 -29
  250. package/types/Tax/Forms.d.ts +0 -220
  251. package/types/Tax/FormsResource.d.ts +0 -107
  252. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  253. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  254. package/types/V2/Core/AccountLinks.d.ts +0 -106
  255. package/types/V2/Core/AccountLinksResource.d.ts +0 -90
  256. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
  257. package/types/V2/Core/Accounts.d.ts +0 -8169
  258. package/types/V2/Core/AccountsResource.d.ts +0 -10203
  259. package/types/V2/Core/Persons.d.ts +0 -1867
  260. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  261. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  262. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  263. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  264. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  265. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  266. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  267. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  268. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -546
  269. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
  270. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  271. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
  272. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  273. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  274. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  275. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  276. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  277. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  278. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  279. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  280. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  281. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
  282. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
  283. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  284. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  285. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  286. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -243
  287. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  288. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  289. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  290. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
  291. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  292. package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
  293. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  294. package/types/V2/Payments/OffSessionPayments.d.ts +0 -167
  295. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -159
  296. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
@@ -22,149 +22,89 @@ declare module 'stripe' {
22
22
  namespace AccountSessionCreateParams {
23
23
  interface Components {
24
24
  /**
25
- * Configuration for the account management embedded component.
25
+ * Configuration for the [account management](https://docs.stripe.com/connect/supported-embedded-components/account-management/) embedded component.
26
26
  */
27
27
  account_management?: Components.AccountManagement;
28
28
 
29
29
  /**
30
- * Configuration for the account onboarding embedded component.
30
+ * Configuration for the [account onboarding](https://docs.stripe.com/connect/supported-embedded-components/account-onboarding/) embedded component.
31
31
  */
32
32
  account_onboarding?: Components.AccountOnboarding;
33
33
 
34
34
  /**
35
- * Configuration for the app install component.
36
- */
37
- app_install?: Components.AppInstall;
38
-
39
- /**
40
- * Configuration for the app viewport component.
41
- */
42
- app_viewport?: Components.AppViewport;
43
-
44
- /**
45
- * Configuration for the balances embedded component.
35
+ * Configuration for the [balances](https://docs.stripe.com/connect/supported-embedded-components/balances/) embedded component.
46
36
  */
47
37
  balances?: Components.Balances;
48
38
 
49
39
  /**
50
- * Configuration for the capital financing embedded component.
51
- */
52
- capital_financing?: Components.CapitalFinancing;
53
-
54
- /**
55
- * Configuration for the capital financing application embedded component.
56
- */
57
- capital_financing_application?: Components.CapitalFinancingApplication;
58
-
59
- /**
60
- * Configuration for the capital financing promotion embedded component.
61
- */
62
- capital_financing_promotion?: Components.CapitalFinancingPromotion;
63
-
64
- /**
65
- * Configuration for the capital overview embedded component.
66
- */
67
- capital_overview?: Components.CapitalOverview;
68
-
69
- /**
70
- * Configuration for the disputes list embedded component.
40
+ * Configuration for the [disputes list](https://docs.stripe.com/connect/supported-embedded-components/disputes-list/) embedded component.
71
41
  */
72
42
  disputes_list?: Components.DisputesList;
73
43
 
74
44
  /**
75
- * Configuration for the documents embedded component.
45
+ * Configuration for the [documents](https://docs.stripe.com/connect/supported-embedded-components/documents/) embedded component.
76
46
  */
77
47
  documents?: Components.Documents;
78
48
 
79
49
  /**
80
- * Configuration for the export tax transactions embedded component.
81
- */
82
- export_tax_transactions?: Components.ExportTaxTransactions;
83
-
84
- /**
85
- * Configuration for the financial account embedded component.
50
+ * Configuration for the [financial account](https://docs.stripe.com/connect/supported-embedded-components/financial-account/) embedded component.
86
51
  */
87
52
  financial_account?: Components.FinancialAccount;
88
53
 
89
54
  /**
90
- * Configuration for the financial account transactions embedded component.
55
+ * Configuration for the [financial account transactions](https://docs.stripe.com/connect/supported-embedded-components/financial-account-transactions/) embedded component.
91
56
  */
92
57
  financial_account_transactions?: Components.FinancialAccountTransactions;
93
58
 
94
59
  /**
95
- * Configuration for the issuing card embedded component.
60
+ * Configuration for the [issuing card](https://docs.stripe.com/connect/supported-embedded-components/issuing-card/) embedded component.
96
61
  */
97
62
  issuing_card?: Components.IssuingCard;
98
63
 
99
64
  /**
100
- * Configuration for the issuing cards list embedded component.
65
+ * Configuration for the [issuing cards list](https://docs.stripe.com/connect/supported-embedded-components/issuing-cards-list/) embedded component.
101
66
  */
102
67
  issuing_cards_list?: Components.IssuingCardsList;
103
68
 
104
69
  /**
105
- * Configuration for the notification banner embedded component.
70
+ * Configuration for the [notification banner](https://docs.stripe.com/connect/supported-embedded-components/notification-banner/) embedded component.
106
71
  */
107
72
  notification_banner?: Components.NotificationBanner;
108
73
 
109
74
  /**
110
- * Configuration for the payment details embedded component.
75
+ * Configuration for the [payment details](https://docs.stripe.com/connect/supported-embedded-components/payment-details/) embedded component.
111
76
  */
112
77
  payment_details?: Components.PaymentDetails;
113
78
 
114
79
  /**
115
- * Configuration for the payment disputes embedded component.
80
+ * Configuration for the [payment disputes](https://docs.stripe.com/connect/supported-embedded-components/payment-disputes/) embedded component.
116
81
  */
117
82
  payment_disputes?: Components.PaymentDisputes;
118
83
 
119
84
  /**
120
- * Configuration for the payment method settings embedded component.
121
- */
122
- payment_method_settings?: Components.PaymentMethodSettings;
123
-
124
- /**
125
- * Configuration for the payments embedded component.
85
+ * Configuration for the [payments](https://docs.stripe.com/connect/supported-embedded-components/payments/) embedded component.
126
86
  */
127
87
  payments?: Components.Payments;
128
88
 
129
89
  /**
130
- * Configuration for the payouts embedded component.
90
+ * Configuration for the [payouts](https://docs.stripe.com/connect/supported-embedded-components/payouts/) embedded component.
131
91
  */
132
92
  payouts?: Components.Payouts;
133
93
 
134
94
  /**
135
- * Configuration for the payouts list embedded component.
95
+ * Configuration for the [payouts list](https://docs.stripe.com/connect/supported-embedded-components/payouts-list/) embedded component.
136
96
  */
137
97
  payouts_list?: Components.PayoutsList;
138
98
 
139
99
  /**
140
- * Configuration for the product tax code selector embedded component.
141
- */
142
- product_tax_code_selector?: Components.ProductTaxCodeSelector;
143
-
144
- /**
145
- * Configuration for the recipients component.
146
- */
147
- recipients?: Components.Recipients;
148
-
149
- /**
150
- * Configuration for the reporting chart embedded component.
151
- */
152
- reporting_chart?: Components.ReportingChart;
153
-
154
- /**
155
- * Configuration for the tax registrations embedded component.
100
+ * Configuration for the [tax registrations](https://docs.stripe.com/connect/supported-embedded-components/tax-registrations/) embedded component.
156
101
  */
157
102
  tax_registrations?: Components.TaxRegistrations;
158
103
 
159
104
  /**
160
- * Configuration for the tax settings embedded component.
105
+ * Configuration for the [tax settings](https://docs.stripe.com/connect/supported-embedded-components/tax-settings/) embedded component.
161
106
  */
162
107
  tax_settings?: Components.TaxSettings;
163
-
164
- /**
165
- * Configuration for the tax threshold monitoring embedded component.
166
- */
167
- tax_threshold_monitoring?: Components.TaxThresholdMonitoring;
168
108
  }
169
109
 
170
110
  namespace Components {
@@ -183,12 +123,12 @@ declare module 'stripe' {
183
123
  namespace AccountManagement {
184
124
  interface Features {
185
125
  /**
186
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
126
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
187
127
  */
188
128
  disable_stripe_user_authentication?: boolean;
189
129
 
190
130
  /**
191
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
131
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
192
132
  */
193
133
  external_account_collection?: boolean;
194
134
  }
@@ -209,59 +149,17 @@ declare module 'stripe' {
209
149
  namespace AccountOnboarding {
210
150
  interface Features {
211
151
  /**
212
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
152
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
213
153
  */
214
154
  disable_stripe_user_authentication?: boolean;
215
155
 
216
156
  /**
217
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
157
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
218
158
  */
219
159
  external_account_collection?: boolean;
220
160
  }
221
161
  }
222
162
 
223
- interface AppInstall {
224
- /**
225
- * Whether the embedded component is enabled.
226
- */
227
- enabled: boolean;
228
-
229
- /**
230
- * The list of features enabled in the embedded component.
231
- */
232
- features?: AppInstall.Features;
233
- }
234
-
235
- namespace AppInstall {
236
- interface Features {
237
- /**
238
- * List of apps allowed to be enabled for this account session.
239
- */
240
- allowed_apps?: Stripe.Emptyable<Array<string>>;
241
- }
242
- }
243
-
244
- interface AppViewport {
245
- /**
246
- * Whether the embedded component is enabled.
247
- */
248
- enabled: boolean;
249
-
250
- /**
251
- * The list of features enabled in the embedded component.
252
- */
253
- features?: AppViewport.Features;
254
- }
255
-
256
- namespace AppViewport {
257
- interface Features {
258
- /**
259
- * List of apps allowed to be enabled for this account session.
260
- */
261
- allowed_apps?: Stripe.Emptyable<Array<string>>;
262
- }
263
- }
264
-
265
163
  interface Balances {
266
164
  /**
267
165
  * Whether the embedded component is enabled.
@@ -277,96 +175,32 @@ declare module 'stripe' {
277
175
  namespace Balances {
278
176
  interface Features {
279
177
  /**
280
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
178
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
281
179
  */
282
180
  disable_stripe_user_authentication?: boolean;
283
181
 
284
182
  /**
285
- * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
183
+ * Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
286
184
  */
287
185
  edit_payout_schedule?: boolean;
288
186
 
289
187
  /**
290
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
188
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
291
189
  */
292
190
  external_account_collection?: boolean;
293
191
 
294
192
  /**
295
- * Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
193
+ * Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
296
194
  */
297
195
  instant_payouts?: boolean;
298
196
 
299
197
  /**
300
- * Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
198
+ * Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
301
199
  */
302
200
  standard_payouts?: boolean;
303
201
  }
304
202
  }
305
203
 
306
- interface CapitalFinancing {
307
- /**
308
- * Whether the embedded component is enabled.
309
- */
310
- enabled: boolean;
311
-
312
- /**
313
- * The list of features enabled in the embedded component.
314
- */
315
- features?: CapitalFinancing.Features;
316
- }
317
-
318
- namespace CapitalFinancing {
319
- interface Features {}
320
- }
321
-
322
- interface CapitalFinancingApplication {
323
- /**
324
- * Whether the embedded component is enabled.
325
- */
326
- enabled: boolean;
327
-
328
- /**
329
- * The list of features enabled in the embedded component.
330
- */
331
- features?: CapitalFinancingApplication.Features;
332
- }
333
-
334
- namespace CapitalFinancingApplication {
335
- interface Features {}
336
- }
337
-
338
- interface CapitalFinancingPromotion {
339
- /**
340
- * Whether the embedded component is enabled.
341
- */
342
- enabled: boolean;
343
-
344
- /**
345
- * The list of features enabled in the embedded component.
346
- */
347
- features?: CapitalFinancingPromotion.Features;
348
- }
349
-
350
- namespace CapitalFinancingPromotion {
351
- interface Features {}
352
- }
353
-
354
- interface CapitalOverview {
355
- /**
356
- * Whether the embedded component is enabled.
357
- */
358
- enabled: boolean;
359
-
360
- /**
361
- * The list of features enabled in the embedded component.
362
- */
363
- features?: CapitalOverview.Features;
364
- }
365
-
366
- namespace CapitalOverview {
367
- interface Features {}
368
- }
369
-
370
204
  interface DisputesList {
371
205
  /**
372
206
  * Whether the embedded component is enabled.
@@ -387,17 +221,17 @@ declare module 'stripe' {
387
221
  capture_payments?: boolean;
388
222
 
389
223
  /**
390
- * Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
224
+ * Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
391
225
  */
392
226
  destination_on_behalf_of_charge_management?: boolean;
393
227
 
394
228
  /**
395
- * Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
229
+ * Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
396
230
  */
397
231
  dispute_management?: boolean;
398
232
 
399
233
  /**
400
- * Whether to allow sending refunds. This is `true` by default.
234
+ * Whether sending refunds is enabled. This is `true` by default.
401
235
  */
402
236
  refund_management?: boolean;
403
237
  }
@@ -419,22 +253,6 @@ declare module 'stripe' {
419
253
  interface Features {}
420
254
  }
421
255
 
422
- interface ExportTaxTransactions {
423
- /**
424
- * Whether the embedded component is enabled.
425
- */
426
- enabled: boolean;
427
-
428
- /**
429
- * The list of features enabled in the embedded component.
430
- */
431
- features?: ExportTaxTransactions.Features;
432
- }
433
-
434
- namespace ExportTaxTransactions {
435
- interface Features {}
436
- }
437
-
438
256
  interface FinancialAccount {
439
257
  /**
440
258
  * Whether the embedded component is enabled.
@@ -450,12 +268,12 @@ declare module 'stripe' {
450
268
  namespace FinancialAccount {
451
269
  interface Features {
452
270
  /**
453
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
271
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
454
272
  */
455
273
  disable_stripe_user_authentication?: boolean;
456
274
 
457
275
  /**
458
- * Whether to allow external accounts to be linked for money transfer.
276
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
459
277
  */
460
278
  external_account_collection?: boolean;
461
279
 
@@ -558,7 +376,7 @@ declare module 'stripe' {
558
376
  cardholder_management?: boolean;
559
377
 
560
378
  /**
561
- * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts.
379
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
562
380
  */
563
381
  disable_stripe_user_authentication?: boolean;
564
382
 
@@ -584,12 +402,12 @@ declare module 'stripe' {
584
402
  namespace NotificationBanner {
585
403
  interface Features {
586
404
  /**
587
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
405
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
588
406
  */
589
407
  disable_stripe_user_authentication?: boolean;
590
408
 
591
409
  /**
592
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
410
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
593
411
  */
594
412
  external_account_collection?: boolean;
595
413
  }
@@ -615,17 +433,17 @@ declare module 'stripe' {
615
433
  capture_payments?: boolean;
616
434
 
617
435
  /**
618
- * Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
436
+ * Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
619
437
  */
620
438
  destination_on_behalf_of_charge_management?: boolean;
621
439
 
622
440
  /**
623
- * Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
441
+ * Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
624
442
  */
625
443
  dispute_management?: boolean;
626
444
 
627
445
  /**
628
- * Whether to allow sending refunds. This is `true` by default.
446
+ * Whether sending refunds is enabled. This is `true` by default.
629
447
  */
630
448
  refund_management?: boolean;
631
449
  }
@@ -646,38 +464,22 @@ declare module 'stripe' {
646
464
  namespace PaymentDisputes {
647
465
  interface Features {
648
466
  /**
649
- * Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
467
+ * Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
650
468
  */
651
469
  destination_on_behalf_of_charge_management?: boolean;
652
470
 
653
471
  /**
654
- * Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
472
+ * Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
655
473
  */
656
474
  dispute_management?: boolean;
657
475
 
658
476
  /**
659
- * Whether to allow sending refunds. This is `true` by default.
477
+ * Whether sending refunds is enabled. This is `true` by default.
660
478
  */
661
479
  refund_management?: boolean;
662
480
  }
663
481
  }
664
482
 
665
- interface PaymentMethodSettings {
666
- /**
667
- * Whether the embedded component is enabled.
668
- */
669
- enabled: boolean;
670
-
671
- /**
672
- * The list of features enabled in the embedded component.
673
- */
674
- features?: PaymentMethodSettings.Features;
675
- }
676
-
677
- namespace PaymentMethodSettings {
678
- interface Features {}
679
- }
680
-
681
483
  interface Payments {
682
484
  /**
683
485
  * Whether the embedded component is enabled.
@@ -698,17 +500,17 @@ declare module 'stripe' {
698
500
  capture_payments?: boolean;
699
501
 
700
502
  /**
701
- * Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
503
+ * Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
702
504
  */
703
505
  destination_on_behalf_of_charge_management?: boolean;
704
506
 
705
507
  /**
706
- * Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
508
+ * Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
707
509
  */
708
510
  dispute_management?: boolean;
709
511
 
710
512
  /**
711
- * Whether to allow sending refunds. This is `true` by default.
513
+ * Whether sending refunds is enabled. This is `true` by default.
712
514
  */
713
515
  refund_management?: boolean;
714
516
  }
@@ -729,27 +531,27 @@ declare module 'stripe' {
729
531
  namespace Payouts {
730
532
  interface Features {
731
533
  /**
732
- * Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
534
+ * Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
733
535
  */
734
536
  disable_stripe_user_authentication?: boolean;
735
537
 
736
538
  /**
737
- * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
539
+ * Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
738
540
  */
739
541
  edit_payout_schedule?: boolean;
740
542
 
741
543
  /**
742
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
544
+ * Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
743
545
  */
744
546
  external_account_collection?: boolean;
745
547
 
746
548
  /**
747
- * Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
549
+ * Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
748
550
  */
749
551
  instant_payouts?: boolean;
750
552
 
751
553
  /**
752
- * Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
554
+ * Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
753
555
  */
754
556
  standard_payouts?: boolean;
755
557
  }
@@ -771,56 +573,6 @@ declare module 'stripe' {
771
573
  interface Features {}
772
574
  }
773
575
 
774
- interface ProductTaxCodeSelector {
775
- /**
776
- * Whether the embedded component is enabled.
777
- */
778
- enabled: boolean;
779
-
780
- /**
781
- * The list of features enabled in the embedded component.
782
- */
783
- features?: ProductTaxCodeSelector.Features;
784
- }
785
-
786
- namespace ProductTaxCodeSelector {
787
- interface Features {}
788
- }
789
-
790
- interface Recipients {
791
- /**
792
- * Whether the embedded component is enabled.
793
- */
794
- enabled: boolean;
795
-
796
- features?: Recipients.Features;
797
- }
798
-
799
- namespace Recipients {
800
- interface Features {
801
- /**
802
- * Whether to allow sending money.
803
- */
804
- send_money?: boolean;
805
- }
806
- }
807
-
808
- interface ReportingChart {
809
- /**
810
- * Whether the embedded component is enabled.
811
- */
812
- enabled: boolean;
813
-
814
- /**
815
- * The list of features enabled in the embedded component.
816
- */
817
- features?: ReportingChart.Features;
818
- }
819
-
820
- namespace ReportingChart {
821
- interface Features {}
822
- }
823
-
824
576
  interface TaxRegistrations {
825
577
  /**
826
578
  * Whether the embedded component is enabled.
@@ -852,22 +604,6 @@ declare module 'stripe' {
852
604
  namespace TaxSettings {
853
605
  interface Features {}
854
606
  }
855
-
856
- interface TaxThresholdMonitoring {
857
- /**
858
- * Whether the embedded component is enabled.
859
- */
860
- enabled: boolean;
861
-
862
- /**
863
- * The list of features enabled in the embedded component.
864
- */
865
- features?: TaxThresholdMonitoring.Features;
866
- }
867
-
868
- namespace TaxThresholdMonitoring {
869
- interface Features {}
870
- }
871
607
  }
872
608
  }
873
609