stripe 20.0.0 → 20.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/CHANGELOG.md +1503 -11
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +115 -1
  6. package/cjs/apiVersion.js +2 -3
  7. package/cjs/resources/AccountNotices.js +21 -0
  8. package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/ExternalAccounts.js +23 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  14. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  15. package/cjs/resources/FxQuotes.js +15 -0
  16. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  17. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  18. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  19. package/cjs/resources/Mandates.js +5 -0
  20. package/cjs/resources/Margins.js +22 -0
  21. package/cjs/resources/Orders.js +24 -0
  22. package/cjs/resources/PaymentIntents.js +8 -0
  23. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  24. package/cjs/resources/Quotes.js +32 -0
  25. package/cjs/resources/SubscriptionSchedules.js +4 -0
  26. package/cjs/resources/Subscriptions.js +4 -0
  27. package/cjs/resources/Tax/Forms.js +20 -0
  28. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  29. package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
  30. package/cjs/resources/V2/Billing/BillSettings.js +27 -0
  31. package/cjs/resources/V2/Billing/Cadences.js +23 -0
  32. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
  33. package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
  34. package/cjs/resources/V2/Billing/Profiles.js +19 -0
  35. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  36. package/cjs/resources/V2/Core/AccountTokens.js +13 -0
  37. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +16 -0
  38. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  39. package/cjs/resources/V2/Core/Accounts.js +27 -0
  40. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
  41. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
  42. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  43. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -0
  44. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  45. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  46. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  47. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  48. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  49. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  50. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  51. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  52. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  53. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  54. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  55. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  56. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  57. package/cjs/resources.js +100 -8
  58. package/cjs/stripe.core.js +1 -1
  59. package/esm/Error.js +100 -0
  60. package/esm/apiVersion.js +1 -2
  61. package/esm/resources/AccountNotices.js +18 -0
  62. package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
  63. package/esm/resources/Capital/FinancingOffers.js +18 -0
  64. package/esm/resources/Capital/FinancingSummary.js +9 -0
  65. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  66. package/esm/resources/ExternalAccounts.js +20 -0
  67. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  68. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  69. package/esm/resources/FxQuotes.js +12 -0
  70. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  71. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  72. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  73. package/esm/resources/Mandates.js +5 -0
  74. package/esm/resources/Margins.js +19 -0
  75. package/esm/resources/Orders.js +21 -0
  76. package/esm/resources/PaymentIntents.js +8 -0
  77. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  78. package/esm/resources/Quotes.js +32 -0
  79. package/esm/resources/SubscriptionSchedules.js +4 -0
  80. package/esm/resources/Subscriptions.js +4 -0
  81. package/esm/resources/Tax/Forms.js +17 -0
  82. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  83. package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
  84. package/esm/resources/V2/Billing/BillSettings.js +24 -0
  85. package/esm/resources/V2/Billing/Cadences.js +20 -0
  86. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
  87. package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
  88. package/esm/resources/V2/Billing/Profiles.js +16 -0
  89. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  90. package/esm/resources/V2/Core/AccountTokens.js +10 -0
  91. package/esm/resources/V2/Core/Accounts/PersonTokens.js +13 -0
  92. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  93. package/esm/resources/V2/Core/Accounts.js +24 -0
  94. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
  95. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
  96. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  97. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -0
  98. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  99. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  100. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  101. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  102. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  103. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  104. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  105. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  106. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  107. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  108. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  109. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  110. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  111. package/esm/resources.js +87 -0
  112. package/esm/stripe.core.js +1 -1
  113. package/package.json +1 -1
  114. package/types/AccountLinksResource.d.ts +5 -1
  115. package/types/AccountNotices.d.ts +113 -0
  116. package/types/AccountNoticesResource.d.ts +98 -0
  117. package/types/AccountSessions.d.ts +45 -0
  118. package/types/AccountSessionsResource.d.ts +264 -0
  119. package/types/Accounts.d.ts +232 -1
  120. package/types/AccountsResource.d.ts +586 -0
  121. package/types/BankAccounts.d.ts +2 -0
  122. package/types/Billing/AlertTriggereds.d.ts +1 -1
  123. package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
  124. package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
  125. package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
  126. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  127. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  128. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  129. package/types/Billing/CreditGrants.d.ts +5 -0
  130. package/types/Billing/CreditGrantsResource.d.ts +13 -3
  131. package/types/BillingPortal/Sessions.d.ts +5 -0
  132. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  133. package/types/Capabilities.d.ts +2 -0
  134. package/types/Capital/FinancingOffers.d.ts +188 -0
  135. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  136. package/types/Capital/FinancingSummary.d.ts +106 -0
  137. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  138. package/types/Capital/FinancingTransactions.d.ts +135 -0
  139. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  140. package/types/Cards.d.ts +5 -0
  141. package/types/CashBalances.d.ts +5 -0
  142. package/types/Charges.d.ts +176 -0
  143. package/types/ChargesResource.d.ts +3855 -75
  144. package/types/Checkout/Sessions.d.ts +369 -2
  145. package/types/Checkout/SessionsResource.d.ts +632 -2
  146. package/types/ConfirmationTokens.d.ts +125 -0
  147. package/types/Coupons.d.ts +35 -0
  148. package/types/CouponsResource.d.ts +23 -0
  149. package/types/CreditNoteLineItems.d.ts +17 -0
  150. package/types/CreditNotes.d.ts +5 -0
  151. package/types/CreditNotesResource.d.ts +5 -0
  152. package/types/CustomerBalanceTransactions.d.ts +2 -0
  153. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  154. package/types/CustomerSessions.d.ts +46 -0
  155. package/types/CustomerSessionsResource.d.ts +47 -1
  156. package/types/Customers.d.ts +2 -0
  157. package/types/CustomersResource.d.ts +8 -0
  158. package/types/Discounts.d.ts +10 -0
  159. package/types/Disputes.d.ts +40 -0
  160. package/types/DisputesResource.d.ts +11 -0
  161. package/types/Errors.d.ts +85 -0
  162. package/types/EventTypes.d.ts +630 -0
  163. package/types/Events.d.ts +96 -0
  164. package/types/ExternalAccountsResource.d.ts +304 -0
  165. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  166. package/types/FinancialConnections/Accounts.d.ts +36 -1
  167. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  168. package/types/FinancialConnections/Institutions.d.ts +98 -0
  169. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  170. package/types/FinancialConnections/Sessions.d.ts +51 -1
  171. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  172. package/types/FxQuotes.d.ts +155 -0
  173. package/types/FxQuotesResource.d.ts +130 -0
  174. package/types/Identity/VerificationSessions.d.ts +5 -0
  175. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  176. package/types/InvoiceItems.d.ts +10 -0
  177. package/types/InvoiceItemsResource.d.ts +117 -6
  178. package/types/InvoiceLineItems.d.ts +45 -1
  179. package/types/Invoices.d.ts +203 -4
  180. package/types/InvoicesResource.d.ts +1620 -2
  181. package/types/Issuing/CardholdersResource.d.ts +2 -1
  182. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  183. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  184. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  185. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  186. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  187. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  188. package/types/Issuing/Settlements.d.ts +113 -0
  189. package/types/Issuing/Transactions.d.ts +5 -0
  190. package/types/Issuing/TransactionsResource.d.ts +5 -0
  191. package/types/LineItems.d.ts +49 -0
  192. package/types/Mandates.d.ts +135 -1
  193. package/types/MandatesResource.d.ts +31 -0
  194. package/types/Margins.d.ts +56 -0
  195. package/types/MarginsResource.d.ts +114 -0
  196. package/types/Orders.d.ts +1163 -0
  197. package/types/OrdersResource.d.ts +5505 -0
  198. package/types/PaymentAttemptRecords.d.ts +141 -0
  199. package/types/PaymentIntents.d.ts +752 -3
  200. package/types/PaymentIntentsResource.d.ts +19244 -6298
  201. package/types/PaymentLinks.d.ts +6 -0
  202. package/types/PaymentLinksResource.d.ts +12 -0
  203. package/types/PaymentMethodConfigurations.d.ts +216 -0
  204. package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
  205. package/types/PaymentMethods.d.ts +130 -0
  206. package/types/PaymentMethodsResource.d.ts +179 -2
  207. package/types/PaymentRecords.d.ts +141 -0
  208. package/types/Persons.d.ts +2 -0
  209. package/types/Prices.d.ts +22 -0
  210. package/types/PricesResource.d.ts +22 -0
  211. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  212. package/types/Privacy/RedactionJobs.d.ts +111 -0
  213. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  214. package/types/PromotionCodes.d.ts +5 -0
  215. package/types/PromotionCodesResource.d.ts +10 -0
  216. package/types/QuoteLines.d.ts +634 -0
  217. package/types/QuotePreviewInvoices.d.ts +1771 -0
  218. package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
  219. package/types/Quotes.d.ts +594 -1
  220. package/types/QuotesResource.d.ts +2588 -243
  221. package/types/Refunds.d.ts +14 -0
  222. package/types/SetupAttempts.d.ts +51 -1
  223. package/types/SetupIntents.d.ts +218 -2
  224. package/types/SetupIntentsResource.d.ts +954 -4
  225. package/types/Sources.d.ts +29 -0
  226. package/types/SubscriptionItems.d.ts +26 -0
  227. package/types/SubscriptionItemsResource.d.ts +109 -0
  228. package/types/SubscriptionSchedules.d.ts +205 -0
  229. package/types/SubscriptionSchedulesResource.d.ts +1233 -5
  230. package/types/Subscriptions.d.ts +262 -1
  231. package/types/SubscriptionsResource.d.ts +745 -8
  232. package/types/Tax/Forms.d.ts +220 -0
  233. package/types/Tax/FormsResource.d.ts +107 -0
  234. package/types/TaxIds.d.ts +10 -0
  235. package/types/TaxIdsResource.d.ts +10 -0
  236. package/types/Terminal/Configurations.d.ts +9 -0
  237. package/types/Terminal/ConfigurationsResource.d.ts +28 -0
  238. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  239. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  240. package/types/Terminal/Readers.d.ts +20 -0
  241. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  242. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  243. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  244. package/types/Transfers.d.ts +5 -0
  245. package/types/TransfersResource.d.ts +5 -0
  246. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  247. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  248. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  249. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  250. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  251. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  252. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  253. package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
  254. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
  255. package/types/V2/Billing/BillSettings.d.ts +120 -0
  256. package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
  257. package/types/V2/Billing/Cadences.d.ts +690 -0
  258. package/types/V2/Billing/CadencesResource.d.ts +487 -0
  259. package/types/V2/Billing/CollectionSettingVersions.d.ts +318 -0
  260. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
  261. package/types/V2/Billing/CollectionSettings.d.ts +341 -0
  262. package/types/V2/Billing/CollectionSettingsResource.d.ts +683 -0
  263. package/types/V2/Billing/Profiles.d.ts +70 -0
  264. package/types/V2/Billing/ProfilesResource.d.ts +150 -0
  265. package/types/V2/Core/AccountLinks.d.ts +168 -0
  266. package/types/V2/Core/AccountLinksResource.d.ts +152 -0
  267. package/types/V2/Core/AccountPersonTokens.d.ts +44 -0
  268. package/types/V2/Core/AccountPersons.d.ts +616 -0
  269. package/types/V2/Core/AccountTokens.d.ts +44 -0
  270. package/types/V2/Core/AccountTokensResource.d.ts +1042 -0
  271. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +509 -0
  272. package/types/V2/Core/Accounts/PersonsResource.d.ts +1165 -0
  273. package/types/V2/Core/Accounts.d.ts +6513 -0
  274. package/types/V2/Core/AccountsResource.d.ts +5322 -0
  275. package/types/V2/Core/EventTypes.d.ts +1541 -9
  276. package/types/V2/Core/Events.d.ts +9 -0
  277. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  278. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
  279. package/types/V2/Core/Vault/UsBankAccounts.d.ts +116 -0
  280. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
  281. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  282. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  283. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  284. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  285. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
  286. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
  287. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +175 -0
  288. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +109 -0
  289. package/types/V2/MoneyManagement/InboundTransfers.d.ts +212 -0
  290. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  291. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
  292. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  293. package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
  294. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  295. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  296. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  297. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
  298. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
  299. package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
  300. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
  301. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  302. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  303. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -0
  304. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  305. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
  306. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  307. package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
  308. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  309. package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
  310. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  311. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
  312. package/types/WebhookEndpointsResource.d.ts +76 -0
  313. package/types/apiVersion.d.ts +1 -2
  314. package/types/index.d.ts +147 -0
  315. package/types/lib.d.ts +10 -0
@@ -111,6 +111,8 @@ declare module 'stripe' {
111
111
 
112
112
  requirements?: Account.Requirements;
113
113
 
114
+ risk_controls?: Account.RiskControls;
115
+
114
116
  /**
115
117
  * Options for customizing how the account functions within Stripe.
116
118
  */
@@ -160,6 +162,11 @@ declare module 'stripe' {
160
162
  */
161
163
  product_description?: string | null;
162
164
 
165
+ /**
166
+ * A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
167
+ */
168
+ specified_commercial_transactions_act_url?: string | null;
169
+
163
170
  /**
164
171
  * A publicly available mailing address for sending support issues to.
165
172
  */
@@ -261,6 +268,11 @@ declare module 'stripe' {
261
268
  */
262
269
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
263
270
 
271
+ /**
272
+ * The status of the automatic_indirect_tax capability of the account.
273
+ */
274
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
275
+
264
276
  /**
265
277
  * The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
266
278
  */
@@ -336,11 +348,26 @@ declare module 'stripe' {
336
348
  */
337
349
  giropay_payments?: Capabilities.GiropayPayments;
338
350
 
351
+ /**
352
+ * The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
353
+ */
354
+ gopay_payments?: Capabilities.GopayPayments;
355
+
339
356
  /**
340
357
  * The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
341
358
  */
342
359
  grabpay_payments?: Capabilities.GrabpayPayments;
343
360
 
361
+ /**
362
+ * The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
363
+ */
364
+ id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
365
+
366
+ /**
367
+ * The status of Bank BCA onboarding of the account.
368
+ */
369
+ id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
370
+
344
371
  /**
345
372
  * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
346
373
  */
@@ -446,6 +473,21 @@ declare module 'stripe' {
446
473
  */
447
474
  paynow_payments?: Capabilities.PaynowPayments;
448
475
 
476
+ /**
477
+ * The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
478
+ */
479
+ paypal_payments?: Capabilities.PaypalPayments;
480
+
481
+ /**
482
+ * The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
483
+ */
484
+ paypay_payments?: Capabilities.PaypayPayments;
485
+
486
+ /**
487
+ * The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
488
+ */
489
+ payto_payments?: Capabilities.PaytoPayments;
490
+
449
491
  /**
450
492
  * The status of the pix payments capability of the account, or whether the account can directly process pix charges.
451
493
  */
@@ -456,6 +498,16 @@ declare module 'stripe' {
456
498
  */
457
499
  promptpay_payments?: Capabilities.PromptpayPayments;
458
500
 
501
+ /**
502
+ * The status of the Qris capability of the account, or whether the account can directly process Qris payments.
503
+ */
504
+ qris_payments?: Capabilities.QrisPayments;
505
+
506
+ /**
507
+ * The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
508
+ */
509
+ rechnung_payments?: Capabilities.RechnungPayments;
510
+
459
511
  /**
460
512
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
461
513
  */
@@ -481,11 +533,21 @@ declare module 'stripe' {
481
533
  */
482
534
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
483
535
 
536
+ /**
537
+ * The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
538
+ */
539
+ shopeepay_payments?: Capabilities.ShopeepayPayments;
540
+
484
541
  /**
485
542
  * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
486
543
  */
487
544
  sofort_payments?: Capabilities.SofortPayments;
488
545
 
546
+ /**
547
+ * The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
548
+ */
549
+ stripe_balance_payments?: Capabilities.StripeBalancePayments;
550
+
489
551
  /**
490
552
  * The status of the Swish capability of the account, or whether the account can directly process Swish payments.
491
553
  */
@@ -511,6 +573,21 @@ declare module 'stripe' {
511
573
  */
512
574
  treasury?: Capabilities.Treasury;
513
575
 
576
+ /**
577
+ * The status of the treasury_evolve capability of the account.
578
+ */
579
+ treasury_evolve?: Capabilities.TreasuryEvolve;
580
+
581
+ /**
582
+ * The status of the treasury_fifth_third capability of the account.
583
+ */
584
+ treasury_fifth_third?: Capabilities.TreasuryFifthThird;
585
+
586
+ /**
587
+ * The status of the treasury_goldman_sachs capability of the account.
588
+ */
589
+ treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
590
+
514
591
  /**
515
592
  * The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
516
593
  */
@@ -545,6 +622,8 @@ declare module 'stripe' {
545
622
 
546
623
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
547
624
 
625
+ type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
626
+
548
627
  type BacsDebitPayments = 'active' | 'inactive' | 'pending';
549
628
 
550
629
  type BancontactPayments = 'active' | 'inactive' | 'pending';
@@ -575,8 +654,14 @@ declare module 'stripe' {
575
654
 
576
655
  type GiropayPayments = 'active' | 'inactive' | 'pending';
577
656
 
657
+ type GopayPayments = 'active' | 'inactive' | 'pending';
658
+
578
659
  type GrabpayPayments = 'active' | 'inactive' | 'pending';
579
660
 
661
+ type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
662
+
663
+ type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
664
+
580
665
  type IdealPayments = 'active' | 'inactive' | 'pending';
581
666
 
582
667
  type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
@@ -619,10 +704,20 @@ declare module 'stripe' {
619
704
 
620
705
  type PaynowPayments = 'active' | 'inactive' | 'pending';
621
706
 
707
+ type PaypalPayments = 'active' | 'inactive' | 'pending';
708
+
709
+ type PaypayPayments = 'active' | 'inactive' | 'pending';
710
+
711
+ type PaytoPayments = 'active' | 'inactive' | 'pending';
712
+
622
713
  type PixPayments = 'active' | 'inactive' | 'pending';
623
714
 
624
715
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
625
716
 
717
+ type QrisPayments = 'active' | 'inactive' | 'pending';
718
+
719
+ type RechnungPayments = 'active' | 'inactive' | 'pending';
720
+
626
721
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
627
722
 
628
723
  type SamsungPayPayments = 'active' | 'inactive' | 'pending';
@@ -633,8 +728,12 @@ declare module 'stripe' {
633
728
 
634
729
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
635
730
 
731
+ type ShopeepayPayments = 'active' | 'inactive' | 'pending';
732
+
636
733
  type SofortPayments = 'active' | 'inactive' | 'pending';
637
734
 
735
+ type StripeBalancePayments = 'active' | 'inactive' | 'pending';
736
+
638
737
  type SwishPayments = 'active' | 'inactive' | 'pending';
639
738
 
640
739
  type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
@@ -645,6 +744,12 @@ declare module 'stripe' {
645
744
 
646
745
  type Treasury = 'active' | 'inactive' | 'pending';
647
746
 
747
+ type TreasuryEvolve = 'active' | 'inactive' | 'pending';
748
+
749
+ type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
750
+
751
+ type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
752
+
648
753
  type TwintPayments = 'active' | 'inactive' | 'pending';
649
754
 
650
755
  type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
@@ -962,6 +1067,10 @@ declare module 'stripe' {
962
1067
  }
963
1068
 
964
1069
  interface Controller {
1070
+ application?: Controller.Application;
1071
+
1072
+ dashboard?: Controller.Dashboard;
1073
+
965
1074
  fees?: Controller.Fees;
966
1075
 
967
1076
  /**
@@ -985,6 +1094,34 @@ declare module 'stripe' {
985
1094
  }
986
1095
 
987
1096
  namespace Controller {
1097
+ interface Application {
1098
+ /**
1099
+ * `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
1100
+ */
1101
+ loss_liable: boolean;
1102
+
1103
+ /**
1104
+ * `true` if the Connect application is responsible for onboarding the account.
1105
+ */
1106
+ onboarding_owner: boolean;
1107
+
1108
+ /**
1109
+ * `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
1110
+ */
1111
+ pricing_controls: boolean;
1112
+ }
1113
+
1114
+ interface Dashboard {
1115
+ /**
1116
+ * Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
1117
+ */
1118
+ type: Dashboard.Type;
1119
+ }
1120
+
1121
+ namespace Dashboard {
1122
+ type Type = 'express' | 'full' | 'none';
1123
+ }
1124
+
988
1125
  interface Fees {
989
1126
  /**
990
1127
  * A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
@@ -997,7 +1134,8 @@ declare module 'stripe' {
997
1134
  | 'account'
998
1135
  | 'application'
999
1136
  | 'application_custom'
1000
- | 'application_express';
1137
+ | 'application_express'
1138
+ | 'application_unified_accounts_beta';
1001
1139
  }
1002
1140
 
1003
1141
  interface Losses {
@@ -1162,6 +1300,7 @@ declare module 'stripe' {
1162
1300
  | 'invalid_url_website_other'
1163
1301
  | 'invalid_value_other'
1164
1302
  | 'unsupported_business_type'
1303
+ | 'verification_data_not_found'
1165
1304
  | 'verification_directors_mismatch'
1166
1305
  | 'verification_document_address_mismatch'
1167
1306
  | 'verification_document_address_missing'
@@ -1360,6 +1499,7 @@ declare module 'stripe' {
1360
1499
  | 'invalid_url_website_other'
1361
1500
  | 'invalid_value_other'
1362
1501
  | 'unsupported_business_type'
1502
+ | 'verification_data_not_found'
1363
1503
  | 'verification_directors_mismatch'
1364
1504
  | 'verification_document_address_mismatch'
1365
1505
  | 'verification_document_address_missing'
@@ -1416,11 +1556,52 @@ declare module 'stripe' {
1416
1556
  }
1417
1557
  }
1418
1558
 
1559
+ interface RiskControls {
1560
+ charges: RiskControls.Charges;
1561
+
1562
+ payouts: RiskControls.Payouts;
1563
+
1564
+ /**
1565
+ * Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
1566
+ */
1567
+ rejected_reason?: RiskControls.RejectedReason | null;
1568
+ }
1569
+
1570
+ namespace RiskControls {
1571
+ interface Charges {
1572
+ /**
1573
+ * Whether a pause of the risk control has been requested.
1574
+ */
1575
+ pause_requested: boolean;
1576
+ }
1577
+
1578
+ interface Payouts {
1579
+ /**
1580
+ * Whether a pause of the risk control has been requested.
1581
+ */
1582
+ pause_requested: boolean;
1583
+ }
1584
+
1585
+ type RejectedReason =
1586
+ | 'credit'
1587
+ | 'fraud'
1588
+ | 'fraud_no_intent_to_fulfill'
1589
+ | 'fraud_other'
1590
+ | 'fraud_payment_method_casher'
1591
+ | 'fraud_payment_method_tester'
1592
+ | 'other'
1593
+ | 'terms_of_service';
1594
+ }
1595
+
1419
1596
  interface Settings {
1420
1597
  bacs_debit_payments?: Settings.BacsDebitPayments;
1421
1598
 
1599
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
1600
+
1422
1601
  branding: Settings.Branding;
1423
1602
 
1603
+ capital?: Settings.Capital;
1604
+
1424
1605
  card_issuing?: Settings.CardIssuing;
1425
1606
 
1426
1607
  card_payments: Settings.CardPayments;
@@ -1433,8 +1614,12 @@ declare module 'stripe' {
1433
1614
 
1434
1615
  payouts?: Settings.Payouts;
1435
1616
 
1617
+ paypay_payments?: Settings.PaypayPayments;
1618
+
1436
1619
  sepa_debit_payments?: Settings.SepaDebitPayments;
1437
1620
 
1621
+ tax_forms?: Settings.TaxForms;
1622
+
1438
1623
  treasury?: Settings.Treasury;
1439
1624
  }
1440
1625
 
@@ -1451,6 +1636,18 @@ declare module 'stripe' {
1451
1636
  service_user_number: string | null;
1452
1637
  }
1453
1638
 
1639
+ interface BankBcaOnboarding {
1640
+ /**
1641
+ * Bank BCA business account holder name.
1642
+ */
1643
+ account_holder_name?: string;
1644
+
1645
+ /**
1646
+ * Bank BCA business account number.
1647
+ */
1648
+ business_account_number?: string;
1649
+ }
1650
+
1454
1651
  interface Branding {
1455
1652
  /**
1456
1653
  * (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.
@@ -1473,6 +1670,22 @@ declare module 'stripe' {
1473
1670
  secondary_color: string | null;
1474
1671
  }
1475
1672
 
1673
+ interface Capital {
1674
+ /**
1675
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1676
+ */
1677
+ payout_destination?: {
1678
+ [key: string]: string;
1679
+ };
1680
+
1681
+ /**
1682
+ * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1683
+ */
1684
+ payout_destination_selector?: {
1685
+ [key: string]: Array<string>;
1686
+ };
1687
+ }
1688
+
1476
1689
  interface CardIssuing {
1477
1690
  tos_acceptance?: CardIssuing.TosAcceptance;
1478
1691
  }
@@ -1641,6 +1854,17 @@ declare module 'stripe' {
1641
1854
  }
1642
1855
  }
1643
1856
 
1857
+ interface PaypayPayments {
1858
+ /**
1859
+ * Whether your business sells digital content or not.
1860
+ */
1861
+ goods_type?: PaypayPayments.GoodsType;
1862
+ }
1863
+
1864
+ namespace PaypayPayments {
1865
+ type GoodsType = 'digital_content' | 'other';
1866
+ }
1867
+
1644
1868
  interface SepaDebitPayments {
1645
1869
  /**
1646
1870
  * SEPA creditor identifier that identifies the company making the payment.
@@ -1648,6 +1872,13 @@ declare module 'stripe' {
1648
1872
  creditor_id?: string;
1649
1873
  }
1650
1874
 
1875
+ interface TaxForms {
1876
+ /**
1877
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1878
+ */
1879
+ consented_to_paperless_delivery: boolean;
1880
+ }
1881
+
1651
1882
  interface Treasury {
1652
1883
  tos_acceptance?: Treasury.TosAcceptance;
1653
1884
  }