stripe 19.2.0-beta.1 → 19.2.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 (335) hide show
  1. package/CHANGELOG.md +71 -1433
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/RequestSender.js +1 -1
  7. package/cjs/apiVersion.js +3 -2
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Mandates.js +0 -5
  10. package/cjs/resources/PaymentIntents.js +0 -8
  11. package/cjs/resources/PaymentRecords.js +4 -0
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Subscriptions.js +0 -4
  15. package/cjs/resources.js +8 -106
  16. package/cjs/stripe.core.js +1 -1
  17. package/esm/Error.js +0 -100
  18. package/esm/RequestSender.js +1 -1
  19. package/esm/apiVersion.js +2 -1
  20. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  21. package/esm/resources/Mandates.js +0 -5
  22. package/esm/resources/PaymentIntents.js +0 -8
  23. package/esm/resources/PaymentRecords.js +4 -0
  24. package/esm/resources/Quotes.js +0 -32
  25. package/esm/resources/SubscriptionSchedules.js +0 -4
  26. package/esm/resources/Subscriptions.js +0 -4
  27. package/esm/resources.js +0 -93
  28. package/esm/stripe.core.js +1 -1
  29. package/package.json +1 -1
  30. package/types/AccountLinksResource.d.ts +1 -5
  31. package/types/AccountSessions.d.ts +0 -45
  32. package/types/AccountSessionsResource.d.ts +0 -264
  33. package/types/Accounts.d.ts +23 -212
  34. package/types/AccountsResource.d.ts +44 -544
  35. package/types/Billing/AlertTriggereds.d.ts +1 -1
  36. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  37. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  38. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  39. package/types/Billing/CreditGrants.d.ts +0 -5
  40. package/types/Billing/CreditGrantsResource.d.ts +3 -13
  41. package/types/BillingPortal/Configurations.d.ts +1 -1
  42. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  43. package/types/BillingPortal/Sessions.d.ts +0 -5
  44. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  45. package/types/Cards.d.ts +0 -5
  46. package/types/CashBalances.d.ts +0 -5
  47. package/types/Charges.d.ts +1 -172
  48. package/types/ChargesResource.d.ts +0 -1406
  49. package/types/Checkout/Sessions.d.ts +17 -369
  50. package/types/Checkout/SessionsResource.d.ts +23 -635
  51. package/types/ConfirmationTokens.d.ts +1 -125
  52. package/types/Coupons.d.ts +0 -33
  53. package/types/CouponsResource.d.ts +0 -21
  54. package/types/CreditNoteLineItems.d.ts +0 -17
  55. package/types/CreditNotes.d.ts +26 -5
  56. package/types/CreditNotesResource.d.ts +78 -5
  57. package/types/CustomerBalanceTransactions.d.ts +0 -2
  58. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  59. package/types/CustomerSessions.d.ts +120 -5
  60. package/types/CustomerSessionsResource.d.ts +121 -6
  61. package/types/Customers.d.ts +7 -2
  62. package/types/CustomersResource.d.ts +1 -8
  63. package/types/Discounts.d.ts +0 -10
  64. package/types/Disputes.d.ts +0 -40
  65. package/types/DisputesResource.d.ts +0 -11
  66. package/types/Errors.d.ts +0 -85
  67. package/types/EventTypes.d.ts +0 -630
  68. package/types/Events.d.ts +0 -95
  69. package/types/Files.d.ts +1 -0
  70. package/types/FilesResource.d.ts +2 -0
  71. package/types/FinancialConnections/Accounts.d.ts +1 -36
  72. package/types/FinancialConnections/AccountsResource.d.ts +4 -41
  73. package/types/FinancialConnections/Sessions.d.ts +1 -51
  74. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  75. package/types/Identity/VerificationSessions.d.ts +0 -5
  76. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  77. package/types/InvoiceItems.d.ts +0 -10
  78. package/types/InvoiceItemsResource.d.ts +6 -117
  79. package/types/InvoiceLineItems.d.ts +1 -45
  80. package/types/InvoicePayments.d.ts +1 -1
  81. package/types/Invoices.d.ts +5 -203
  82. package/types/InvoicesResource.d.ts +4 -1622
  83. package/types/Issuing/CardholdersResource.d.ts +1 -2
  84. package/types/Issuing/Transactions.d.ts +0 -5
  85. package/types/Issuing/TransactionsResource.d.ts +0 -5
  86. package/types/LineItems.d.ts +0 -49
  87. package/types/Mandates.d.ts +1 -135
  88. package/types/MandatesResource.d.ts +0 -31
  89. package/types/PaymentAttemptRecords.d.ts +1 -137
  90. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  91. package/types/PaymentIntentAmountDetailsLineItems.d.ts +17 -7
  92. package/types/PaymentIntents.d.ts +23 -782
  93. package/types/PaymentIntentsResource.d.ts +4783 -9501
  94. package/types/PaymentLinks.d.ts +34 -6
  95. package/types/PaymentLinksResource.d.ts +88 -12
  96. package/types/PaymentMethodConfigurations.d.ts +46 -190
  97. package/types/PaymentMethodConfigurationsResource.d.ts +100 -300
  98. package/types/PaymentMethods.d.ts +34 -130
  99. package/types/PaymentMethodsResource.d.ts +17 -168
  100. package/types/PaymentRecords.d.ts +1 -137
  101. package/types/PaymentRecordsResource.d.ts +89 -0
  102. package/types/PayoutsResource.d.ts +1 -1
  103. package/types/Prices.d.ts +0 -22
  104. package/types/PricesResource.d.ts +0 -22
  105. package/types/PromotionCodes.d.ts +0 -5
  106. package/types/PromotionCodesResource.d.ts +0 -10
  107. package/types/Quotes.d.ts +1 -594
  108. package/types/QuotesResource.d.ts +290 -2635
  109. package/types/Refunds.d.ts +9 -14
  110. package/types/SetupAttempts.d.ts +2 -51
  111. package/types/SetupIntents.d.ts +59 -209
  112. package/types/SetupIntentsResource.d.ts +132 -952
  113. package/types/Sources.d.ts +0 -29
  114. package/types/SubscriptionItems.d.ts +0 -26
  115. package/types/SubscriptionItemsResource.d.ts +0 -109
  116. package/types/SubscriptionSchedules.d.ts +0 -205
  117. package/types/SubscriptionSchedulesResource.d.ts +4 -1232
  118. package/types/Subscriptions.d.ts +1 -262
  119. package/types/SubscriptionsResource.d.ts +8 -745
  120. package/types/Tax/Registrations.d.ts +9 -0
  121. package/types/Tax/RegistrationsResource.d.ts +12 -0
  122. package/types/TaxIds.d.ts +0 -10
  123. package/types/TaxIdsResource.d.ts +0 -10
  124. package/types/Terminal/Configurations.d.ts +19 -9
  125. package/types/Terminal/ConfigurationsResource.d.ts +44 -28
  126. package/types/Terminal/Readers.d.ts +14 -29
  127. package/types/Terminal/ReadersResource.d.ts +30 -30
  128. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  129. package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
  130. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  131. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  132. package/types/TokensResource.d.ts +22 -0
  133. package/types/Transfers.d.ts +0 -5
  134. package/types/TransfersResource.d.ts +0 -5
  135. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  136. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  137. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  138. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  139. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  140. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  141. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  142. package/types/V2/Core/EventTypes.d.ts +10 -1647
  143. package/types/V2/Core/EventsResource.d.ts +29 -3
  144. package/types/WebhookEndpointsResource.d.ts +2 -75
  145. package/types/apiVersion.d.ts +2 -1
  146. package/types/crypto/crypto.d.ts +1 -1
  147. package/types/index.d.ts +0 -153
  148. package/types/lib.d.ts +0 -10
  149. package/cjs/resources/AccountNotices.js +0 -21
  150. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  151. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  152. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  153. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  154. package/cjs/resources/ExternalAccounts.js +0 -23
  155. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  156. package/cjs/resources/FxQuotes.js +0 -15
  157. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  158. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  159. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  160. package/cjs/resources/Margins.js +0 -22
  161. package/cjs/resources/Orders.js +0 -24
  162. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  163. package/cjs/resources/Tax/Associations.js +0 -9
  164. package/cjs/resources/Tax/Forms.js +0 -20
  165. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  166. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  167. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  168. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  169. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  170. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  171. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  172. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  173. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  174. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  175. package/cjs/resources/V2/Core/Accounts.js +0 -25
  176. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  177. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  178. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  179. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  180. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  181. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  182. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  183. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  184. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  185. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  186. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  187. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  188. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  189. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  190. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  191. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  192. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
  193. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  194. package/esm/resources/AccountNotices.js +0 -18
  195. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  196. package/esm/resources/Capital/FinancingOffers.js +0 -18
  197. package/esm/resources/Capital/FinancingSummary.js +0 -9
  198. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  199. package/esm/resources/ExternalAccounts.js +0 -20
  200. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  201. package/esm/resources/FxQuotes.js +0 -12
  202. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  203. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  204. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  205. package/esm/resources/Margins.js +0 -19
  206. package/esm/resources/Orders.js +0 -21
  207. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  208. package/esm/resources/Tax/Associations.js +0 -6
  209. package/esm/resources/Tax/Forms.js +0 -17
  210. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  211. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  212. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  213. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  214. package/esm/resources/V2/Billing/Cadences.js +0 -20
  215. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  216. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  217. package/esm/resources/V2/Billing/Profiles.js +0 -16
  218. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  219. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  220. package/esm/resources/V2/Core/Accounts.js +0 -22
  221. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  222. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  223. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  224. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  225. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  226. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  227. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  228. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  229. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  230. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  231. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  232. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  233. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  234. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  235. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  236. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  237. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
  238. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  239. package/types/AccountNotices.d.ts +0 -113
  240. package/types/AccountNoticesResource.d.ts +0 -98
  241. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  242. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
  243. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
  244. package/types/Capital/FinancingOffers.d.ts +0 -188
  245. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  246. package/types/Capital/FinancingSummary.d.ts +0 -106
  247. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  248. package/types/Capital/FinancingTransactions.d.ts +0 -135
  249. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  250. package/types/ExternalAccountsResource.d.ts +0 -304
  251. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  252. package/types/FinancialConnections/Institutions.d.ts +0 -98
  253. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  254. package/types/FxQuotes.d.ts +0 -155
  255. package/types/FxQuotesResource.d.ts +0 -130
  256. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  257. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  258. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  259. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  260. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  261. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  262. package/types/Issuing/Settlements.d.ts +0 -113
  263. package/types/Margins.d.ts +0 -56
  264. package/types/MarginsResource.d.ts +0 -114
  265. package/types/Orders.d.ts +0 -1163
  266. package/types/OrdersResource.d.ts +0 -3139
  267. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  268. package/types/Privacy/RedactionJobs.d.ts +0 -111
  269. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  270. package/types/QuoteLines.d.ts +0 -634
  271. package/types/QuotePreviewInvoices.d.ts +0 -1770
  272. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
  273. package/types/Tax/Associations.d.ts +0 -82
  274. package/types/Tax/AssociationsResource.d.ts +0 -29
  275. package/types/Tax/Forms.d.ts +0 -220
  276. package/types/Tax/FormsResource.d.ts +0 -107
  277. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  278. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  279. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  280. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  281. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  282. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  283. package/types/V2/Billing/BillSettings.d.ts +0 -120
  284. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  285. package/types/V2/Billing/Cadences.d.ts +0 -686
  286. package/types/V2/Billing/CadencesResource.d.ts +0 -487
  287. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  288. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  289. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  290. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  291. package/types/V2/Billing/Profiles.d.ts +0 -70
  292. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  293. package/types/V2/Core/AccountLinks.d.ts +0 -168
  294. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  295. package/types/V2/Core/AccountPersons.d.ts +0 -615
  296. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
  297. package/types/V2/Core/Accounts.d.ts +0 -5919
  298. package/types/V2/Core/AccountsResource.d.ts +0 -4999
  299. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  300. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  301. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  302. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  303. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  304. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  305. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  306. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  307. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
  308. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -147
  309. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
  310. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
  311. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  312. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  313. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  314. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  315. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  316. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  317. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  318. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  319. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  320. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  321. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  322. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
  323. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  324. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  325. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
  326. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  327. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  328. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  329. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  330. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  331. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  332. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  333. package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
  334. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
  335. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -35,16 +35,16 @@ declare module 'stripe' {
35
35
  customer?: string;
36
36
 
37
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.
38
+ * An arbitrary string attached to the object. Often useful for displaying to users.
41
39
  */
42
- customer_account?: string;
40
+ description?: string;
43
41
 
44
42
  /**
45
- * An arbitrary string attached to the object. Often useful for displaying to users.
43
+ * The list of payment method types to exclude from use with this SetupIntent.
46
44
  */
47
- description?: string;
45
+ excluded_payment_method_types?: Array<
46
+ SetupIntentCreateParams.ExcludedPaymentMethodType
47
+ >;
48
48
 
49
49
  /**
50
50
  * Specifies which fields in the response should be expanded.
@@ -141,6 +141,56 @@ declare module 'stripe' {
141
141
  type AllowRedirects = 'always' | 'never';
142
142
  }
143
143
 
144
+ type ExcludedPaymentMethodType =
145
+ | 'acss_debit'
146
+ | 'affirm'
147
+ | 'afterpay_clearpay'
148
+ | 'alipay'
149
+ | 'alma'
150
+ | 'amazon_pay'
151
+ | 'au_becs_debit'
152
+ | 'bacs_debit'
153
+ | 'bancontact'
154
+ | 'billie'
155
+ | 'blik'
156
+ | 'boleto'
157
+ | 'card'
158
+ | 'cashapp'
159
+ | 'crypto'
160
+ | 'customer_balance'
161
+ | 'eps'
162
+ | 'fpx'
163
+ | 'giropay'
164
+ | 'grabpay'
165
+ | 'ideal'
166
+ | 'kakao_pay'
167
+ | 'klarna'
168
+ | 'konbini'
169
+ | 'kr_card'
170
+ | 'mb_way'
171
+ | 'mobilepay'
172
+ | 'multibanco'
173
+ | 'naver_pay'
174
+ | 'nz_bank_account'
175
+ | 'oxxo'
176
+ | 'p24'
177
+ | 'pay_by_bank'
178
+ | 'payco'
179
+ | 'paynow'
180
+ | 'paypal'
181
+ | 'pix'
182
+ | 'promptpay'
183
+ | 'revolut_pay'
184
+ | 'samsung_pay'
185
+ | 'satispay'
186
+ | 'sepa_debit'
187
+ | 'sofort'
188
+ | 'swish'
189
+ | 'twint'
190
+ | 'us_bank_account'
191
+ | 'wechat_pay'
192
+ | 'zip';
193
+
144
194
  type FlowDirection = 'inbound' | 'outbound';
145
195
 
146
196
  interface MandateData {
@@ -293,21 +343,11 @@ declare module 'stripe' {
293
343
  */
294
344
  giropay?: PaymentMethodData.Giropay;
295
345
 
296
- /**
297
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
298
- */
299
- gopay?: PaymentMethodData.Gopay;
300
-
301
346
  /**
302
347
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
303
348
  */
304
349
  grabpay?: PaymentMethodData.Grabpay;
305
350
 
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
-
311
351
  /**
312
352
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
313
353
  */
@@ -403,16 +443,6 @@ declare module 'stripe' {
403
443
  */
404
444
  paypal?: PaymentMethodData.Paypal;
405
445
 
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
-
416
446
  /**
417
447
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
418
448
  */
@@ -423,21 +453,11 @@ declare module 'stripe' {
423
453
  */
424
454
  promptpay?: PaymentMethodData.Promptpay;
425
455
 
426
- /**
427
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
428
- */
429
- qris?: PaymentMethodData.Qris;
430
-
431
456
  /**
432
457
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
433
458
  */
434
459
  radar_options?: PaymentMethodData.RadarOptions;
435
460
 
436
- /**
437
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
438
- */
439
- rechnung?: PaymentMethodData.Rechnung;
440
-
441
461
  /**
442
462
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
443
463
  */
@@ -458,21 +478,11 @@ declare module 'stripe' {
458
478
  */
459
479
  sepa_debit?: PaymentMethodData.SepaDebit;
460
480
 
461
- /**
462
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
463
- */
464
- shopeepay?: PaymentMethodData.Shopeepay;
465
-
466
481
  /**
467
482
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
468
483
  */
469
484
  sofort?: PaymentMethodData.Sofort;
470
485
 
471
- /**
472
- * This hash contains details about the Stripe balance payment method.
473
- */
474
- stripe_balance?: PaymentMethodData.StripeBalance;
475
-
476
486
  /**
477
487
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
478
488
  */
@@ -685,21 +695,8 @@ declare module 'stripe' {
685
695
 
686
696
  interface Giropay {}
687
697
 
688
- interface Gopay {}
689
-
690
698
  interface Grabpay {}
691
699
 
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
-
703
700
  interface Ideal {
704
701
  /**
705
702
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -857,31 +854,10 @@ declare module 'stripe' {
857
854
 
858
855
  interface Paypal {}
859
856
 
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
-
879
857
  interface Pix {}
880
858
 
881
859
  interface Promptpay {}
882
860
 
883
- interface Qris {}
884
-
885
861
  interface RadarOptions {
886
862
  /**
887
863
  * 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.
@@ -889,32 +865,6 @@ declare module 'stripe' {
889
865
  session?: string;
890
866
  }
891
867
 
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
-
918
868
  interface RevolutPay {}
919
869
 
920
870
  interface SamsungPay {}
@@ -928,8 +878,6 @@ declare module 'stripe' {
928
878
  iban: string;
929
879
  }
930
880
 
931
- interface Shopeepay {}
932
-
933
881
  interface Sofort {
934
882
  /**
935
883
  * Two-letter ISO code representing the country the bank account is located in.
@@ -941,22 +889,6 @@ declare module 'stripe' {
941
889
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
942
890
  }
943
891
 
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
-
960
892
  interface Swish {}
961
893
 
962
894
  interface Twint {}
@@ -980,9 +912,7 @@ declare module 'stripe' {
980
912
  | 'eps'
981
913
  | 'fpx'
982
914
  | 'giropay'
983
- | 'gopay'
984
915
  | 'grabpay'
985
- | 'id_bank_transfer'
986
916
  | 'ideal'
987
917
  | 'kakao_pay'
988
918
  | 'klarna'
@@ -1000,19 +930,13 @@ declare module 'stripe' {
1000
930
  | 'payco'
1001
931
  | 'paynow'
1002
932
  | 'paypal'
1003
- | 'paypay'
1004
- | 'payto'
1005
933
  | 'pix'
1006
934
  | 'promptpay'
1007
- | 'qris'
1008
- | 'rechnung'
1009
935
  | 'revolut_pay'
1010
936
  | 'samsung_pay'
1011
937
  | 'satispay'
1012
938
  | 'sepa_debit'
1013
- | 'shopeepay'
1014
939
  | 'sofort'
1015
- | 'stripe_balance'
1016
940
  | 'swish'
1017
941
  | 'twint'
1018
942
  | 'us_bank_account'
@@ -1098,16 +1022,6 @@ declare module 'stripe' {
1098
1022
  */
1099
1023
  paypal?: PaymentMethodOptions.Paypal;
1100
1024
 
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
-
1111
1025
  /**
1112
1026
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1113
1027
  */
@@ -1555,150 +1469,6 @@ declare module 'stripe' {
1555
1469
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1556
1470
  */
1557
1471
  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
- }
1702
1472
  }
1703
1473
 
1704
1474
  interface SepaDebit {
@@ -1746,11 +1516,6 @@ declare module 'stripe' {
1746
1516
  */
1747
1517
  filters?: FinancialConnections.Filters;
1748
1518
 
1749
- /**
1750
- * Customize manual entry behavior
1751
- */
1752
- manual_entry?: FinancialConnections.ManualEntry;
1753
-
1754
1519
  /**
1755
1520
  * 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`.
1756
1521
  */
@@ -1773,39 +1538,19 @@ declare module 'stripe' {
1773
1538
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1774
1539
  */
1775
1540
  account_subcategories?: Array<Filters.AccountSubcategory>;
1776
-
1777
- /**
1778
- * ID of the institution to use to filter for selectable accounts.
1779
- */
1780
- institution?: string;
1781
1541
  }
1782
1542
 
1783
1543
  namespace Filters {
1784
1544
  type AccountSubcategory = 'checking' | 'savings';
1785
1545
  }
1786
1546
 
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
-
1798
1547
  type Permission =
1799
1548
  | 'balances'
1800
1549
  | 'ownership'
1801
1550
  | 'payment_method'
1802
1551
  | 'transactions';
1803
1552
 
1804
- type Prefetch =
1805
- | 'balances'
1806
- | 'inferred_balances'
1807
- | 'ownership'
1808
- | 'transactions';
1553
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
1809
1554
  }
1810
1555
 
1811
1556
  interface MandateOptions {
@@ -1873,16 +1618,16 @@ declare module 'stripe' {
1873
1618
  customer?: string;
1874
1619
 
1875
1620
  /**
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.
1621
+ * An arbitrary string attached to the object. Often useful for displaying to users.
1879
1622
  */
1880
- customer_account?: string;
1623
+ description?: string;
1881
1624
 
1882
1625
  /**
1883
- * An arbitrary string attached to the object. Often useful for displaying to users.
1626
+ * The list of payment method types to exclude from use with this SetupIntent.
1884
1627
  */
1885
- description?: string;
1628
+ excluded_payment_method_types?: Stripe.Emptyable<
1629
+ Array<SetupIntentUpdateParams.ExcludedPaymentMethodType>
1630
+ >;
1886
1631
 
1887
1632
  /**
1888
1633
  * Specifies which fields in the response should be expanded.
@@ -1929,6 +1674,56 @@ declare module 'stripe' {
1929
1674
  }
1930
1675
 
1931
1676
  namespace SetupIntentUpdateParams {
1677
+ type ExcludedPaymentMethodType =
1678
+ | 'acss_debit'
1679
+ | 'affirm'
1680
+ | 'afterpay_clearpay'
1681
+ | 'alipay'
1682
+ | 'alma'
1683
+ | 'amazon_pay'
1684
+ | 'au_becs_debit'
1685
+ | 'bacs_debit'
1686
+ | 'bancontact'
1687
+ | 'billie'
1688
+ | 'blik'
1689
+ | 'boleto'
1690
+ | 'card'
1691
+ | 'cashapp'
1692
+ | 'crypto'
1693
+ | 'customer_balance'
1694
+ | 'eps'
1695
+ | 'fpx'
1696
+ | 'giropay'
1697
+ | 'grabpay'
1698
+ | 'ideal'
1699
+ | 'kakao_pay'
1700
+ | 'klarna'
1701
+ | 'konbini'
1702
+ | 'kr_card'
1703
+ | 'mb_way'
1704
+ | 'mobilepay'
1705
+ | 'multibanco'
1706
+ | 'naver_pay'
1707
+ | 'nz_bank_account'
1708
+ | 'oxxo'
1709
+ | 'p24'
1710
+ | 'pay_by_bank'
1711
+ | 'payco'
1712
+ | 'paynow'
1713
+ | 'paypal'
1714
+ | 'pix'
1715
+ | 'promptpay'
1716
+ | 'revolut_pay'
1717
+ | 'samsung_pay'
1718
+ | 'satispay'
1719
+ | 'sepa_debit'
1720
+ | 'sofort'
1721
+ | 'swish'
1722
+ | 'twint'
1723
+ | 'us_bank_account'
1724
+ | 'wechat_pay'
1725
+ | 'zip';
1726
+
1932
1727
  type FlowDirection = 'inbound' | 'outbound';
1933
1728
 
1934
1729
  interface PaymentMethodData {
@@ -2032,21 +1827,11 @@ declare module 'stripe' {
2032
1827
  */
2033
1828
  giropay?: PaymentMethodData.Giropay;
2034
1829
 
2035
- /**
2036
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2037
- */
2038
- gopay?: PaymentMethodData.Gopay;
2039
-
2040
1830
  /**
2041
1831
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2042
1832
  */
2043
1833
  grabpay?: PaymentMethodData.Grabpay;
2044
1834
 
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
-
2050
1835
  /**
2051
1836
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2052
1837
  */
@@ -2142,16 +1927,6 @@ declare module 'stripe' {
2142
1927
  */
2143
1928
  paypal?: PaymentMethodData.Paypal;
2144
1929
 
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
-
2155
1930
  /**
2156
1931
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2157
1932
  */
@@ -2162,21 +1937,11 @@ declare module 'stripe' {
2162
1937
  */
2163
1938
  promptpay?: PaymentMethodData.Promptpay;
2164
1939
 
2165
- /**
2166
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2167
- */
2168
- qris?: PaymentMethodData.Qris;
2169
-
2170
1940
  /**
2171
1941
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2172
1942
  */
2173
1943
  radar_options?: PaymentMethodData.RadarOptions;
2174
1944
 
2175
- /**
2176
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2177
- */
2178
- rechnung?: PaymentMethodData.Rechnung;
2179
-
2180
1945
  /**
2181
1946
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2182
1947
  */
@@ -2197,21 +1962,11 @@ declare module 'stripe' {
2197
1962
  */
2198
1963
  sepa_debit?: PaymentMethodData.SepaDebit;
2199
1964
 
2200
- /**
2201
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2202
- */
2203
- shopeepay?: PaymentMethodData.Shopeepay;
2204
-
2205
1965
  /**
2206
1966
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2207
1967
  */
2208
1968
  sofort?: PaymentMethodData.Sofort;
2209
1969
 
2210
- /**
2211
- * This hash contains details about the Stripe balance payment method.
2212
- */
2213
- stripe_balance?: PaymentMethodData.StripeBalance;
2214
-
2215
1970
  /**
2216
1971
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2217
1972
  */
@@ -2424,21 +2179,8 @@ declare module 'stripe' {
2424
2179
 
2425
2180
  interface Giropay {}
2426
2181
 
2427
- interface Gopay {}
2428
-
2429
2182
  interface Grabpay {}
2430
2183
 
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
-
2442
2184
  interface Ideal {
2443
2185
  /**
2444
2186
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2596,105 +2338,40 @@ declare module 'stripe' {
2596
2338
 
2597
2339
  interface Paypal {}
2598
2340
 
2599
- interface Paypay {}
2600
-
2601
- interface Payto {
2602
- /**
2603
- * The account number for the bank account.
2604
- */
2605
- account_number?: string;
2341
+ interface Pix {}
2606
2342
 
2607
- /**
2608
- * Bank-State-Branch number of the bank account.
2609
- */
2610
- bsb_number?: string;
2343
+ interface Promptpay {}
2611
2344
 
2345
+ interface RadarOptions {
2612
2346
  /**
2613
- * The PayID alias for the bank account.
2347
+ * 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.
2614
2348
  */
2615
- pay_id?: string;
2349
+ session?: string;
2616
2350
  }
2617
2351
 
2618
- interface Pix {}
2352
+ interface RevolutPay {}
2619
2353
 
2620
- interface Promptpay {}
2354
+ interface SamsungPay {}
2621
2355
 
2622
- interface Qris {}
2356
+ interface Satispay {}
2623
2357
 
2624
- interface RadarOptions {
2358
+ interface SepaDebit {
2625
2359
  /**
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.
2360
+ * IBAN of the bank account.
2627
2361
  */
2628
- session?: string;
2362
+ iban: string;
2629
2363
  }
2630
2364
 
2631
- interface Rechnung {
2365
+ interface Sofort {
2632
2366
  /**
2633
- * Customer's date of birth
2367
+ * Two-letter ISO code representing the country the bank account is located in.
2634
2368
  */
2635
- dob: Rechnung.Dob;
2369
+ country: Sofort.Country;
2636
2370
  }
2637
2371
 
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
-
2657
- interface RevolutPay {}
2658
-
2659
- interface SamsungPay {}
2660
-
2661
- interface Satispay {}
2662
-
2663
- interface SepaDebit {
2664
- /**
2665
- * IBAN of the bank account.
2666
- */
2667
- iban: string;
2668
- }
2669
-
2670
- interface Shopeepay {}
2671
-
2672
- interface Sofort {
2673
- /**
2674
- * Two-letter ISO code representing the country the bank account is located in.
2675
- */
2676
- country: Sofort.Country;
2677
- }
2678
-
2679
- namespace Sofort {
2680
- type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
2681
- }
2682
-
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
- }
2372
+ namespace Sofort {
2373
+ type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
2374
+ }
2698
2375
 
2699
2376
  interface Swish {}
2700
2377
 
@@ -2719,9 +2396,7 @@ declare module 'stripe' {
2719
2396
  | 'eps'
2720
2397
  | 'fpx'
2721
2398
  | 'giropay'
2722
- | 'gopay'
2723
2399
  | 'grabpay'
2724
- | 'id_bank_transfer'
2725
2400
  | 'ideal'
2726
2401
  | 'kakao_pay'
2727
2402
  | 'klarna'
@@ -2739,19 +2414,13 @@ declare module 'stripe' {
2739
2414
  | 'payco'
2740
2415
  | 'paynow'
2741
2416
  | 'paypal'
2742
- | 'paypay'
2743
- | 'payto'
2744
2417
  | 'pix'
2745
2418
  | 'promptpay'
2746
- | 'qris'
2747
- | 'rechnung'
2748
2419
  | 'revolut_pay'
2749
2420
  | 'samsung_pay'
2750
2421
  | 'satispay'
2751
2422
  | 'sepa_debit'
2752
- | 'shopeepay'
2753
2423
  | 'sofort'
2754
- | 'stripe_balance'
2755
2424
  | 'swish'
2756
2425
  | 'twint'
2757
2426
  | 'us_bank_account'
@@ -2837,16 +2506,6 @@ declare module 'stripe' {
2837
2506
  */
2838
2507
  paypal?: PaymentMethodOptions.Paypal;
2839
2508
 
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
-
2850
2509
  /**
2851
2510
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2852
2511
  */
@@ -3294,150 +2953,6 @@ declare module 'stripe' {
3294
2953
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3295
2954
  */
3296
2955
  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
- }
3441
2956
  }
3442
2957
 
3443
2958
  interface SepaDebit {
@@ -3485,11 +3000,6 @@ declare module 'stripe' {
3485
3000
  */
3486
3001
  filters?: FinancialConnections.Filters;
3487
3002
 
3488
- /**
3489
- * Customize manual entry behavior
3490
- */
3491
- manual_entry?: FinancialConnections.ManualEntry;
3492
-
3493
3003
  /**
3494
3004
  * 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`.
3495
3005
  */
@@ -3512,39 +3022,19 @@ declare module 'stripe' {
3512
3022
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3513
3023
  */
3514
3024
  account_subcategories?: Array<Filters.AccountSubcategory>;
3515
-
3516
- /**
3517
- * ID of the institution to use to filter for selectable accounts.
3518
- */
3519
- institution?: string;
3520
3025
  }
3521
3026
 
3522
3027
  namespace Filters {
3523
3028
  type AccountSubcategory = 'checking' | 'savings';
3524
3029
  }
3525
3030
 
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
-
3537
3031
  type Permission =
3538
3032
  | 'balances'
3539
3033
  | 'ownership'
3540
3034
  | 'payment_method'
3541
3035
  | 'transactions';
3542
3036
 
3543
- type Prefetch =
3544
- | 'balances'
3545
- | 'inferred_balances'
3546
- | 'ownership'
3547
- | 'transactions';
3037
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3548
3038
  }
3549
3039
 
3550
3040
  interface MandateOptions {
@@ -3588,11 +3078,6 @@ declare module 'stripe' {
3588
3078
  */
3589
3079
  customer?: string;
3590
3080
 
3591
- /**
3592
- * Only return SetupIntents for the account specified by this customer ID.
3593
- */
3594
- customer_account?: string;
3595
-
3596
3081
  /**
3597
3082
  * Specifies which fields in the response should be expanded.
3598
3083
  */
@@ -3818,21 +3303,11 @@ declare module 'stripe' {
3818
3303
  */
3819
3304
  giropay?: PaymentMethodData.Giropay;
3820
3305
 
3821
- /**
3822
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3823
- */
3824
- gopay?: PaymentMethodData.Gopay;
3825
-
3826
3306
  /**
3827
3307
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3828
3308
  */
3829
3309
  grabpay?: PaymentMethodData.Grabpay;
3830
3310
 
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
-
3836
3311
  /**
3837
3312
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3838
3313
  */
@@ -3928,16 +3403,6 @@ declare module 'stripe' {
3928
3403
  */
3929
3404
  paypal?: PaymentMethodData.Paypal;
3930
3405
 
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
-
3941
3406
  /**
3942
3407
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3943
3408
  */
@@ -3948,21 +3413,11 @@ declare module 'stripe' {
3948
3413
  */
3949
3414
  promptpay?: PaymentMethodData.Promptpay;
3950
3415
 
3951
- /**
3952
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3953
- */
3954
- qris?: PaymentMethodData.Qris;
3955
-
3956
3416
  /**
3957
3417
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3958
3418
  */
3959
3419
  radar_options?: PaymentMethodData.RadarOptions;
3960
3420
 
3961
- /**
3962
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3963
- */
3964
- rechnung?: PaymentMethodData.Rechnung;
3965
-
3966
3421
  /**
3967
3422
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3968
3423
  */
@@ -3983,21 +3438,11 @@ declare module 'stripe' {
3983
3438
  */
3984
3439
  sepa_debit?: PaymentMethodData.SepaDebit;
3985
3440
 
3986
- /**
3987
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3988
- */
3989
- shopeepay?: PaymentMethodData.Shopeepay;
3990
-
3991
3441
  /**
3992
3442
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3993
3443
  */
3994
3444
  sofort?: PaymentMethodData.Sofort;
3995
3445
 
3996
- /**
3997
- * This hash contains details about the Stripe balance payment method.
3998
- */
3999
- stripe_balance?: PaymentMethodData.StripeBalance;
4000
-
4001
3446
  /**
4002
3447
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
4003
3448
  */
@@ -4210,21 +3655,8 @@ declare module 'stripe' {
4210
3655
 
4211
3656
  interface Giropay {}
4212
3657
 
4213
- interface Gopay {}
4214
-
4215
3658
  interface Grabpay {}
4216
3659
 
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
-
4228
3660
  interface Ideal {
4229
3661
  /**
4230
3662
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -4382,31 +3814,10 @@ declare module 'stripe' {
4382
3814
 
4383
3815
  interface Paypal {}
4384
3816
 
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
-
4404
3817
  interface Pix {}
4405
3818
 
4406
3819
  interface Promptpay {}
4407
3820
 
4408
- interface Qris {}
4409
-
4410
3821
  interface RadarOptions {
4411
3822
  /**
4412
3823
  * 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.
@@ -4414,32 +3825,6 @@ declare module 'stripe' {
4414
3825
  session?: string;
4415
3826
  }
4416
3827
 
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
-
4443
3828
  interface RevolutPay {}
4444
3829
 
4445
3830
  interface SamsungPay {}
@@ -4453,8 +3838,6 @@ declare module 'stripe' {
4453
3838
  iban: string;
4454
3839
  }
4455
3840
 
4456
- interface Shopeepay {}
4457
-
4458
3841
  interface Sofort {
4459
3842
  /**
4460
3843
  * Two-letter ISO code representing the country the bank account is located in.
@@ -4466,22 +3849,6 @@ declare module 'stripe' {
4466
3849
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
4467
3850
  }
4468
3851
 
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
-
4485
3852
  interface Swish {}
4486
3853
 
4487
3854
  interface Twint {}
@@ -4505,9 +3872,7 @@ declare module 'stripe' {
4505
3872
  | 'eps'
4506
3873
  | 'fpx'
4507
3874
  | 'giropay'
4508
- | 'gopay'
4509
3875
  | 'grabpay'
4510
- | 'id_bank_transfer'
4511
3876
  | 'ideal'
4512
3877
  | 'kakao_pay'
4513
3878
  | 'klarna'
@@ -4525,19 +3890,13 @@ declare module 'stripe' {
4525
3890
  | 'payco'
4526
3891
  | 'paynow'
4527
3892
  | 'paypal'
4528
- | 'paypay'
4529
- | 'payto'
4530
3893
  | 'pix'
4531
3894
  | 'promptpay'
4532
- | 'qris'
4533
- | 'rechnung'
4534
3895
  | 'revolut_pay'
4535
3896
  | 'samsung_pay'
4536
3897
  | 'satispay'
4537
3898
  | 'sepa_debit'
4538
- | 'shopeepay'
4539
3899
  | 'sofort'
4540
- | 'stripe_balance'
4541
3900
  | 'swish'
4542
3901
  | 'twint'
4543
3902
  | 'us_bank_account'
@@ -4623,16 +3982,6 @@ declare module 'stripe' {
4623
3982
  */
4624
3983
  paypal?: PaymentMethodOptions.Paypal;
4625
3984
 
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
-
4636
3985
  /**
4637
3986
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
4638
3987
  */
@@ -5080,150 +4429,6 @@ declare module 'stripe' {
5080
4429
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
5081
4430
  */
5082
4431
  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
- }
5227
4432
  }
5228
4433
 
5229
4434
  interface SepaDebit {
@@ -5271,11 +4476,6 @@ declare module 'stripe' {
5271
4476
  */
5272
4477
  filters?: FinancialConnections.Filters;
5273
4478
 
5274
- /**
5275
- * Customize manual entry behavior
5276
- */
5277
- manual_entry?: FinancialConnections.ManualEntry;
5278
-
5279
4479
  /**
5280
4480
  * 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`.
5281
4481
  */
@@ -5298,39 +4498,19 @@ declare module 'stripe' {
5298
4498
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5299
4499
  */
5300
4500
  account_subcategories?: Array<Filters.AccountSubcategory>;
5301
-
5302
- /**
5303
- * ID of the institution to use to filter for selectable accounts.
5304
- */
5305
- institution?: string;
5306
4501
  }
5307
4502
 
5308
4503
  namespace Filters {
5309
4504
  type AccountSubcategory = 'checking' | 'savings';
5310
4505
  }
5311
4506
 
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
-
5323
4507
  type Permission =
5324
4508
  | 'balances'
5325
4509
  | 'ownership'
5326
4510
  | 'payment_method'
5327
4511
  | 'transactions';
5328
4512
 
5329
- type Prefetch =
5330
- | 'balances'
5331
- | 'inferred_balances'
5332
- | 'ownership'
5333
- | 'transactions';
4513
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
5334
4514
  }
5335
4515
 
5336
4516
  interface MandateOptions {