stripe 19.1.0 → 19.2.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 (324) hide show
  1. package/CHANGELOG.md +1433 -18
  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/PaymentAttemptRecords.js +17 -0
  23. package/cjs/resources/PaymentIntents.js +13 -0
  24. package/cjs/resources/PaymentRecords.js +33 -0
  25. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  26. package/cjs/resources/Quotes.js +32 -0
  27. package/cjs/resources/SubscriptionSchedules.js +4 -0
  28. package/cjs/resources/Subscriptions.js +4 -0
  29. package/cjs/resources/Tax/Associations.js +9 -0
  30. package/cjs/resources/Tax/Forms.js +20 -0
  31. package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
  32. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  33. package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
  34. package/cjs/resources/V2/Billing/BillSettings.js +27 -0
  35. package/cjs/resources/V2/Billing/Cadences.js +23 -0
  36. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
  37. package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
  38. package/cjs/resources/V2/Billing/Profiles.js +19 -0
  39. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  40. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  41. package/cjs/resources/V2/Core/Accounts.js +25 -0
  42. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  43. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  44. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  45. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +25 -0
  46. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  47. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  48. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  49. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  50. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  51. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  52. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  53. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  54. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  55. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  56. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  57. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  58. package/cjs/resources/V2/Payments/OffSessionPayments.js +29 -0
  59. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  60. package/cjs/resources.js +110 -8
  61. package/cjs/stripe.core.js +1 -1
  62. package/esm/Error.js +100 -0
  63. package/esm/apiVersion.js +1 -2
  64. package/esm/resources/AccountNotices.js +18 -0
  65. package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
  66. package/esm/resources/Capital/FinancingOffers.js +18 -0
  67. package/esm/resources/Capital/FinancingSummary.js +9 -0
  68. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  69. package/esm/resources/ExternalAccounts.js +20 -0
  70. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  71. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  72. package/esm/resources/FxQuotes.js +12 -0
  73. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  74. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  75. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  76. package/esm/resources/Mandates.js +5 -0
  77. package/esm/resources/Margins.js +19 -0
  78. package/esm/resources/Orders.js +21 -0
  79. package/esm/resources/PaymentAttemptRecords.js +14 -0
  80. package/esm/resources/PaymentIntents.js +13 -0
  81. package/esm/resources/PaymentRecords.js +30 -0
  82. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  83. package/esm/resources/Quotes.js +32 -0
  84. package/esm/resources/SubscriptionSchedules.js +4 -0
  85. package/esm/resources/Subscriptions.js +4 -0
  86. package/esm/resources/Tax/Associations.js +6 -0
  87. package/esm/resources/Tax/Forms.js +17 -0
  88. package/esm/resources/Terminal/OnboardingLinks.js +9 -0
  89. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  90. package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
  91. package/esm/resources/V2/Billing/BillSettings.js +24 -0
  92. package/esm/resources/V2/Billing/Cadences.js +20 -0
  93. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
  94. package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
  95. package/esm/resources/V2/Billing/Profiles.js +16 -0
  96. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  97. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  98. package/esm/resources/V2/Core/Accounts.js +22 -0
  99. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  100. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  101. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  102. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +22 -0
  103. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  104. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  105. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  106. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  107. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  108. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  109. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  110. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  111. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  112. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  113. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  114. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  115. package/esm/resources/V2/Payments/OffSessionPayments.js +26 -0
  116. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  117. package/esm/resources.js +95 -0
  118. package/esm/stripe.core.js +1 -1
  119. package/package.json +1 -1
  120. package/types/AccountLinksResource.d.ts +5 -1
  121. package/types/AccountNotices.d.ts +113 -0
  122. package/types/AccountNoticesResource.d.ts +98 -0
  123. package/types/AccountSessions.d.ts +45 -0
  124. package/types/AccountSessionsResource.d.ts +264 -0
  125. package/types/Accounts.d.ts +212 -1
  126. package/types/AccountsResource.d.ts +544 -0
  127. package/types/Billing/AlertTriggereds.d.ts +1 -1
  128. package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
  129. package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
  130. package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
  131. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  132. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  133. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  134. package/types/Billing/CreditGrants.d.ts +5 -0
  135. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  136. package/types/BillingPortal/Sessions.d.ts +5 -0
  137. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  138. package/types/Capital/FinancingOffers.d.ts +188 -0
  139. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  140. package/types/Capital/FinancingSummary.d.ts +106 -0
  141. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  142. package/types/Capital/FinancingTransactions.d.ts +135 -0
  143. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  144. package/types/Cards.d.ts +5 -0
  145. package/types/CashBalances.d.ts +5 -0
  146. package/types/Charges.d.ts +171 -0
  147. package/types/ChargesResource.d.ts +1406 -0
  148. package/types/Checkout/Sessions.d.ts +369 -2
  149. package/types/Checkout/SessionsResource.d.ts +634 -2
  150. package/types/ConfirmationTokens.d.ts +125 -0
  151. package/types/Coupons.d.ts +33 -0
  152. package/types/CouponsResource.d.ts +21 -0
  153. package/types/CreditNoteLineItems.d.ts +17 -0
  154. package/types/CreditNotes.d.ts +5 -0
  155. package/types/CreditNotesResource.d.ts +5 -0
  156. package/types/CustomerBalanceTransactions.d.ts +2 -0
  157. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  158. package/types/CustomerSessions.d.ts +5 -0
  159. package/types/CustomerSessionsResource.d.ts +6 -1
  160. package/types/Customers.d.ts +2 -0
  161. package/types/CustomersResource.d.ts +8 -0
  162. package/types/Discounts.d.ts +10 -0
  163. package/types/Disputes.d.ts +40 -0
  164. package/types/DisputesResource.d.ts +11 -0
  165. package/types/Errors.d.ts +85 -0
  166. package/types/EventTypes.d.ts +664 -0
  167. package/types/Events.d.ts +97 -0
  168. package/types/ExternalAccountsResource.d.ts +304 -0
  169. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  170. package/types/FinancialConnections/Accounts.d.ts +36 -1
  171. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  172. package/types/FinancialConnections/Institutions.d.ts +98 -0
  173. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  174. package/types/FinancialConnections/Sessions.d.ts +51 -1
  175. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  176. package/types/FxQuotes.d.ts +155 -0
  177. package/types/FxQuotesResource.d.ts +130 -0
  178. package/types/Identity/VerificationSessions.d.ts +5 -0
  179. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  180. package/types/InvoiceItems.d.ts +10 -0
  181. package/types/InvoiceItemsResource.d.ts +117 -6
  182. package/types/InvoiceLineItems.d.ts +45 -1
  183. package/types/InvoicePayments.d.ts +5 -0
  184. package/types/InvoicePaymentsResource.d.ts +10 -1
  185. package/types/Invoices.d.ts +204 -4
  186. package/types/InvoicesResource.d.ts +1646 -21
  187. package/types/Issuing/CardholdersResource.d.ts +2 -1
  188. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  189. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  190. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  191. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  192. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  193. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  194. package/types/Issuing/Settlements.d.ts +113 -0
  195. package/types/Issuing/Transactions.d.ts +5 -0
  196. package/types/Issuing/TransactionsResource.d.ts +5 -0
  197. package/types/LineItems.d.ts +49 -0
  198. package/types/Mandates.d.ts +135 -1
  199. package/types/MandatesResource.d.ts +31 -0
  200. package/types/Margins.d.ts +56 -0
  201. package/types/MarginsResource.d.ts +114 -0
  202. package/types/Orders.d.ts +1163 -0
  203. package/types/OrdersResource.d.ts +3139 -0
  204. package/types/PaymentAttemptRecords.d.ts +2360 -0
  205. package/types/PaymentAttemptRecordsResource.d.ts +52 -0
  206. package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
  207. package/types/PaymentIntents.d.ts +825 -3
  208. package/types/PaymentIntentsResource.d.ts +11753 -5914
  209. package/types/PaymentLinks.d.ts +7 -0
  210. package/types/PaymentLinksResource.d.ts +14 -0
  211. package/types/PaymentMethodConfigurations.d.ts +216 -0
  212. package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
  213. package/types/PaymentMethods.d.ts +130 -0
  214. package/types/PaymentMethodsResource.d.ts +167 -2
  215. package/types/PaymentRecords.d.ts +2353 -0
  216. package/types/PaymentRecordsResource.d.ts +559 -0
  217. package/types/Prices.d.ts +22 -0
  218. package/types/PricesResource.d.ts +22 -0
  219. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  220. package/types/Privacy/RedactionJobs.d.ts +111 -0
  221. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  222. package/types/PromotionCodes.d.ts +5 -0
  223. package/types/PromotionCodesResource.d.ts +10 -0
  224. package/types/QuoteLines.d.ts +634 -0
  225. package/types/QuotePreviewInvoices.d.ts +1770 -0
  226. package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
  227. package/types/Quotes.d.ts +594 -1
  228. package/types/QuotesResource.d.ts +2588 -243
  229. package/types/Refunds.d.ts +14 -0
  230. package/types/SetupAttempts.d.ts +51 -1
  231. package/types/SetupIntents.d.ts +210 -2
  232. package/types/SetupIntentsResource.d.ts +938 -4
  233. package/types/Sources.d.ts +29 -0
  234. package/types/SubscriptionItems.d.ts +26 -0
  235. package/types/SubscriptionItemsResource.d.ts +109 -0
  236. package/types/SubscriptionSchedules.d.ts +205 -0
  237. package/types/SubscriptionSchedulesResource.d.ts +1233 -5
  238. package/types/Subscriptions.d.ts +263 -1
  239. package/types/SubscriptionsResource.d.ts +747 -8
  240. package/types/Tax/Associations.d.ts +82 -0
  241. package/types/Tax/AssociationsResource.d.ts +29 -0
  242. package/types/Tax/Forms.d.ts +220 -0
  243. package/types/Tax/FormsResource.d.ts +107 -0
  244. package/types/TaxIds.d.ts +10 -0
  245. package/types/TaxIdsResource.d.ts +10 -0
  246. package/types/Terminal/Configurations.d.ts +9 -0
  247. package/types/Terminal/ConfigurationsResource.d.ts +28 -0
  248. package/types/Terminal/OnboardingLinks.d.ts +57 -0
  249. package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
  250. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  251. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  252. package/types/Terminal/Readers.d.ts +20 -0
  253. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  254. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  255. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  256. package/types/Transfers.d.ts +5 -0
  257. package/types/TransfersResource.d.ts +5 -0
  258. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  259. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  260. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  261. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  262. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  263. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  264. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  265. package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
  266. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
  267. package/types/V2/Billing/BillSettings.d.ts +120 -0
  268. package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
  269. package/types/V2/Billing/Cadences.d.ts +686 -0
  270. package/types/V2/Billing/CadencesResource.d.ts +487 -0
  271. package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
  272. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
  273. package/types/V2/Billing/CollectionSettings.d.ts +337 -0
  274. package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
  275. package/types/V2/Billing/Profiles.d.ts +70 -0
  276. package/types/V2/Billing/ProfilesResource.d.ts +150 -0
  277. package/types/V2/Core/AccountLinks.d.ts +168 -0
  278. package/types/V2/Core/AccountLinksResource.d.ts +152 -0
  279. package/types/V2/Core/AccountPersons.d.ts +615 -0
  280. package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
  281. package/types/V2/Core/Accounts.d.ts +5919 -0
  282. package/types/V2/Core/AccountsResource.d.ts +4999 -0
  283. package/types/V2/Core/EventTypes.d.ts +1646 -9
  284. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  285. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  286. package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
  287. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  288. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  289. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  290. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  291. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  292. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
  293. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +147 -0
  294. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
  295. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +112 -0
  296. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  297. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  298. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
  299. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  300. package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
  301. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  302. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  303. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  304. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
  305. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
  306. package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
  307. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
  308. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  309. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  310. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -0
  311. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  312. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
  313. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  314. package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
  315. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  316. package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
  317. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  318. package/types/V2/Payments/OffSessionPayments.d.ts +326 -0
  319. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
  320. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
  321. package/types/WebhookEndpointsResource.d.ts +78 -0
  322. package/types/apiVersion.d.ts +1 -2
  323. package/types/index.d.ts +160 -0
  324. package/types/lib.d.ts +10 -0
@@ -34,6 +34,13 @@ declare module 'stripe' {
34
34
  */
35
35
  customer?: string;
36
36
 
37
+ /**
38
+ * ID of the Account this SetupIntent belongs to, if one exists.
39
+ *
40
+ * If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
41
+ */
42
+ customer_account?: string;
43
+
37
44
  /**
38
45
  * An arbitrary string attached to the object. Often useful for displaying to users.
39
46
  */
@@ -286,11 +293,21 @@ declare module 'stripe' {
286
293
  */
287
294
  giropay?: PaymentMethodData.Giropay;
288
295
 
296
+ /**
297
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
298
+ */
299
+ gopay?: PaymentMethodData.Gopay;
300
+
289
301
  /**
290
302
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
291
303
  */
292
304
  grabpay?: PaymentMethodData.Grabpay;
293
305
 
306
+ /**
307
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
308
+ */
309
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
310
+
294
311
  /**
295
312
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
296
313
  */
@@ -386,6 +403,16 @@ declare module 'stripe' {
386
403
  */
387
404
  paypal?: PaymentMethodData.Paypal;
388
405
 
406
+ /**
407
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
408
+ */
409
+ paypay?: PaymentMethodData.Paypay;
410
+
411
+ /**
412
+ * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
413
+ */
414
+ payto?: PaymentMethodData.Payto;
415
+
389
416
  /**
390
417
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
391
418
  */
@@ -396,11 +423,21 @@ declare module 'stripe' {
396
423
  */
397
424
  promptpay?: PaymentMethodData.Promptpay;
398
425
 
426
+ /**
427
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
428
+ */
429
+ qris?: PaymentMethodData.Qris;
430
+
399
431
  /**
400
432
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
401
433
  */
402
434
  radar_options?: PaymentMethodData.RadarOptions;
403
435
 
436
+ /**
437
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
438
+ */
439
+ rechnung?: PaymentMethodData.Rechnung;
440
+
404
441
  /**
405
442
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
406
443
  */
@@ -421,11 +458,21 @@ declare module 'stripe' {
421
458
  */
422
459
  sepa_debit?: PaymentMethodData.SepaDebit;
423
460
 
461
+ /**
462
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
463
+ */
464
+ shopeepay?: PaymentMethodData.Shopeepay;
465
+
424
466
  /**
425
467
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
426
468
  */
427
469
  sofort?: PaymentMethodData.Sofort;
428
470
 
471
+ /**
472
+ * This hash contains details about the Stripe balance payment method.
473
+ */
474
+ stripe_balance?: PaymentMethodData.StripeBalance;
475
+
429
476
  /**
430
477
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
431
478
  */
@@ -638,8 +685,21 @@ declare module 'stripe' {
638
685
 
639
686
  interface Giropay {}
640
687
 
688
+ interface Gopay {}
689
+
641
690
  interface Grabpay {}
642
691
 
692
+ interface IdBankTransfer {
693
+ /**
694
+ * Bank where the account is held.
695
+ */
696
+ bank?: IdBankTransfer.Bank;
697
+ }
698
+
699
+ namespace IdBankTransfer {
700
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
701
+ }
702
+
643
703
  interface Ideal {
644
704
  /**
645
705
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -797,10 +857,31 @@ declare module 'stripe' {
797
857
 
798
858
  interface Paypal {}
799
859
 
860
+ interface Paypay {}
861
+
862
+ interface Payto {
863
+ /**
864
+ * The account number for the bank account.
865
+ */
866
+ account_number?: string;
867
+
868
+ /**
869
+ * Bank-State-Branch number of the bank account.
870
+ */
871
+ bsb_number?: string;
872
+
873
+ /**
874
+ * The PayID alias for the bank account.
875
+ */
876
+ pay_id?: string;
877
+ }
878
+
800
879
  interface Pix {}
801
880
 
802
881
  interface Promptpay {}
803
882
 
883
+ interface Qris {}
884
+
804
885
  interface RadarOptions {
805
886
  /**
806
887
  * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -808,6 +889,32 @@ declare module 'stripe' {
808
889
  session?: string;
809
890
  }
810
891
 
892
+ interface Rechnung {
893
+ /**
894
+ * Customer's date of birth
895
+ */
896
+ dob: Rechnung.Dob;
897
+ }
898
+
899
+ namespace Rechnung {
900
+ interface Dob {
901
+ /**
902
+ * The day of birth, between 1 and 31.
903
+ */
904
+ day: number;
905
+
906
+ /**
907
+ * The month of birth, between 1 and 12.
908
+ */
909
+ month: number;
910
+
911
+ /**
912
+ * The four-digit year of birth.
913
+ */
914
+ year: number;
915
+ }
916
+ }
917
+
811
918
  interface RevolutPay {}
812
919
 
813
920
  interface SamsungPay {}
@@ -821,6 +928,8 @@ declare module 'stripe' {
821
928
  iban: string;
822
929
  }
823
930
 
931
+ interface Shopeepay {}
932
+
824
933
  interface Sofort {
825
934
  /**
826
935
  * Two-letter ISO code representing the country the bank account is located in.
@@ -832,6 +941,22 @@ declare module 'stripe' {
832
941
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
833
942
  }
834
943
 
944
+ interface StripeBalance {
945
+ /**
946
+ * The connected account ID whose Stripe balance to use as the source of payment
947
+ */
948
+ account?: string;
949
+
950
+ /**
951
+ * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
952
+ */
953
+ source_type?: StripeBalance.SourceType;
954
+ }
955
+
956
+ namespace StripeBalance {
957
+ type SourceType = 'bank_account' | 'card' | 'fpx';
958
+ }
959
+
835
960
  interface Swish {}
836
961
 
837
962
  interface Twint {}
@@ -855,7 +980,9 @@ declare module 'stripe' {
855
980
  | 'eps'
856
981
  | 'fpx'
857
982
  | 'giropay'
983
+ | 'gopay'
858
984
  | 'grabpay'
985
+ | 'id_bank_transfer'
859
986
  | 'ideal'
860
987
  | 'kakao_pay'
861
988
  | 'klarna'
@@ -873,13 +1000,19 @@ declare module 'stripe' {
873
1000
  | 'payco'
874
1001
  | 'paynow'
875
1002
  | 'paypal'
1003
+ | 'paypay'
1004
+ | 'payto'
876
1005
  | 'pix'
877
1006
  | 'promptpay'
1007
+ | 'qris'
1008
+ | 'rechnung'
878
1009
  | 'revolut_pay'
879
1010
  | 'samsung_pay'
880
1011
  | 'satispay'
881
1012
  | 'sepa_debit'
1013
+ | 'shopeepay'
882
1014
  | 'sofort'
1015
+ | 'stripe_balance'
883
1016
  | 'swish'
884
1017
  | 'twint'
885
1018
  | 'us_bank_account'
@@ -965,6 +1098,16 @@ declare module 'stripe' {
965
1098
  */
966
1099
  paypal?: PaymentMethodOptions.Paypal;
967
1100
 
1101
+ /**
1102
+ * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1103
+ */
1104
+ payto?: PaymentMethodOptions.Payto;
1105
+
1106
+ /**
1107
+ * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
1108
+ */
1109
+ pix?: PaymentMethodOptions.Pix;
1110
+
968
1111
  /**
969
1112
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
970
1113
  */
@@ -1412,6 +1555,150 @@ declare module 'stripe' {
1412
1555
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1413
1556
  */
1414
1557
  billing_agreement_id?: string;
1558
+
1559
+ currency?: string;
1560
+
1561
+ /**
1562
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1563
+ */
1564
+ subsellers?: Array<string>;
1565
+ }
1566
+
1567
+ interface Payto {
1568
+ /**
1569
+ * Additional fields for Mandate creation.
1570
+ */
1571
+ mandate_options?: Payto.MandateOptions;
1572
+ }
1573
+
1574
+ namespace Payto {
1575
+ interface MandateOptions {
1576
+ /**
1577
+ * Amount that will be collected. It is required when `amount_type` is `fixed`.
1578
+ */
1579
+ amount?: number;
1580
+
1581
+ /**
1582
+ * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1583
+ */
1584
+ amount_type?: MandateOptions.AmountType;
1585
+
1586
+ /**
1587
+ * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1588
+ */
1589
+ end_date?: string;
1590
+
1591
+ /**
1592
+ * The periodicity at which payments will be collected.
1593
+ */
1594
+ payment_schedule?: MandateOptions.PaymentSchedule;
1595
+
1596
+ /**
1597
+ * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1598
+ */
1599
+ payments_per_period?: number;
1600
+
1601
+ /**
1602
+ * The purpose for which payments are made. Defaults to retail.
1603
+ */
1604
+ purpose?: MandateOptions.Purpose;
1605
+
1606
+ /**
1607
+ * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1608
+ */
1609
+ start_date?: string;
1610
+ }
1611
+
1612
+ namespace MandateOptions {
1613
+ type AmountType = 'fixed' | 'maximum';
1614
+
1615
+ type PaymentSchedule =
1616
+ | 'adhoc'
1617
+ | 'annual'
1618
+ | 'daily'
1619
+ | 'fortnightly'
1620
+ | 'monthly'
1621
+ | 'quarterly'
1622
+ | 'semi_annual'
1623
+ | 'weekly';
1624
+
1625
+ type Purpose =
1626
+ | 'dependant_support'
1627
+ | 'government'
1628
+ | 'loan'
1629
+ | 'mortgage'
1630
+ | 'other'
1631
+ | 'pension'
1632
+ | 'personal'
1633
+ | 'retail'
1634
+ | 'salary'
1635
+ | 'tax'
1636
+ | 'utility';
1637
+ }
1638
+ }
1639
+
1640
+ interface Pix {
1641
+ /**
1642
+ * Additional fields for mandate creation.
1643
+ */
1644
+ mandate_options?: Pix.MandateOptions;
1645
+ }
1646
+
1647
+ namespace Pix {
1648
+ interface MandateOptions {
1649
+ /**
1650
+ * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
1651
+ */
1652
+ amount?: number;
1653
+
1654
+ /**
1655
+ * Determines if the amount includes the IOF tax. Defaults to `never`.
1656
+ */
1657
+ amount_includes_iof?: MandateOptions.AmountIncludesIof;
1658
+
1659
+ /**
1660
+ * Type of amount. Defaults to `maximum`.
1661
+ */
1662
+ amount_type?: MandateOptions.AmountType;
1663
+
1664
+ /**
1665
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
1666
+ */
1667
+ currency?: string;
1668
+
1669
+ /**
1670
+ * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
1671
+ */
1672
+ end_date?: string;
1673
+
1674
+ /**
1675
+ * Schedule at which the future payments will be charged. Defaults to `weekly`.
1676
+ */
1677
+ payment_schedule?: MandateOptions.PaymentSchedule;
1678
+
1679
+ /**
1680
+ * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
1681
+ */
1682
+ reference?: string;
1683
+
1684
+ /**
1685
+ * Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
1686
+ */
1687
+ start_date?: string;
1688
+ }
1689
+
1690
+ namespace MandateOptions {
1691
+ type AmountIncludesIof = 'always' | 'never';
1692
+
1693
+ type AmountType = 'fixed' | 'maximum';
1694
+
1695
+ type PaymentSchedule =
1696
+ | 'halfyearly'
1697
+ | 'monthly'
1698
+ | 'quarterly'
1699
+ | 'weekly'
1700
+ | 'yearly';
1701
+ }
1415
1702
  }
1416
1703
 
1417
1704
  interface SepaDebit {
@@ -1459,6 +1746,11 @@ declare module 'stripe' {
1459
1746
  */
1460
1747
  filters?: FinancialConnections.Filters;
1461
1748
 
1749
+ /**
1750
+ * Customize manual entry behavior
1751
+ */
1752
+ manual_entry?: FinancialConnections.ManualEntry;
1753
+
1462
1754
  /**
1463
1755
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
1464
1756
  */
@@ -1481,19 +1773,39 @@ declare module 'stripe' {
1481
1773
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1482
1774
  */
1483
1775
  account_subcategories?: Array<Filters.AccountSubcategory>;
1776
+
1777
+ /**
1778
+ * ID of the institution to use to filter for selectable accounts.
1779
+ */
1780
+ institution?: string;
1484
1781
  }
1485
1782
 
1486
1783
  namespace Filters {
1487
1784
  type AccountSubcategory = 'checking' | 'savings';
1488
1785
  }
1489
1786
 
1787
+ interface ManualEntry {
1788
+ /**
1789
+ * Settings for configuring manual entry of account details.
1790
+ */
1791
+ mode: ManualEntry.Mode;
1792
+ }
1793
+
1794
+ namespace ManualEntry {
1795
+ type Mode = 'automatic' | 'custom';
1796
+ }
1797
+
1490
1798
  type Permission =
1491
1799
  | 'balances'
1492
1800
  | 'ownership'
1493
1801
  | 'payment_method'
1494
1802
  | 'transactions';
1495
1803
 
1496
- type Prefetch = 'balances' | 'ownership' | 'transactions';
1804
+ type Prefetch =
1805
+ | 'balances'
1806
+ | 'inferred_balances'
1807
+ | 'ownership'
1808
+ | 'transactions';
1497
1809
  }
1498
1810
 
1499
1811
  interface MandateOptions {
@@ -1560,6 +1872,13 @@ declare module 'stripe' {
1560
1872
  */
1561
1873
  customer?: string;
1562
1874
 
1875
+ /**
1876
+ * ID of the Account this SetupIntent belongs to, if one exists.
1877
+ *
1878
+ * If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
1879
+ */
1880
+ customer_account?: string;
1881
+
1563
1882
  /**
1564
1883
  * An arbitrary string attached to the object. Often useful for displaying to users.
1565
1884
  */
@@ -1713,11 +2032,21 @@ declare module 'stripe' {
1713
2032
  */
1714
2033
  giropay?: PaymentMethodData.Giropay;
1715
2034
 
2035
+ /**
2036
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2037
+ */
2038
+ gopay?: PaymentMethodData.Gopay;
2039
+
1716
2040
  /**
1717
2041
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1718
2042
  */
1719
2043
  grabpay?: PaymentMethodData.Grabpay;
1720
2044
 
2045
+ /**
2046
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2047
+ */
2048
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
2049
+
1721
2050
  /**
1722
2051
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1723
2052
  */
@@ -1813,6 +2142,16 @@ declare module 'stripe' {
1813
2142
  */
1814
2143
  paypal?: PaymentMethodData.Paypal;
1815
2144
 
2145
+ /**
2146
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2147
+ */
2148
+ paypay?: PaymentMethodData.Paypay;
2149
+
2150
+ /**
2151
+ * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2152
+ */
2153
+ payto?: PaymentMethodData.Payto;
2154
+
1816
2155
  /**
1817
2156
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1818
2157
  */
@@ -1823,11 +2162,21 @@ declare module 'stripe' {
1823
2162
  */
1824
2163
  promptpay?: PaymentMethodData.Promptpay;
1825
2164
 
2165
+ /**
2166
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2167
+ */
2168
+ qris?: PaymentMethodData.Qris;
2169
+
1826
2170
  /**
1827
2171
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1828
2172
  */
1829
2173
  radar_options?: PaymentMethodData.RadarOptions;
1830
2174
 
2175
+ /**
2176
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2177
+ */
2178
+ rechnung?: PaymentMethodData.Rechnung;
2179
+
1831
2180
  /**
1832
2181
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1833
2182
  */
@@ -1848,11 +2197,21 @@ declare module 'stripe' {
1848
2197
  */
1849
2198
  sepa_debit?: PaymentMethodData.SepaDebit;
1850
2199
 
2200
+ /**
2201
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2202
+ */
2203
+ shopeepay?: PaymentMethodData.Shopeepay;
2204
+
1851
2205
  /**
1852
2206
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1853
2207
  */
1854
2208
  sofort?: PaymentMethodData.Sofort;
1855
2209
 
2210
+ /**
2211
+ * This hash contains details about the Stripe balance payment method.
2212
+ */
2213
+ stripe_balance?: PaymentMethodData.StripeBalance;
2214
+
1856
2215
  /**
1857
2216
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1858
2217
  */
@@ -2065,8 +2424,21 @@ declare module 'stripe' {
2065
2424
 
2066
2425
  interface Giropay {}
2067
2426
 
2427
+ interface Gopay {}
2428
+
2068
2429
  interface Grabpay {}
2069
2430
 
2431
+ interface IdBankTransfer {
2432
+ /**
2433
+ * Bank where the account is held.
2434
+ */
2435
+ bank?: IdBankTransfer.Bank;
2436
+ }
2437
+
2438
+ namespace IdBankTransfer {
2439
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
2440
+ }
2441
+
2070
2442
  interface Ideal {
2071
2443
  /**
2072
2444
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2224,10 +2596,31 @@ declare module 'stripe' {
2224
2596
 
2225
2597
  interface Paypal {}
2226
2598
 
2599
+ interface Paypay {}
2600
+
2601
+ interface Payto {
2602
+ /**
2603
+ * The account number for the bank account.
2604
+ */
2605
+ account_number?: string;
2606
+
2607
+ /**
2608
+ * Bank-State-Branch number of the bank account.
2609
+ */
2610
+ bsb_number?: string;
2611
+
2612
+ /**
2613
+ * The PayID alias for the bank account.
2614
+ */
2615
+ pay_id?: string;
2616
+ }
2617
+
2227
2618
  interface Pix {}
2228
2619
 
2229
2620
  interface Promptpay {}
2230
2621
 
2622
+ interface Qris {}
2623
+
2231
2624
  interface RadarOptions {
2232
2625
  /**
2233
2626
  * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -2235,6 +2628,32 @@ declare module 'stripe' {
2235
2628
  session?: string;
2236
2629
  }
2237
2630
 
2631
+ interface Rechnung {
2632
+ /**
2633
+ * Customer's date of birth
2634
+ */
2635
+ dob: Rechnung.Dob;
2636
+ }
2637
+
2638
+ namespace Rechnung {
2639
+ interface Dob {
2640
+ /**
2641
+ * The day of birth, between 1 and 31.
2642
+ */
2643
+ day: number;
2644
+
2645
+ /**
2646
+ * The month of birth, between 1 and 12.
2647
+ */
2648
+ month: number;
2649
+
2650
+ /**
2651
+ * The four-digit year of birth.
2652
+ */
2653
+ year: number;
2654
+ }
2655
+ }
2656
+
2238
2657
  interface RevolutPay {}
2239
2658
 
2240
2659
  interface SamsungPay {}
@@ -2248,6 +2667,8 @@ declare module 'stripe' {
2248
2667
  iban: string;
2249
2668
  }
2250
2669
 
2670
+ interface Shopeepay {}
2671
+
2251
2672
  interface Sofort {
2252
2673
  /**
2253
2674
  * Two-letter ISO code representing the country the bank account is located in.
@@ -2259,7 +2680,23 @@ declare module 'stripe' {
2259
2680
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
2260
2681
  }
2261
2682
 
2262
- interface Swish {}
2683
+ interface StripeBalance {
2684
+ /**
2685
+ * The connected account ID whose Stripe balance to use as the source of payment
2686
+ */
2687
+ account?: string;
2688
+
2689
+ /**
2690
+ * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2691
+ */
2692
+ source_type?: StripeBalance.SourceType;
2693
+ }
2694
+
2695
+ namespace StripeBalance {
2696
+ type SourceType = 'bank_account' | 'card' | 'fpx';
2697
+ }
2698
+
2699
+ interface Swish {}
2263
2700
 
2264
2701
  interface Twint {}
2265
2702
 
@@ -2282,7 +2719,9 @@ declare module 'stripe' {
2282
2719
  | 'eps'
2283
2720
  | 'fpx'
2284
2721
  | 'giropay'
2722
+ | 'gopay'
2285
2723
  | 'grabpay'
2724
+ | 'id_bank_transfer'
2286
2725
  | 'ideal'
2287
2726
  | 'kakao_pay'
2288
2727
  | 'klarna'
@@ -2300,13 +2739,19 @@ declare module 'stripe' {
2300
2739
  | 'payco'
2301
2740
  | 'paynow'
2302
2741
  | 'paypal'
2742
+ | 'paypay'
2743
+ | 'payto'
2303
2744
  | 'pix'
2304
2745
  | 'promptpay'
2746
+ | 'qris'
2747
+ | 'rechnung'
2305
2748
  | 'revolut_pay'
2306
2749
  | 'samsung_pay'
2307
2750
  | 'satispay'
2308
2751
  | 'sepa_debit'
2752
+ | 'shopeepay'
2309
2753
  | 'sofort'
2754
+ | 'stripe_balance'
2310
2755
  | 'swish'
2311
2756
  | 'twint'
2312
2757
  | 'us_bank_account'
@@ -2392,6 +2837,16 @@ declare module 'stripe' {
2392
2837
  */
2393
2838
  paypal?: PaymentMethodOptions.Paypal;
2394
2839
 
2840
+ /**
2841
+ * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2842
+ */
2843
+ payto?: PaymentMethodOptions.Payto;
2844
+
2845
+ /**
2846
+ * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
2847
+ */
2848
+ pix?: PaymentMethodOptions.Pix;
2849
+
2395
2850
  /**
2396
2851
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2397
2852
  */
@@ -2839,6 +3294,150 @@ declare module 'stripe' {
2839
3294
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2840
3295
  */
2841
3296
  billing_agreement_id?: string;
3297
+
3298
+ currency?: string;
3299
+
3300
+ /**
3301
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3302
+ */
3303
+ subsellers?: Array<string>;
3304
+ }
3305
+
3306
+ interface Payto {
3307
+ /**
3308
+ * Additional fields for Mandate creation.
3309
+ */
3310
+ mandate_options?: Payto.MandateOptions;
3311
+ }
3312
+
3313
+ namespace Payto {
3314
+ interface MandateOptions {
3315
+ /**
3316
+ * Amount that will be collected. It is required when `amount_type` is `fixed`.
3317
+ */
3318
+ amount?: number;
3319
+
3320
+ /**
3321
+ * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
3322
+ */
3323
+ amount_type?: MandateOptions.AmountType;
3324
+
3325
+ /**
3326
+ * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3327
+ */
3328
+ end_date?: string;
3329
+
3330
+ /**
3331
+ * The periodicity at which payments will be collected.
3332
+ */
3333
+ payment_schedule?: MandateOptions.PaymentSchedule;
3334
+
3335
+ /**
3336
+ * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
3337
+ */
3338
+ payments_per_period?: number;
3339
+
3340
+ /**
3341
+ * The purpose for which payments are made. Defaults to retail.
3342
+ */
3343
+ purpose?: MandateOptions.Purpose;
3344
+
3345
+ /**
3346
+ * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3347
+ */
3348
+ start_date?: string;
3349
+ }
3350
+
3351
+ namespace MandateOptions {
3352
+ type AmountType = 'fixed' | 'maximum';
3353
+
3354
+ type PaymentSchedule =
3355
+ | 'adhoc'
3356
+ | 'annual'
3357
+ | 'daily'
3358
+ | 'fortnightly'
3359
+ | 'monthly'
3360
+ | 'quarterly'
3361
+ | 'semi_annual'
3362
+ | 'weekly';
3363
+
3364
+ type Purpose =
3365
+ | 'dependant_support'
3366
+ | 'government'
3367
+ | 'loan'
3368
+ | 'mortgage'
3369
+ | 'other'
3370
+ | 'pension'
3371
+ | 'personal'
3372
+ | 'retail'
3373
+ | 'salary'
3374
+ | 'tax'
3375
+ | 'utility';
3376
+ }
3377
+ }
3378
+
3379
+ interface Pix {
3380
+ /**
3381
+ * Additional fields for mandate creation.
3382
+ */
3383
+ mandate_options?: Pix.MandateOptions;
3384
+ }
3385
+
3386
+ namespace Pix {
3387
+ interface MandateOptions {
3388
+ /**
3389
+ * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
3390
+ */
3391
+ amount?: number;
3392
+
3393
+ /**
3394
+ * Determines if the amount includes the IOF tax. Defaults to `never`.
3395
+ */
3396
+ amount_includes_iof?: MandateOptions.AmountIncludesIof;
3397
+
3398
+ /**
3399
+ * Type of amount. Defaults to `maximum`.
3400
+ */
3401
+ amount_type?: MandateOptions.AmountType;
3402
+
3403
+ /**
3404
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
3405
+ */
3406
+ currency?: string;
3407
+
3408
+ /**
3409
+ * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
3410
+ */
3411
+ end_date?: string;
3412
+
3413
+ /**
3414
+ * Schedule at which the future payments will be charged. Defaults to `weekly`.
3415
+ */
3416
+ payment_schedule?: MandateOptions.PaymentSchedule;
3417
+
3418
+ /**
3419
+ * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
3420
+ */
3421
+ reference?: string;
3422
+
3423
+ /**
3424
+ * Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
3425
+ */
3426
+ start_date?: string;
3427
+ }
3428
+
3429
+ namespace MandateOptions {
3430
+ type AmountIncludesIof = 'always' | 'never';
3431
+
3432
+ type AmountType = 'fixed' | 'maximum';
3433
+
3434
+ type PaymentSchedule =
3435
+ | 'halfyearly'
3436
+ | 'monthly'
3437
+ | 'quarterly'
3438
+ | 'weekly'
3439
+ | 'yearly';
3440
+ }
2842
3441
  }
2843
3442
 
2844
3443
  interface SepaDebit {
@@ -2886,6 +3485,11 @@ declare module 'stripe' {
2886
3485
  */
2887
3486
  filters?: FinancialConnections.Filters;
2888
3487
 
3488
+ /**
3489
+ * Customize manual entry behavior
3490
+ */
3491
+ manual_entry?: FinancialConnections.ManualEntry;
3492
+
2889
3493
  /**
2890
3494
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2891
3495
  */
@@ -2908,19 +3512,39 @@ declare module 'stripe' {
2908
3512
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2909
3513
  */
2910
3514
  account_subcategories?: Array<Filters.AccountSubcategory>;
3515
+
3516
+ /**
3517
+ * ID of the institution to use to filter for selectable accounts.
3518
+ */
3519
+ institution?: string;
2911
3520
  }
2912
3521
 
2913
3522
  namespace Filters {
2914
3523
  type AccountSubcategory = 'checking' | 'savings';
2915
3524
  }
2916
3525
 
3526
+ interface ManualEntry {
3527
+ /**
3528
+ * Settings for configuring manual entry of account details.
3529
+ */
3530
+ mode: ManualEntry.Mode;
3531
+ }
3532
+
3533
+ namespace ManualEntry {
3534
+ type Mode = 'automatic' | 'custom';
3535
+ }
3536
+
2917
3537
  type Permission =
2918
3538
  | 'balances'
2919
3539
  | 'ownership'
2920
3540
  | 'payment_method'
2921
3541
  | 'transactions';
2922
3542
 
2923
- type Prefetch = 'balances' | 'ownership' | 'transactions';
3543
+ type Prefetch =
3544
+ | 'balances'
3545
+ | 'inferred_balances'
3546
+ | 'ownership'
3547
+ | 'transactions';
2924
3548
  }
2925
3549
 
2926
3550
  interface MandateOptions {
@@ -2964,6 +3588,11 @@ declare module 'stripe' {
2964
3588
  */
2965
3589
  customer?: string;
2966
3590
 
3591
+ /**
3592
+ * Only return SetupIntents for the account specified by this customer ID.
3593
+ */
3594
+ customer_account?: string;
3595
+
2967
3596
  /**
2968
3597
  * Specifies which fields in the response should be expanded.
2969
3598
  */
@@ -3189,11 +3818,21 @@ declare module 'stripe' {
3189
3818
  */
3190
3819
  giropay?: PaymentMethodData.Giropay;
3191
3820
 
3821
+ /**
3822
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3823
+ */
3824
+ gopay?: PaymentMethodData.Gopay;
3825
+
3192
3826
  /**
3193
3827
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3194
3828
  */
3195
3829
  grabpay?: PaymentMethodData.Grabpay;
3196
3830
 
3831
+ /**
3832
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3833
+ */
3834
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
3835
+
3197
3836
  /**
3198
3837
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3199
3838
  */
@@ -3289,6 +3928,16 @@ declare module 'stripe' {
3289
3928
  */
3290
3929
  paypal?: PaymentMethodData.Paypal;
3291
3930
 
3931
+ /**
3932
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
3933
+ */
3934
+ paypay?: PaymentMethodData.Paypay;
3935
+
3936
+ /**
3937
+ * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3938
+ */
3939
+ payto?: PaymentMethodData.Payto;
3940
+
3292
3941
  /**
3293
3942
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3294
3943
  */
@@ -3299,11 +3948,21 @@ declare module 'stripe' {
3299
3948
  */
3300
3949
  promptpay?: PaymentMethodData.Promptpay;
3301
3950
 
3951
+ /**
3952
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3953
+ */
3954
+ qris?: PaymentMethodData.Qris;
3955
+
3302
3956
  /**
3303
3957
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3304
3958
  */
3305
3959
  radar_options?: PaymentMethodData.RadarOptions;
3306
3960
 
3961
+ /**
3962
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3963
+ */
3964
+ rechnung?: PaymentMethodData.Rechnung;
3965
+
3307
3966
  /**
3308
3967
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3309
3968
  */
@@ -3324,11 +3983,21 @@ declare module 'stripe' {
3324
3983
  */
3325
3984
  sepa_debit?: PaymentMethodData.SepaDebit;
3326
3985
 
3986
+ /**
3987
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3988
+ */
3989
+ shopeepay?: PaymentMethodData.Shopeepay;
3990
+
3327
3991
  /**
3328
3992
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3329
3993
  */
3330
3994
  sofort?: PaymentMethodData.Sofort;
3331
3995
 
3996
+ /**
3997
+ * This hash contains details about the Stripe balance payment method.
3998
+ */
3999
+ stripe_balance?: PaymentMethodData.StripeBalance;
4000
+
3332
4001
  /**
3333
4002
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3334
4003
  */
@@ -3541,8 +4210,21 @@ declare module 'stripe' {
3541
4210
 
3542
4211
  interface Giropay {}
3543
4212
 
4213
+ interface Gopay {}
4214
+
3544
4215
  interface Grabpay {}
3545
4216
 
4217
+ interface IdBankTransfer {
4218
+ /**
4219
+ * Bank where the account is held.
4220
+ */
4221
+ bank?: IdBankTransfer.Bank;
4222
+ }
4223
+
4224
+ namespace IdBankTransfer {
4225
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
4226
+ }
4227
+
3546
4228
  interface Ideal {
3547
4229
  /**
3548
4230
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -3700,10 +4382,31 @@ declare module 'stripe' {
3700
4382
 
3701
4383
  interface Paypal {}
3702
4384
 
4385
+ interface Paypay {}
4386
+
4387
+ interface Payto {
4388
+ /**
4389
+ * The account number for the bank account.
4390
+ */
4391
+ account_number?: string;
4392
+
4393
+ /**
4394
+ * Bank-State-Branch number of the bank account.
4395
+ */
4396
+ bsb_number?: string;
4397
+
4398
+ /**
4399
+ * The PayID alias for the bank account.
4400
+ */
4401
+ pay_id?: string;
4402
+ }
4403
+
3703
4404
  interface Pix {}
3704
4405
 
3705
4406
  interface Promptpay {}
3706
4407
 
4408
+ interface Qris {}
4409
+
3707
4410
  interface RadarOptions {
3708
4411
  /**
3709
4412
  * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -3711,6 +4414,32 @@ declare module 'stripe' {
3711
4414
  session?: string;
3712
4415
  }
3713
4416
 
4417
+ interface Rechnung {
4418
+ /**
4419
+ * Customer's date of birth
4420
+ */
4421
+ dob: Rechnung.Dob;
4422
+ }
4423
+
4424
+ namespace Rechnung {
4425
+ interface Dob {
4426
+ /**
4427
+ * The day of birth, between 1 and 31.
4428
+ */
4429
+ day: number;
4430
+
4431
+ /**
4432
+ * The month of birth, between 1 and 12.
4433
+ */
4434
+ month: number;
4435
+
4436
+ /**
4437
+ * The four-digit year of birth.
4438
+ */
4439
+ year: number;
4440
+ }
4441
+ }
4442
+
3714
4443
  interface RevolutPay {}
3715
4444
 
3716
4445
  interface SamsungPay {}
@@ -3724,6 +4453,8 @@ declare module 'stripe' {
3724
4453
  iban: string;
3725
4454
  }
3726
4455
 
4456
+ interface Shopeepay {}
4457
+
3727
4458
  interface Sofort {
3728
4459
  /**
3729
4460
  * Two-letter ISO code representing the country the bank account is located in.
@@ -3735,6 +4466,22 @@ declare module 'stripe' {
3735
4466
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
3736
4467
  }
3737
4468
 
4469
+ interface StripeBalance {
4470
+ /**
4471
+ * The connected account ID whose Stripe balance to use as the source of payment
4472
+ */
4473
+ account?: string;
4474
+
4475
+ /**
4476
+ * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
4477
+ */
4478
+ source_type?: StripeBalance.SourceType;
4479
+ }
4480
+
4481
+ namespace StripeBalance {
4482
+ type SourceType = 'bank_account' | 'card' | 'fpx';
4483
+ }
4484
+
3738
4485
  interface Swish {}
3739
4486
 
3740
4487
  interface Twint {}
@@ -3758,7 +4505,9 @@ declare module 'stripe' {
3758
4505
  | 'eps'
3759
4506
  | 'fpx'
3760
4507
  | 'giropay'
4508
+ | 'gopay'
3761
4509
  | 'grabpay'
4510
+ | 'id_bank_transfer'
3762
4511
  | 'ideal'
3763
4512
  | 'kakao_pay'
3764
4513
  | 'klarna'
@@ -3776,13 +4525,19 @@ declare module 'stripe' {
3776
4525
  | 'payco'
3777
4526
  | 'paynow'
3778
4527
  | 'paypal'
4528
+ | 'paypay'
4529
+ | 'payto'
3779
4530
  | 'pix'
3780
4531
  | 'promptpay'
4532
+ | 'qris'
4533
+ | 'rechnung'
3781
4534
  | 'revolut_pay'
3782
4535
  | 'samsung_pay'
3783
4536
  | 'satispay'
3784
4537
  | 'sepa_debit'
4538
+ | 'shopeepay'
3785
4539
  | 'sofort'
4540
+ | 'stripe_balance'
3786
4541
  | 'swish'
3787
4542
  | 'twint'
3788
4543
  | 'us_bank_account'
@@ -3868,6 +4623,16 @@ declare module 'stripe' {
3868
4623
  */
3869
4624
  paypal?: PaymentMethodOptions.Paypal;
3870
4625
 
4626
+ /**
4627
+ * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
4628
+ */
4629
+ payto?: PaymentMethodOptions.Payto;
4630
+
4631
+ /**
4632
+ * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
4633
+ */
4634
+ pix?: PaymentMethodOptions.Pix;
4635
+
3871
4636
  /**
3872
4637
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
3873
4638
  */
@@ -4315,6 +5080,150 @@ declare module 'stripe' {
4315
5080
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
4316
5081
  */
4317
5082
  billing_agreement_id?: string;
5083
+
5084
+ currency?: string;
5085
+
5086
+ /**
5087
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
5088
+ */
5089
+ subsellers?: Array<string>;
5090
+ }
5091
+
5092
+ interface Payto {
5093
+ /**
5094
+ * Additional fields for Mandate creation.
5095
+ */
5096
+ mandate_options?: Payto.MandateOptions;
5097
+ }
5098
+
5099
+ namespace Payto {
5100
+ interface MandateOptions {
5101
+ /**
5102
+ * Amount that will be collected. It is required when `amount_type` is `fixed`.
5103
+ */
5104
+ amount?: number;
5105
+
5106
+ /**
5107
+ * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
5108
+ */
5109
+ amount_type?: MandateOptions.AmountType;
5110
+
5111
+ /**
5112
+ * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
5113
+ */
5114
+ end_date?: string;
5115
+
5116
+ /**
5117
+ * The periodicity at which payments will be collected.
5118
+ */
5119
+ payment_schedule?: MandateOptions.PaymentSchedule;
5120
+
5121
+ /**
5122
+ * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
5123
+ */
5124
+ payments_per_period?: number;
5125
+
5126
+ /**
5127
+ * The purpose for which payments are made. Defaults to retail.
5128
+ */
5129
+ purpose?: MandateOptions.Purpose;
5130
+
5131
+ /**
5132
+ * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
5133
+ */
5134
+ start_date?: string;
5135
+ }
5136
+
5137
+ namespace MandateOptions {
5138
+ type AmountType = 'fixed' | 'maximum';
5139
+
5140
+ type PaymentSchedule =
5141
+ | 'adhoc'
5142
+ | 'annual'
5143
+ | 'daily'
5144
+ | 'fortnightly'
5145
+ | 'monthly'
5146
+ | 'quarterly'
5147
+ | 'semi_annual'
5148
+ | 'weekly';
5149
+
5150
+ type Purpose =
5151
+ | 'dependant_support'
5152
+ | 'government'
5153
+ | 'loan'
5154
+ | 'mortgage'
5155
+ | 'other'
5156
+ | 'pension'
5157
+ | 'personal'
5158
+ | 'retail'
5159
+ | 'salary'
5160
+ | 'tax'
5161
+ | 'utility';
5162
+ }
5163
+ }
5164
+
5165
+ interface Pix {
5166
+ /**
5167
+ * Additional fields for mandate creation.
5168
+ */
5169
+ mandate_options?: Pix.MandateOptions;
5170
+ }
5171
+
5172
+ namespace Pix {
5173
+ interface MandateOptions {
5174
+ /**
5175
+ * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
5176
+ */
5177
+ amount?: number;
5178
+
5179
+ /**
5180
+ * Determines if the amount includes the IOF tax. Defaults to `never`.
5181
+ */
5182
+ amount_includes_iof?: MandateOptions.AmountIncludesIof;
5183
+
5184
+ /**
5185
+ * Type of amount. Defaults to `maximum`.
5186
+ */
5187
+ amount_type?: MandateOptions.AmountType;
5188
+
5189
+ /**
5190
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
5191
+ */
5192
+ currency?: string;
5193
+
5194
+ /**
5195
+ * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
5196
+ */
5197
+ end_date?: string;
5198
+
5199
+ /**
5200
+ * Schedule at which the future payments will be charged. Defaults to `weekly`.
5201
+ */
5202
+ payment_schedule?: MandateOptions.PaymentSchedule;
5203
+
5204
+ /**
5205
+ * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
5206
+ */
5207
+ reference?: string;
5208
+
5209
+ /**
5210
+ * Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
5211
+ */
5212
+ start_date?: string;
5213
+ }
5214
+
5215
+ namespace MandateOptions {
5216
+ type AmountIncludesIof = 'always' | 'never';
5217
+
5218
+ type AmountType = 'fixed' | 'maximum';
5219
+
5220
+ type PaymentSchedule =
5221
+ | 'halfyearly'
5222
+ | 'monthly'
5223
+ | 'quarterly'
5224
+ | 'weekly'
5225
+ | 'yearly';
5226
+ }
4318
5227
  }
4319
5228
 
4320
5229
  interface SepaDebit {
@@ -4362,6 +5271,11 @@ declare module 'stripe' {
4362
5271
  */
4363
5272
  filters?: FinancialConnections.Filters;
4364
5273
 
5274
+ /**
5275
+ * Customize manual entry behavior
5276
+ */
5277
+ manual_entry?: FinancialConnections.ManualEntry;
5278
+
4365
5279
  /**
4366
5280
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
4367
5281
  */
@@ -4384,19 +5298,39 @@ declare module 'stripe' {
4384
5298
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
4385
5299
  */
4386
5300
  account_subcategories?: Array<Filters.AccountSubcategory>;
5301
+
5302
+ /**
5303
+ * ID of the institution to use to filter for selectable accounts.
5304
+ */
5305
+ institution?: string;
4387
5306
  }
4388
5307
 
4389
5308
  namespace Filters {
4390
5309
  type AccountSubcategory = 'checking' | 'savings';
4391
5310
  }
4392
5311
 
5312
+ interface ManualEntry {
5313
+ /**
5314
+ * Settings for configuring manual entry of account details.
5315
+ */
5316
+ mode: ManualEntry.Mode;
5317
+ }
5318
+
5319
+ namespace ManualEntry {
5320
+ type Mode = 'automatic' | 'custom';
5321
+ }
5322
+
4393
5323
  type Permission =
4394
5324
  | 'balances'
4395
5325
  | 'ownership'
4396
5326
  | 'payment_method'
4397
5327
  | 'transactions';
4398
5328
 
4399
- type Prefetch = 'balances' | 'ownership' | 'transactions';
5329
+ type Prefetch =
5330
+ | 'balances'
5331
+ | 'inferred_balances'
5332
+ | 'ownership'
5333
+ | 'transactions';
4400
5334
  }
4401
5335
 
4402
5336
  interface MandateOptions {