stripe 20.1.0-beta.1 → 20.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/CHANGELOG.md +47 -1500
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/apiVersion.js +3 -2
  7. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  8. package/cjs/resources/Mandates.js +0 -5
  9. package/cjs/resources/PaymentIntents.js +0 -8
  10. package/cjs/resources/Quotes.js +0 -32
  11. package/cjs/resources/SubscriptionSchedules.js +0 -4
  12. package/cjs/resources/Subscriptions.js +0 -4
  13. package/cjs/resources.js +2 -88
  14. package/cjs/stripe.core.js +1 -1
  15. package/esm/Error.js +0 -100
  16. package/esm/apiVersion.js +2 -1
  17. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  18. package/esm/resources/Mandates.js +0 -5
  19. package/esm/resources/PaymentIntents.js +0 -8
  20. package/esm/resources/Quotes.js +0 -32
  21. package/esm/resources/SubscriptionSchedules.js +0 -4
  22. package/esm/resources/Subscriptions.js +0 -4
  23. package/esm/resources.js +0 -81
  24. package/esm/stripe.core.js +1 -1
  25. package/package.json +1 -1
  26. package/types/AccountLinks.d.ts +1 -1
  27. package/types/AccountLinksResource.d.ts +1 -5
  28. package/types/AccountSessions.d.ts +2 -47
  29. package/types/AccountSessionsResource.d.ts +0 -264
  30. package/types/Accounts.d.ts +25 -249
  31. package/types/AccountsResource.d.ts +114 -620
  32. package/types/ApplicationFeesResource.d.ts +2 -2
  33. package/types/Apps/Secrets.d.ts +1 -1
  34. package/types/Balance.d.ts +2 -2
  35. package/types/BalanceSettings.d.ts +1 -1
  36. package/types/BalanceTransactions.d.ts +1 -1
  37. package/types/BankAccounts.d.ts +10 -12
  38. package/types/Billing/AlertTriggereds.d.ts +1 -1
  39. package/types/Billing/Alerts.d.ts +1 -1
  40. package/types/Billing/CreditBalanceSummary.d.ts +1 -1
  41. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  42. package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
  43. package/types/Billing/CreditGrants.d.ts +3 -3
  44. package/types/Billing/CreditGrantsResource.d.ts +3 -3
  45. package/types/Billing/MeterEvents.d.ts +1 -1
  46. package/types/Billing/MeterEventsResource.d.ts +1 -1
  47. package/types/BillingPortal/Configurations.d.ts +10 -3
  48. package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
  49. package/types/BillingPortal/Sessions.d.ts +7 -7
  50. package/types/BillingPortal/SessionsResource.d.ts +7 -7
  51. package/types/Capabilities.d.ts +16 -18
  52. package/types/Cards.d.ts +2 -7
  53. package/types/CashBalances.d.ts +3 -3
  54. package/types/Charges.d.ts +59 -179
  55. package/types/ChargesResource.d.ts +88 -3868
  56. package/types/Checkout/Sessions.d.ts +20 -297
  57. package/types/Checkout/SessionsResource.d.ts +59 -417
  58. package/types/Climate/Orders.d.ts +1 -1
  59. package/types/Climate/OrdersResource.d.ts +2 -2
  60. package/types/ConfirmationTokens.d.ts +8 -109
  61. package/types/Coupons.d.ts +3 -38
  62. package/types/CouponsResource.d.ts +2 -25
  63. package/types/CreditNoteLineItems.d.ts +3 -17
  64. package/types/CreditNotes.d.ts +8 -5
  65. package/types/CreditNotesResource.d.ts +5 -5
  66. package/types/CustomerBalanceTransactions.d.ts +9 -6
  67. package/types/CustomerCashBalanceTransactions.d.ts +13 -10
  68. package/types/CustomerSessions.d.ts +1 -42
  69. package/types/CustomerSessionsResource.d.ts +0 -41
  70. package/types/Customers.d.ts +8 -5
  71. package/types/CustomersResource.d.ts +21 -23
  72. package/types/Discounts.d.ts +6 -6
  73. package/types/Disputes.d.ts +3 -43
  74. package/types/DisputesResource.d.ts +1 -12
  75. package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
  76. package/types/Errors.d.ts +0 -85
  77. package/types/EventTypes.d.ts +0 -630
  78. package/types/Events.d.ts +1 -97
  79. package/types/ExchangeRates.d.ts +2 -2
  80. package/types/FeeRefunds.d.ts +2 -2
  81. package/types/FileLinks.d.ts +1 -1
  82. package/types/FileLinksResource.d.ts +2 -2
  83. package/types/Files.d.ts +4 -4
  84. package/types/FilesResource.d.ts +3 -3
  85. package/types/FinancialConnections/Accounts.d.ts +4 -37
  86. package/types/FinancialConnections/AccountsResource.d.ts +6 -38
  87. package/types/FinancialConnections/Sessions.d.ts +3 -51
  88. package/types/FinancialConnections/SessionsResource.d.ts +4 -41
  89. package/types/Forwarding/Requests.d.ts +1 -1
  90. package/types/Forwarding/RequestsResource.d.ts +1 -1
  91. package/types/FundingInstructions.d.ts +2 -2
  92. package/types/Identity/VerificationReports.d.ts +8 -8
  93. package/types/Identity/VerificationSessions.d.ts +11 -11
  94. package/types/Identity/VerificationSessionsResource.d.ts +18 -12
  95. package/types/InvoiceItems.d.ts +8 -13
  96. package/types/InvoiceItemsResource.d.ts +16 -114
  97. package/types/InvoiceLineItems.d.ts +10 -46
  98. package/types/InvoicePayments.d.ts +1 -1
  99. package/types/InvoiceRenderingTemplates.d.ts +1 -1
  100. package/types/Invoices.d.ts +60 -204
  101. package/types/InvoicesResource.d.ts +132 -1651
  102. package/types/Issuing/Authorizations.d.ts +20 -20
  103. package/types/Issuing/AuthorizationsResource.d.ts +4 -4
  104. package/types/Issuing/Cardholders.d.ts +13 -13
  105. package/types/Issuing/CardholdersResource.d.ts +21 -22
  106. package/types/Issuing/Cards.d.ts +10 -10
  107. package/types/Issuing/CardsResource.d.ts +13 -13
  108. package/types/Issuing/Disputes.d.ts +7 -7
  109. package/types/Issuing/DisputesResource.d.ts +5 -5
  110. package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
  111. package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
  112. package/types/Issuing/Tokens.d.ts +1 -1
  113. package/types/Issuing/Transactions.d.ts +12 -17
  114. package/types/Issuing/TransactionsResource.d.ts +1 -6
  115. package/types/LineItems.d.ts +4 -48
  116. package/types/LoginLinks.d.ts +1 -1
  117. package/types/Mandates.d.ts +1 -69
  118. package/types/MandatesResource.d.ts +0 -31
  119. package/types/PaymentAttemptRecords.d.ts +119 -135
  120. package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
  121. package/types/PaymentIntents.d.ts +48 -705
  122. package/types/PaymentIntentsResource.d.ts +6867 -19451
  123. package/types/PaymentLinks.d.ts +7 -12
  124. package/types/PaymentLinksResource.d.ts +28 -38
  125. package/types/PaymentMethodConfigurations.d.ts +4 -184
  126. package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
  127. package/types/PaymentMethodDomains.d.ts +1 -1
  128. package/types/PaymentMethods.d.ts +10 -116
  129. package/types/PaymentMethodsResource.d.ts +7 -116
  130. package/types/PaymentRecords.d.ts +126 -135
  131. package/types/PaymentRecordsResource.d.ts +7 -7
  132. package/types/Payouts.d.ts +7 -7
  133. package/types/PayoutsResource.d.ts +3 -3
  134. package/types/Persons.d.ts +21 -23
  135. package/types/Plans.d.ts +5 -5
  136. package/types/PlansResource.d.ts +6 -6
  137. package/types/Prices.d.ts +6 -28
  138. package/types/PricesResource.d.ts +10 -32
  139. package/types/Products.d.ts +10 -10
  140. package/types/ProductsResource.d.ts +14 -14
  141. package/types/PromotionCodes.d.ts +5 -5
  142. package/types/PromotionCodesResource.d.ts +5 -5
  143. package/types/Quotes.d.ts +14 -602
  144. package/types/QuotesResource.d.ts +298 -2628
  145. package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
  146. package/types/Radar/ValueListItems.d.ts +1 -1
  147. package/types/Radar/ValueLists.d.ts +2 -2
  148. package/types/Radar/ValueListsResource.d.ts +2 -2
  149. package/types/Refunds.d.ts +3 -17
  150. package/types/RefundsResource.d.ts +3 -3
  151. package/types/Reporting/ReportRuns.d.ts +3 -3
  152. package/types/Reporting/ReportRunsResource.d.ts +2 -2
  153. package/types/Reporting/ReportTypes.d.ts +3 -3
  154. package/types/Reviews.d.ts +1 -1
  155. package/types/SetupAttempts.d.ts +22 -60
  156. package/types/SetupIntents.d.ts +22 -157
  157. package/types/SetupIntentsResource.d.ts +50 -673
  158. package/types/ShippingRates.d.ts +3 -3
  159. package/types/ShippingRatesResource.d.ts +3 -3
  160. package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
  161. package/types/SourceMandateNotifications.d.ts +3 -3
  162. package/types/Sources.d.ts +5 -34
  163. package/types/SourcesResource.d.ts +2 -2
  164. package/types/SubscriptionItems.d.ts +7 -33
  165. package/types/SubscriptionItemsResource.d.ts +22 -131
  166. package/types/SubscriptionSchedules.d.ts +9 -209
  167. package/types/SubscriptionSchedulesResource.d.ts +39 -1257
  168. package/types/Subscriptions.d.ts +41 -251
  169. package/types/SubscriptionsResource.d.ts +94 -734
  170. package/types/Tax/Associations.d.ts +3 -3
  171. package/types/Tax/AssociationsResource.d.ts +1 -1
  172. package/types/Tax/CalculationLineItems.d.ts +7 -7
  173. package/types/Tax/Calculations.d.ts +12 -12
  174. package/types/Tax/CalculationsResource.d.ts +7 -7
  175. package/types/Tax/Registrations.d.ts +3 -3
  176. package/types/Tax/Settings.d.ts +1 -1
  177. package/types/Tax/SettingsResource.d.ts +1 -1
  178. package/types/Tax/TransactionLineItems.d.ts +5 -5
  179. package/types/Tax/Transactions.d.ts +9 -9
  180. package/types/Tax/TransactionsResource.d.ts +10 -10
  181. package/types/TaxIds.d.ts +6 -6
  182. package/types/TaxIdsResource.d.ts +4 -4
  183. package/types/TaxRates.d.ts +1 -1
  184. package/types/TaxRatesResource.d.ts +2 -2
  185. package/types/Terminal/Configurations.d.ts +0 -9
  186. package/types/Terminal/ConfigurationsResource.d.ts +0 -28
  187. package/types/Terminal/ConnectionTokens.d.ts +1 -1
  188. package/types/Terminal/Locations.d.ts +2 -2
  189. package/types/Terminal/LocationsResource.d.ts +3 -3
  190. package/types/Terminal/Readers.d.ts +10 -30
  191. package/types/Terminal/ReadersResource.d.ts +7 -7
  192. package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
  193. package/types/TestHelpers/CustomersResource.d.ts +2 -2
  194. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
  195. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
  196. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
  197. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
  198. package/types/Tokens.d.ts +4 -4
  199. package/types/TokensResource.d.ts +17 -17
  200. package/types/Topups.d.ts +3 -3
  201. package/types/TopupsResource.d.ts +3 -3
  202. package/types/TransferReversals.d.ts +4 -4
  203. package/types/Transfers.d.ts +5 -10
  204. package/types/TransfersResource.d.ts +6 -11
  205. package/types/Treasury/CreditReversals.d.ts +3 -3
  206. package/types/Treasury/CreditReversalsResource.d.ts +1 -1
  207. package/types/Treasury/DebitReversals.d.ts +3 -3
  208. package/types/Treasury/DebitReversalsResource.d.ts +1 -1
  209. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  210. package/types/Treasury/FinancialAccounts.d.ts +1 -6
  211. package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
  212. package/types/Treasury/InboundTransfers.d.ts +4 -4
  213. package/types/Treasury/InboundTransfersResource.d.ts +2 -2
  214. package/types/Treasury/OutboundPayments.d.ts +5 -5
  215. package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
  216. package/types/Treasury/OutboundTransfers.d.ts +4 -30
  217. package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
  218. package/types/Treasury/ReceivedCredits.d.ts +9 -35
  219. package/types/Treasury/ReceivedDebits.d.ts +6 -37
  220. package/types/Treasury/TransactionEntries.d.ts +11 -11
  221. package/types/Treasury/Transactions.d.ts +11 -11
  222. package/types/V2/Core/AccountLinks.d.ts +13 -21
  223. package/types/V2/Core/AccountLinksResource.d.ts +8 -16
  224. package/types/V2/Core/AccountPersons.d.ts +55 -10
  225. package/types/V2/Core/AccountTokensResource.d.ts +129 -24
  226. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
  227. package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
  228. package/types/V2/Core/Accounts.d.ts +256 -1349
  229. package/types/V2/Core/AccountsResource.d.ts +282 -567
  230. package/types/V2/Core/EventTypes.d.ts +10 -1542
  231. package/types/WebhookEndpoints.d.ts +1 -1
  232. package/types/WebhookEndpointsResource.d.ts +5 -79
  233. package/types/apiVersion.d.ts +2 -1
  234. package/types/index.d.ts +0 -134
  235. package/types/lib.d.ts +0 -10
  236. package/cjs/resources/AccountNotices.js +0 -21
  237. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  238. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  239. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  240. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  241. package/cjs/resources/ExternalAccounts.js +0 -23
  242. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  243. package/cjs/resources/FxQuotes.js +0 -15
  244. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  245. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  246. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  247. package/cjs/resources/Margins.js +0 -22
  248. package/cjs/resources/Orders.js +0 -24
  249. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  250. package/cjs/resources/Tax/Forms.js +0 -20
  251. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  252. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  253. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  254. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  255. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  256. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  257. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  258. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
  259. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
  260. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  261. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
  262. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  263. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  264. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  265. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  266. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  267. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  268. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  269. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  270. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  271. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  272. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  273. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  274. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  275. package/esm/resources/AccountNotices.js +0 -18
  276. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  277. package/esm/resources/Capital/FinancingOffers.js +0 -18
  278. package/esm/resources/Capital/FinancingSummary.js +0 -9
  279. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  280. package/esm/resources/ExternalAccounts.js +0 -20
  281. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  282. package/esm/resources/FxQuotes.js +0 -12
  283. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  284. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  285. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  286. package/esm/resources/Margins.js +0 -19
  287. package/esm/resources/Orders.js +0 -21
  288. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  289. package/esm/resources/Tax/Forms.js +0 -17
  290. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  291. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  292. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  293. package/esm/resources/V2/Billing/Cadences.js +0 -20
  294. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  295. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  296. package/esm/resources/V2/Billing/Profiles.js +0 -16
  297. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
  298. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
  299. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  300. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
  301. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  302. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  303. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  304. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  305. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  306. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  307. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  308. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  309. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  310. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  311. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  312. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  313. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  314. package/types/AccountNotices.d.ts +0 -113
  315. package/types/AccountNoticesResource.d.ts +0 -98
  316. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  317. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
  318. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
  319. package/types/Capital/FinancingOffers.d.ts +0 -188
  320. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  321. package/types/Capital/FinancingSummary.d.ts +0 -106
  322. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  323. package/types/Capital/FinancingTransactions.d.ts +0 -135
  324. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  325. package/types/ExternalAccountsResource.d.ts +0 -304
  326. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  327. package/types/FinancialConnections/Institutions.d.ts +0 -98
  328. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  329. package/types/FxQuotes.d.ts +0 -155
  330. package/types/FxQuotesResource.d.ts +0 -130
  331. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  332. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  333. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  334. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  335. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  336. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  337. package/types/Issuing/Settlements.d.ts +0 -113
  338. package/types/Margins.d.ts +0 -56
  339. package/types/MarginsResource.d.ts +0 -114
  340. package/types/Orders.d.ts +0 -1163
  341. package/types/OrdersResource.d.ts +0 -5505
  342. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  343. package/types/Privacy/RedactionJobs.d.ts +0 -111
  344. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  345. package/types/QuoteLines.d.ts +0 -634
  346. package/types/QuotePreviewInvoices.d.ts +0 -1771
  347. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
  348. package/types/Tax/Forms.d.ts +0 -220
  349. package/types/Tax/FormsResource.d.ts +0 -107
  350. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  351. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  352. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  353. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  354. package/types/V2/Billing/BillSettings.d.ts +0 -120
  355. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  356. package/types/V2/Billing/Cadences.d.ts +0 -690
  357. package/types/V2/Billing/CadencesResource.d.ts +0 -487
  358. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
  359. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  360. package/types/V2/Billing/CollectionSettings.d.ts +0 -341
  361. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
  362. package/types/V2/Billing/Profiles.d.ts +0 -70
  363. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  364. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  365. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
  366. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
  367. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
  368. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  369. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  370. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  371. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  372. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
  373. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
  374. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
  375. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
  376. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
  377. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  378. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  379. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  380. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  381. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  382. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  383. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  384. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  385. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  386. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  387. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
  388. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  389. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  390. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
  391. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  392. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  393. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  394. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  395. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  396. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  397. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  398. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -66,12 +66,12 @@ declare module 'stripe' {
66
66
  flow_directions?: Array<SetupIntentCreateParams.FlowDirection>;
67
67
 
68
68
  /**
69
- * This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
69
+ * This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).
70
70
  */
71
71
  mandate_data?: Stripe.Emptyable<SetupIntentCreateParams.MandateData>;
72
72
 
73
73
  /**
74
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
74
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
75
75
  */
76
76
  metadata?: Stripe.MetadataParam;
77
77
 
@@ -86,12 +86,12 @@ declare module 'stripe' {
86
86
  payment_method?: string;
87
87
 
88
88
  /**
89
- * The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
89
+ * The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent.
90
90
  */
91
91
  payment_method_configuration?: string;
92
92
 
93
93
  /**
94
- * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
94
+ * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
95
95
  * value in the SetupIntent.
96
96
  */
97
97
  payment_method_data?: SetupIntentCreateParams.PaymentMethodData;
@@ -107,7 +107,7 @@ declare module 'stripe' {
107
107
  payment_method_types?: Array<string>;
108
108
 
109
109
  /**
110
- * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
110
+ * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).
111
111
  */
112
112
  return_url?: string;
113
113
 
@@ -134,7 +134,7 @@ declare module 'stripe' {
134
134
  /**
135
135
  * Controls whether this SetupIntent will accept redirect-based payment methods.
136
136
  *
137
- * Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
137
+ * Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
138
138
  */
139
139
  allow_redirects?: AutomaticPaymentMethods.AllowRedirects;
140
140
 
@@ -168,9 +168,7 @@ declare module 'stripe' {
168
168
  | 'eps'
169
169
  | 'fpx'
170
170
  | 'giropay'
171
- | 'gopay'
172
171
  | 'grabpay'
173
- | 'id_bank_transfer'
174
172
  | 'ideal'
175
173
  | 'kakao_pay'
176
174
  | 'klarna'
@@ -187,19 +185,14 @@ declare module 'stripe' {
187
185
  | 'payco'
188
186
  | 'paynow'
189
187
  | 'paypal'
190
- | 'paypay'
191
188
  | 'payto'
192
189
  | 'pix'
193
190
  | 'promptpay'
194
- | 'qris'
195
- | 'rechnung'
196
191
  | 'revolut_pay'
197
192
  | 'samsung_pay'
198
193
  | 'satispay'
199
194
  | 'sepa_debit'
200
- | 'shopeepay'
201
195
  | 'sofort'
202
- | 'stripe_balance'
203
196
  | 'swish'
204
197
  | 'twint'
205
198
  | 'us_bank_account'
@@ -358,21 +351,11 @@ declare module 'stripe' {
358
351
  */
359
352
  giropay?: PaymentMethodData.Giropay;
360
353
 
361
- /**
362
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
363
- */
364
- gopay?: PaymentMethodData.Gopay;
365
-
366
354
  /**
367
355
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
368
356
  */
369
357
  grabpay?: PaymentMethodData.Grabpay;
370
358
 
371
- /**
372
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
373
- */
374
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
375
-
376
359
  /**
377
360
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
378
361
  */
@@ -414,7 +397,7 @@ declare module 'stripe' {
414
397
  mb_way?: PaymentMethodData.MbWay;
415
398
 
416
399
  /**
417
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
400
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
418
401
  */
419
402
  metadata?: Stripe.MetadataParam;
420
403
 
@@ -468,11 +451,6 @@ declare module 'stripe' {
468
451
  */
469
452
  paypal?: PaymentMethodData.Paypal;
470
453
 
471
- /**
472
- * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
473
- */
474
- paypay?: PaymentMethodData.Paypay;
475
-
476
454
  /**
477
455
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
478
456
  */
@@ -489,20 +467,10 @@ declare module 'stripe' {
489
467
  promptpay?: PaymentMethodData.Promptpay;
490
468
 
491
469
  /**
492
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
493
- */
494
- qris?: PaymentMethodData.Qris;
495
-
496
- /**
497
- * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
470
+ * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
498
471
  */
499
472
  radar_options?: PaymentMethodData.RadarOptions;
500
473
 
501
- /**
502
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
503
- */
504
- rechnung?: PaymentMethodData.Rechnung;
505
-
506
474
  /**
507
475
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
508
476
  */
@@ -523,21 +491,11 @@ declare module 'stripe' {
523
491
  */
524
492
  sepa_debit?: PaymentMethodData.SepaDebit;
525
493
 
526
- /**
527
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
528
- */
529
- shopeepay?: PaymentMethodData.Shopeepay;
530
-
531
494
  /**
532
495
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
533
496
  */
534
497
  sofort?: PaymentMethodData.Sofort;
535
498
 
536
- /**
537
- * This hash contains details about the Stripe balance payment method.
538
- */
539
- stripe_balance?: PaymentMethodData.StripeBalance;
540
-
541
499
  /**
542
500
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
543
501
  */
@@ -750,21 +708,8 @@ declare module 'stripe' {
750
708
 
751
709
  interface Giropay {}
752
710
 
753
- interface Gopay {}
754
-
755
711
  interface Grabpay {}
756
712
 
757
- interface IdBankTransfer {
758
- /**
759
- * Bank where the account is held.
760
- */
761
- bank?: IdBankTransfer.Bank;
762
- }
763
-
764
- namespace IdBankTransfer {
765
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
766
- }
767
-
768
713
  interface Ideal {
769
714
  /**
770
715
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -782,6 +727,7 @@ declare module 'stripe' {
782
727
  | 'handelsbanken'
783
728
  | 'ing'
784
729
  | 'knab'
730
+ | 'mollie'
785
731
  | 'moneyou'
786
732
  | 'n26'
787
733
  | 'nn'
@@ -923,8 +869,6 @@ declare module 'stripe' {
923
869
 
924
870
  interface Paypal {}
925
871
 
926
- interface Paypay {}
927
-
928
872
  interface Payto {
929
873
  /**
930
874
  * The account number for the bank account.
@@ -946,41 +890,13 @@ declare module 'stripe' {
946
890
 
947
891
  interface Promptpay {}
948
892
 
949
- interface Qris {}
950
-
951
893
  interface RadarOptions {
952
894
  /**
953
- * 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.
895
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
954
896
  */
955
897
  session?: string;
956
898
  }
957
899
 
958
- interface Rechnung {
959
- /**
960
- * Customer's date of birth
961
- */
962
- dob: Rechnung.Dob;
963
- }
964
-
965
- namespace Rechnung {
966
- interface Dob {
967
- /**
968
- * The day of birth, between 1 and 31.
969
- */
970
- day: number;
971
-
972
- /**
973
- * The month of birth, between 1 and 12.
974
- */
975
- month: number;
976
-
977
- /**
978
- * The four-digit year of birth.
979
- */
980
- year: number;
981
- }
982
- }
983
-
984
900
  interface RevolutPay {}
985
901
 
986
902
  interface SamsungPay {}
@@ -994,8 +910,6 @@ declare module 'stripe' {
994
910
  iban: string;
995
911
  }
996
912
 
997
- interface Shopeepay {}
998
-
999
913
  interface Sofort {
1000
914
  /**
1001
915
  * Two-letter ISO code representing the country the bank account is located in.
@@ -1007,22 +921,6 @@ declare module 'stripe' {
1007
921
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
1008
922
  }
1009
923
 
1010
- interface StripeBalance {
1011
- /**
1012
- * The connected account ID whose Stripe balance to use as the source of payment
1013
- */
1014
- account?: string;
1015
-
1016
- /**
1017
- * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1018
- */
1019
- source_type?: StripeBalance.SourceType;
1020
- }
1021
-
1022
- namespace StripeBalance {
1023
- type SourceType = 'bank_account' | 'card' | 'fpx';
1024
- }
1025
-
1026
924
  interface Swish {}
1027
925
 
1028
926
  interface Twint {}
@@ -1046,9 +944,7 @@ declare module 'stripe' {
1046
944
  | 'eps'
1047
945
  | 'fpx'
1048
946
  | 'giropay'
1049
- | 'gopay'
1050
947
  | 'grabpay'
1051
- | 'id_bank_transfer'
1052
948
  | 'ideal'
1053
949
  | 'kakao_pay'
1054
950
  | 'klarna'
@@ -1066,19 +962,14 @@ declare module 'stripe' {
1066
962
  | 'payco'
1067
963
  | 'paynow'
1068
964
  | 'paypal'
1069
- | 'paypay'
1070
965
  | 'payto'
1071
966
  | 'pix'
1072
967
  | 'promptpay'
1073
- | 'qris'
1074
- | 'rechnung'
1075
968
  | 'revolut_pay'
1076
969
  | 'samsung_pay'
1077
970
  | 'satispay'
1078
971
  | 'sepa_debit'
1079
- | 'shopeepay'
1080
972
  | 'sofort'
1081
- | 'stripe_balance'
1082
973
  | 'swish'
1083
974
  | 'twint'
1084
975
  | 'us_bank_account'
@@ -1169,11 +1060,6 @@ declare module 'stripe' {
1169
1060
  */
1170
1061
  payto?: PaymentMethodOptions.Payto;
1171
1062
 
1172
- /**
1173
- * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
1174
- */
1175
- pix?: PaymentMethodOptions.Pix;
1176
-
1177
1063
  /**
1178
1064
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1179
1065
  */
@@ -1283,7 +1169,7 @@ declare module 'stripe' {
1283
1169
  network?: Card.Network;
1284
1170
 
1285
1171
  /**
1286
- * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1172
+ * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1287
1173
  */
1288
1174
  request_three_d_secure?: Card.RequestThreeDSecure;
1289
1175
 
@@ -1621,13 +1507,6 @@ declare module 'stripe' {
1621
1507
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1622
1508
  */
1623
1509
  billing_agreement_id?: string;
1624
-
1625
- currency?: string;
1626
-
1627
- /**
1628
- * 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.
1629
- */
1630
- subsellers?: Array<string>;
1631
1510
  }
1632
1511
 
1633
1512
  interface Payto {
@@ -1642,37 +1521,37 @@ declare module 'stripe' {
1642
1521
  /**
1643
1522
  * Amount that will be collected. It is required when `amount_type` is `fixed`.
1644
1523
  */
1645
- amount?: number;
1524
+ amount?: Stripe.Emptyable<number>;
1646
1525
 
1647
1526
  /**
1648
1527
  * 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. Defaults to `maximum`.
1649
1528
  */
1650
- amount_type?: MandateOptions.AmountType;
1529
+ amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
1651
1530
 
1652
1531
  /**
1653
1532
  * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1654
1533
  */
1655
- end_date?: string;
1534
+ end_date?: Stripe.Emptyable<string>;
1656
1535
 
1657
1536
  /**
1658
1537
  * The periodicity at which payments will be collected. Defaults to `adhoc`.
1659
1538
  */
1660
- payment_schedule?: MandateOptions.PaymentSchedule;
1539
+ payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
1661
1540
 
1662
1541
  /**
1663
1542
  * 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.
1664
1543
  */
1665
- payments_per_period?: number;
1544
+ payments_per_period?: Stripe.Emptyable<number>;
1666
1545
 
1667
1546
  /**
1668
1547
  * The purpose for which payments are made. Has a default value based on your merchant category code.
1669
1548
  */
1670
- purpose?: MandateOptions.Purpose;
1549
+ purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
1671
1550
 
1672
1551
  /**
1673
1552
  * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1674
1553
  */
1675
- start_date?: string;
1554
+ start_date?: Stripe.Emptyable<string>;
1676
1555
  }
1677
1556
 
1678
1557
  namespace MandateOptions {
@@ -1703,70 +1582,6 @@ declare module 'stripe' {
1703
1582
  }
1704
1583
  }
1705
1584
 
1706
- interface Pix {
1707
- /**
1708
- * Additional fields for mandate creation.
1709
- */
1710
- mandate_options?: Pix.MandateOptions;
1711
- }
1712
-
1713
- namespace Pix {
1714
- interface MandateOptions {
1715
- /**
1716
- * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
1717
- */
1718
- amount?: number;
1719
-
1720
- /**
1721
- * Determines if the amount includes the IOF tax. Defaults to `never`.
1722
- */
1723
- amount_includes_iof?: MandateOptions.AmountIncludesIof;
1724
-
1725
- /**
1726
- * Type of amount. Defaults to `maximum`.
1727
- */
1728
- amount_type?: MandateOptions.AmountType;
1729
-
1730
- /**
1731
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
1732
- */
1733
- currency?: string;
1734
-
1735
- /**
1736
- * 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.
1737
- */
1738
- end_date?: string;
1739
-
1740
- /**
1741
- * Schedule at which the future payments will be charged. Defaults to `weekly`.
1742
- */
1743
- payment_schedule?: MandateOptions.PaymentSchedule;
1744
-
1745
- /**
1746
- * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
1747
- */
1748
- reference?: string;
1749
-
1750
- /**
1751
- * 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.
1752
- */
1753
- start_date?: string;
1754
- }
1755
-
1756
- namespace MandateOptions {
1757
- type AmountIncludesIof = 'always' | 'never';
1758
-
1759
- type AmountType = 'fixed' | 'maximum';
1760
-
1761
- type PaymentSchedule =
1762
- | 'halfyearly'
1763
- | 'monthly'
1764
- | 'quarterly'
1765
- | 'weekly'
1766
- | 'yearly';
1767
- }
1768
- }
1769
-
1770
1585
  interface SepaDebit {
1771
1586
  /**
1772
1587
  * Additional fields for Mandate creation
@@ -1812,11 +1627,6 @@ declare module 'stripe' {
1812
1627
  */
1813
1628
  filters?: FinancialConnections.Filters;
1814
1629
 
1815
- /**
1816
- * Customize manual entry behavior
1817
- */
1818
- manual_entry?: FinancialConnections.ManualEntry;
1819
-
1820
1630
  /**
1821
1631
  * 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`.
1822
1632
  */
@@ -1839,39 +1649,19 @@ declare module 'stripe' {
1839
1649
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1840
1650
  */
1841
1651
  account_subcategories?: Array<Filters.AccountSubcategory>;
1842
-
1843
- /**
1844
- * ID of the institution to use to filter for selectable accounts.
1845
- */
1846
- institution?: string;
1847
1652
  }
1848
1653
 
1849
1654
  namespace Filters {
1850
1655
  type AccountSubcategory = 'checking' | 'savings';
1851
1656
  }
1852
1657
 
1853
- interface ManualEntry {
1854
- /**
1855
- * Settings for configuring manual entry of account details.
1856
- */
1857
- mode: ManualEntry.Mode;
1858
- }
1859
-
1860
- namespace ManualEntry {
1861
- type Mode = 'automatic' | 'custom';
1862
- }
1863
-
1864
1658
  type Permission =
1865
1659
  | 'balances'
1866
1660
  | 'ownership'
1867
1661
  | 'payment_method'
1868
1662
  | 'transactions';
1869
1663
 
1870
- type Prefetch =
1871
- | 'balances'
1872
- | 'inferred_balances'
1873
- | 'ownership'
1874
- | 'transactions';
1664
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
1875
1665
  }
1876
1666
 
1877
1667
  interface MandateOptions {
@@ -1898,7 +1688,7 @@ declare module 'stripe' {
1898
1688
 
1899
1689
  interface SingleUse {
1900
1690
  /**
1901
- * Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1691
+ * Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1902
1692
  */
1903
1693
  amount: number;
1904
1694
 
@@ -1970,7 +1760,7 @@ declare module 'stripe' {
1970
1760
  flow_directions?: Array<SetupIntentUpdateParams.FlowDirection>;
1971
1761
 
1972
1762
  /**
1973
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1763
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1974
1764
  */
1975
1765
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
1976
1766
 
@@ -1980,12 +1770,12 @@ declare module 'stripe' {
1980
1770
  payment_method?: string;
1981
1771
 
1982
1772
  /**
1983
- * The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1773
+ * The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent.
1984
1774
  */
1985
1775
  payment_method_configuration?: string;
1986
1776
 
1987
1777
  /**
1988
- * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
1778
+ * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
1989
1779
  * value in the SetupIntent.
1990
1780
  */
1991
1781
  payment_method_data?: SetupIntentUpdateParams.PaymentMethodData;
@@ -2022,9 +1812,7 @@ declare module 'stripe' {
2022
1812
  | 'eps'
2023
1813
  | 'fpx'
2024
1814
  | 'giropay'
2025
- | 'gopay'
2026
1815
  | 'grabpay'
2027
- | 'id_bank_transfer'
2028
1816
  | 'ideal'
2029
1817
  | 'kakao_pay'
2030
1818
  | 'klarna'
@@ -2041,19 +1829,14 @@ declare module 'stripe' {
2041
1829
  | 'payco'
2042
1830
  | 'paynow'
2043
1831
  | 'paypal'
2044
- | 'paypay'
2045
1832
  | 'payto'
2046
1833
  | 'pix'
2047
1834
  | 'promptpay'
2048
- | 'qris'
2049
- | 'rechnung'
2050
1835
  | 'revolut_pay'
2051
1836
  | 'samsung_pay'
2052
1837
  | 'satispay'
2053
1838
  | 'sepa_debit'
2054
- | 'shopeepay'
2055
1839
  | 'sofort'
2056
- | 'stripe_balance'
2057
1840
  | 'swish'
2058
1841
  | 'twint'
2059
1842
  | 'us_bank_account'
@@ -2163,21 +1946,11 @@ declare module 'stripe' {
2163
1946
  */
2164
1947
  giropay?: PaymentMethodData.Giropay;
2165
1948
 
2166
- /**
2167
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2168
- */
2169
- gopay?: PaymentMethodData.Gopay;
2170
-
2171
1949
  /**
2172
1950
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2173
1951
  */
2174
1952
  grabpay?: PaymentMethodData.Grabpay;
2175
1953
 
2176
- /**
2177
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2178
- */
2179
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
2180
-
2181
1954
  /**
2182
1955
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2183
1956
  */
@@ -2219,7 +1992,7 @@ declare module 'stripe' {
2219
1992
  mb_way?: PaymentMethodData.MbWay;
2220
1993
 
2221
1994
  /**
2222
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1995
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2223
1996
  */
2224
1997
  metadata?: Stripe.MetadataParam;
2225
1998
 
@@ -2273,11 +2046,6 @@ declare module 'stripe' {
2273
2046
  */
2274
2047
  paypal?: PaymentMethodData.Paypal;
2275
2048
 
2276
- /**
2277
- * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2278
- */
2279
- paypay?: PaymentMethodData.Paypay;
2280
-
2281
2049
  /**
2282
2050
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2283
2051
  */
@@ -2294,20 +2062,10 @@ declare module 'stripe' {
2294
2062
  promptpay?: PaymentMethodData.Promptpay;
2295
2063
 
2296
2064
  /**
2297
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2298
- */
2299
- qris?: PaymentMethodData.Qris;
2300
-
2301
- /**
2302
- * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2065
+ * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2303
2066
  */
2304
2067
  radar_options?: PaymentMethodData.RadarOptions;
2305
2068
 
2306
- /**
2307
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2308
- */
2309
- rechnung?: PaymentMethodData.Rechnung;
2310
-
2311
2069
  /**
2312
2070
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2313
2071
  */
@@ -2328,21 +2086,11 @@ declare module 'stripe' {
2328
2086
  */
2329
2087
  sepa_debit?: PaymentMethodData.SepaDebit;
2330
2088
 
2331
- /**
2332
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2333
- */
2334
- shopeepay?: PaymentMethodData.Shopeepay;
2335
-
2336
2089
  /**
2337
2090
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2338
2091
  */
2339
2092
  sofort?: PaymentMethodData.Sofort;
2340
2093
 
2341
- /**
2342
- * This hash contains details about the Stripe balance payment method.
2343
- */
2344
- stripe_balance?: PaymentMethodData.StripeBalance;
2345
-
2346
2094
  /**
2347
2095
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2348
2096
  */
@@ -2555,21 +2303,8 @@ declare module 'stripe' {
2555
2303
 
2556
2304
  interface Giropay {}
2557
2305
 
2558
- interface Gopay {}
2559
-
2560
2306
  interface Grabpay {}
2561
2307
 
2562
- interface IdBankTransfer {
2563
- /**
2564
- * Bank where the account is held.
2565
- */
2566
- bank?: IdBankTransfer.Bank;
2567
- }
2568
-
2569
- namespace IdBankTransfer {
2570
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
2571
- }
2572
-
2573
2308
  interface Ideal {
2574
2309
  /**
2575
2310
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2587,6 +2322,7 @@ declare module 'stripe' {
2587
2322
  | 'handelsbanken'
2588
2323
  | 'ing'
2589
2324
  | 'knab'
2325
+ | 'mollie'
2590
2326
  | 'moneyou'
2591
2327
  | 'n26'
2592
2328
  | 'nn'
@@ -2728,8 +2464,6 @@ declare module 'stripe' {
2728
2464
 
2729
2465
  interface Paypal {}
2730
2466
 
2731
- interface Paypay {}
2732
-
2733
2467
  interface Payto {
2734
2468
  /**
2735
2469
  * The account number for the bank account.
@@ -2751,41 +2485,13 @@ declare module 'stripe' {
2751
2485
 
2752
2486
  interface Promptpay {}
2753
2487
 
2754
- interface Qris {}
2755
-
2756
2488
  interface RadarOptions {
2757
2489
  /**
2758
- * 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.
2490
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2759
2491
  */
2760
2492
  session?: string;
2761
2493
  }
2762
2494
 
2763
- interface Rechnung {
2764
- /**
2765
- * Customer's date of birth
2766
- */
2767
- dob: Rechnung.Dob;
2768
- }
2769
-
2770
- namespace Rechnung {
2771
- interface Dob {
2772
- /**
2773
- * The day of birth, between 1 and 31.
2774
- */
2775
- day: number;
2776
-
2777
- /**
2778
- * The month of birth, between 1 and 12.
2779
- */
2780
- month: number;
2781
-
2782
- /**
2783
- * The four-digit year of birth.
2784
- */
2785
- year: number;
2786
- }
2787
- }
2788
-
2789
2495
  interface RevolutPay {}
2790
2496
 
2791
2497
  interface SamsungPay {}
@@ -2799,8 +2505,6 @@ declare module 'stripe' {
2799
2505
  iban: string;
2800
2506
  }
2801
2507
 
2802
- interface Shopeepay {}
2803
-
2804
2508
  interface Sofort {
2805
2509
  /**
2806
2510
  * Two-letter ISO code representing the country the bank account is located in.
@@ -2812,22 +2516,6 @@ declare module 'stripe' {
2812
2516
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
2813
2517
  }
2814
2518
 
2815
- interface StripeBalance {
2816
- /**
2817
- * The connected account ID whose Stripe balance to use as the source of payment
2818
- */
2819
- account?: string;
2820
-
2821
- /**
2822
- * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2823
- */
2824
- source_type?: StripeBalance.SourceType;
2825
- }
2826
-
2827
- namespace StripeBalance {
2828
- type SourceType = 'bank_account' | 'card' | 'fpx';
2829
- }
2830
-
2831
2519
  interface Swish {}
2832
2520
 
2833
2521
  interface Twint {}
@@ -2851,9 +2539,7 @@ declare module 'stripe' {
2851
2539
  | 'eps'
2852
2540
  | 'fpx'
2853
2541
  | 'giropay'
2854
- | 'gopay'
2855
2542
  | 'grabpay'
2856
- | 'id_bank_transfer'
2857
2543
  | 'ideal'
2858
2544
  | 'kakao_pay'
2859
2545
  | 'klarna'
@@ -2871,19 +2557,14 @@ declare module 'stripe' {
2871
2557
  | 'payco'
2872
2558
  | 'paynow'
2873
2559
  | 'paypal'
2874
- | 'paypay'
2875
2560
  | 'payto'
2876
2561
  | 'pix'
2877
2562
  | 'promptpay'
2878
- | 'qris'
2879
- | 'rechnung'
2880
2563
  | 'revolut_pay'
2881
2564
  | 'samsung_pay'
2882
2565
  | 'satispay'
2883
2566
  | 'sepa_debit'
2884
- | 'shopeepay'
2885
2567
  | 'sofort'
2886
- | 'stripe_balance'
2887
2568
  | 'swish'
2888
2569
  | 'twint'
2889
2570
  | 'us_bank_account'
@@ -2974,11 +2655,6 @@ declare module 'stripe' {
2974
2655
  */
2975
2656
  payto?: PaymentMethodOptions.Payto;
2976
2657
 
2977
- /**
2978
- * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
2979
- */
2980
- pix?: PaymentMethodOptions.Pix;
2981
-
2982
2658
  /**
2983
2659
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2984
2660
  */
@@ -3088,7 +2764,7 @@ declare module 'stripe' {
3088
2764
  network?: Card.Network;
3089
2765
 
3090
2766
  /**
3091
- * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2767
+ * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3092
2768
  */
3093
2769
  request_three_d_secure?: Card.RequestThreeDSecure;
3094
2770
 
@@ -3426,13 +3102,6 @@ declare module 'stripe' {
3426
3102
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3427
3103
  */
3428
3104
  billing_agreement_id?: string;
3429
-
3430
- currency?: string;
3431
-
3432
- /**
3433
- * 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.
3434
- */
3435
- subsellers?: Array<string>;
3436
3105
  }
3437
3106
 
3438
3107
  interface Payto {
@@ -3447,37 +3116,37 @@ declare module 'stripe' {
3447
3116
  /**
3448
3117
  * Amount that will be collected. It is required when `amount_type` is `fixed`.
3449
3118
  */
3450
- amount?: number;
3119
+ amount?: Stripe.Emptyable<number>;
3451
3120
 
3452
3121
  /**
3453
3122
  * 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. Defaults to `maximum`.
3454
3123
  */
3455
- amount_type?: MandateOptions.AmountType;
3124
+ amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
3456
3125
 
3457
3126
  /**
3458
3127
  * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3459
3128
  */
3460
- end_date?: string;
3129
+ end_date?: Stripe.Emptyable<string>;
3461
3130
 
3462
3131
  /**
3463
3132
  * The periodicity at which payments will be collected. Defaults to `adhoc`.
3464
3133
  */
3465
- payment_schedule?: MandateOptions.PaymentSchedule;
3134
+ payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
3466
3135
 
3467
3136
  /**
3468
3137
  * 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.
3469
3138
  */
3470
- payments_per_period?: number;
3139
+ payments_per_period?: Stripe.Emptyable<number>;
3471
3140
 
3472
3141
  /**
3473
3142
  * The purpose for which payments are made. Has a default value based on your merchant category code.
3474
3143
  */
3475
- purpose?: MandateOptions.Purpose;
3144
+ purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
3476
3145
 
3477
3146
  /**
3478
3147
  * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3479
3148
  */
3480
- start_date?: string;
3149
+ start_date?: Stripe.Emptyable<string>;
3481
3150
  }
3482
3151
 
3483
3152
  namespace MandateOptions {
@@ -3508,70 +3177,6 @@ declare module 'stripe' {
3508
3177
  }
3509
3178
  }
3510
3179
 
3511
- interface Pix {
3512
- /**
3513
- * Additional fields for mandate creation.
3514
- */
3515
- mandate_options?: Pix.MandateOptions;
3516
- }
3517
-
3518
- namespace Pix {
3519
- interface MandateOptions {
3520
- /**
3521
- * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
3522
- */
3523
- amount?: number;
3524
-
3525
- /**
3526
- * Determines if the amount includes the IOF tax. Defaults to `never`.
3527
- */
3528
- amount_includes_iof?: MandateOptions.AmountIncludesIof;
3529
-
3530
- /**
3531
- * Type of amount. Defaults to `maximum`.
3532
- */
3533
- amount_type?: MandateOptions.AmountType;
3534
-
3535
- /**
3536
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
3537
- */
3538
- currency?: string;
3539
-
3540
- /**
3541
- * 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.
3542
- */
3543
- end_date?: string;
3544
-
3545
- /**
3546
- * Schedule at which the future payments will be charged. Defaults to `weekly`.
3547
- */
3548
- payment_schedule?: MandateOptions.PaymentSchedule;
3549
-
3550
- /**
3551
- * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
3552
- */
3553
- reference?: string;
3554
-
3555
- /**
3556
- * 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.
3557
- */
3558
- start_date?: string;
3559
- }
3560
-
3561
- namespace MandateOptions {
3562
- type AmountIncludesIof = 'always' | 'never';
3563
-
3564
- type AmountType = 'fixed' | 'maximum';
3565
-
3566
- type PaymentSchedule =
3567
- | 'halfyearly'
3568
- | 'monthly'
3569
- | 'quarterly'
3570
- | 'weekly'
3571
- | 'yearly';
3572
- }
3573
- }
3574
-
3575
3180
  interface SepaDebit {
3576
3181
  /**
3577
3182
  * Additional fields for Mandate creation
@@ -3617,11 +3222,6 @@ declare module 'stripe' {
3617
3222
  */
3618
3223
  filters?: FinancialConnections.Filters;
3619
3224
 
3620
- /**
3621
- * Customize manual entry behavior
3622
- */
3623
- manual_entry?: FinancialConnections.ManualEntry;
3624
-
3625
3225
  /**
3626
3226
  * 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`.
3627
3227
  */
@@ -3644,39 +3244,19 @@ declare module 'stripe' {
3644
3244
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3645
3245
  */
3646
3246
  account_subcategories?: Array<Filters.AccountSubcategory>;
3647
-
3648
- /**
3649
- * ID of the institution to use to filter for selectable accounts.
3650
- */
3651
- institution?: string;
3652
3247
  }
3653
3248
 
3654
3249
  namespace Filters {
3655
3250
  type AccountSubcategory = 'checking' | 'savings';
3656
3251
  }
3657
3252
 
3658
- interface ManualEntry {
3659
- /**
3660
- * Settings for configuring manual entry of account details.
3661
- */
3662
- mode: ManualEntry.Mode;
3663
- }
3664
-
3665
- namespace ManualEntry {
3666
- type Mode = 'automatic' | 'custom';
3667
- }
3668
-
3669
3253
  type Permission =
3670
3254
  | 'balances'
3671
3255
  | 'ownership'
3672
3256
  | 'payment_method'
3673
3257
  | 'transactions';
3674
3258
 
3675
- type Prefetch =
3676
- | 'balances'
3677
- | 'inferred_balances'
3678
- | 'ownership'
3679
- | 'transactions';
3259
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3680
3260
  }
3681
3261
 
3682
3262
  interface MandateOptions {
@@ -3776,7 +3356,7 @@ declare module 'stripe' {
3776
3356
  payment_method?: string;
3777
3357
 
3778
3358
  /**
3779
- * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
3359
+ * When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
3780
3360
  * value in the SetupIntent.
3781
3361
  */
3782
3362
  payment_method_data?: SetupIntentConfirmParams.PaymentMethodData;
@@ -3950,21 +3530,11 @@ declare module 'stripe' {
3950
3530
  */
3951
3531
  giropay?: PaymentMethodData.Giropay;
3952
3532
 
3953
- /**
3954
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3955
- */
3956
- gopay?: PaymentMethodData.Gopay;
3957
-
3958
3533
  /**
3959
3534
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3960
3535
  */
3961
3536
  grabpay?: PaymentMethodData.Grabpay;
3962
3537
 
3963
- /**
3964
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3965
- */
3966
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
3967
-
3968
3538
  /**
3969
3539
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3970
3540
  */
@@ -4006,7 +3576,7 @@ declare module 'stripe' {
4006
3576
  mb_way?: PaymentMethodData.MbWay;
4007
3577
 
4008
3578
  /**
4009
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3579
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4010
3580
  */
4011
3581
  metadata?: Stripe.MetadataParam;
4012
3582
 
@@ -4060,11 +3630,6 @@ declare module 'stripe' {
4060
3630
  */
4061
3631
  paypal?: PaymentMethodData.Paypal;
4062
3632
 
4063
- /**
4064
- * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
4065
- */
4066
- paypay?: PaymentMethodData.Paypay;
4067
-
4068
3633
  /**
4069
3634
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
4070
3635
  */
@@ -4081,20 +3646,10 @@ declare module 'stripe' {
4081
3646
  promptpay?: PaymentMethodData.Promptpay;
4082
3647
 
4083
3648
  /**
4084
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
4085
- */
4086
- qris?: PaymentMethodData.Qris;
4087
-
4088
- /**
4089
- * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3649
+ * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
4090
3650
  */
4091
3651
  radar_options?: PaymentMethodData.RadarOptions;
4092
3652
 
4093
- /**
4094
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
4095
- */
4096
- rechnung?: PaymentMethodData.Rechnung;
4097
-
4098
3653
  /**
4099
3654
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
4100
3655
  */
@@ -4115,21 +3670,11 @@ declare module 'stripe' {
4115
3670
  */
4116
3671
  sepa_debit?: PaymentMethodData.SepaDebit;
4117
3672
 
4118
- /**
4119
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
4120
- */
4121
- shopeepay?: PaymentMethodData.Shopeepay;
4122
-
4123
3673
  /**
4124
3674
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
4125
3675
  */
4126
3676
  sofort?: PaymentMethodData.Sofort;
4127
3677
 
4128
- /**
4129
- * This hash contains details about the Stripe balance payment method.
4130
- */
4131
- stripe_balance?: PaymentMethodData.StripeBalance;
4132
-
4133
3678
  /**
4134
3679
  * If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
4135
3680
  */
@@ -4342,21 +3887,8 @@ declare module 'stripe' {
4342
3887
 
4343
3888
  interface Giropay {}
4344
3889
 
4345
- interface Gopay {}
4346
-
4347
3890
  interface Grabpay {}
4348
3891
 
4349
- interface IdBankTransfer {
4350
- /**
4351
- * Bank where the account is held.
4352
- */
4353
- bank?: IdBankTransfer.Bank;
4354
- }
4355
-
4356
- namespace IdBankTransfer {
4357
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
4358
- }
4359
-
4360
3892
  interface Ideal {
4361
3893
  /**
4362
3894
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -4374,6 +3906,7 @@ declare module 'stripe' {
4374
3906
  | 'handelsbanken'
4375
3907
  | 'ing'
4376
3908
  | 'knab'
3909
+ | 'mollie'
4377
3910
  | 'moneyou'
4378
3911
  | 'n26'
4379
3912
  | 'nn'
@@ -4515,8 +4048,6 @@ declare module 'stripe' {
4515
4048
 
4516
4049
  interface Paypal {}
4517
4050
 
4518
- interface Paypay {}
4519
-
4520
4051
  interface Payto {
4521
4052
  /**
4522
4053
  * The account number for the bank account.
@@ -4538,41 +4069,13 @@ declare module 'stripe' {
4538
4069
 
4539
4070
  interface Promptpay {}
4540
4071
 
4541
- interface Qris {}
4542
-
4543
4072
  interface RadarOptions {
4544
4073
  /**
4545
- * 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.
4074
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
4546
4075
  */
4547
4076
  session?: string;
4548
4077
  }
4549
4078
 
4550
- interface Rechnung {
4551
- /**
4552
- * Customer's date of birth
4553
- */
4554
- dob: Rechnung.Dob;
4555
- }
4556
-
4557
- namespace Rechnung {
4558
- interface Dob {
4559
- /**
4560
- * The day of birth, between 1 and 31.
4561
- */
4562
- day: number;
4563
-
4564
- /**
4565
- * The month of birth, between 1 and 12.
4566
- */
4567
- month: number;
4568
-
4569
- /**
4570
- * The four-digit year of birth.
4571
- */
4572
- year: number;
4573
- }
4574
- }
4575
-
4576
4079
  interface RevolutPay {}
4577
4080
 
4578
4081
  interface SamsungPay {}
@@ -4586,8 +4089,6 @@ declare module 'stripe' {
4586
4089
  iban: string;
4587
4090
  }
4588
4091
 
4589
- interface Shopeepay {}
4590
-
4591
4092
  interface Sofort {
4592
4093
  /**
4593
4094
  * Two-letter ISO code representing the country the bank account is located in.
@@ -4599,22 +4100,6 @@ declare module 'stripe' {
4599
4100
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
4600
4101
  }
4601
4102
 
4602
- interface StripeBalance {
4603
- /**
4604
- * The connected account ID whose Stripe balance to use as the source of payment
4605
- */
4606
- account?: string;
4607
-
4608
- /**
4609
- * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
4610
- */
4611
- source_type?: StripeBalance.SourceType;
4612
- }
4613
-
4614
- namespace StripeBalance {
4615
- type SourceType = 'bank_account' | 'card' | 'fpx';
4616
- }
4617
-
4618
4103
  interface Swish {}
4619
4104
 
4620
4105
  interface Twint {}
@@ -4638,9 +4123,7 @@ declare module 'stripe' {
4638
4123
  | 'eps'
4639
4124
  | 'fpx'
4640
4125
  | 'giropay'
4641
- | 'gopay'
4642
4126
  | 'grabpay'
4643
- | 'id_bank_transfer'
4644
4127
  | 'ideal'
4645
4128
  | 'kakao_pay'
4646
4129
  | 'klarna'
@@ -4658,19 +4141,14 @@ declare module 'stripe' {
4658
4141
  | 'payco'
4659
4142
  | 'paynow'
4660
4143
  | 'paypal'
4661
- | 'paypay'
4662
4144
  | 'payto'
4663
4145
  | 'pix'
4664
4146
  | 'promptpay'
4665
- | 'qris'
4666
- | 'rechnung'
4667
4147
  | 'revolut_pay'
4668
4148
  | 'samsung_pay'
4669
4149
  | 'satispay'
4670
4150
  | 'sepa_debit'
4671
- | 'shopeepay'
4672
4151
  | 'sofort'
4673
- | 'stripe_balance'
4674
4152
  | 'swish'
4675
4153
  | 'twint'
4676
4154
  | 'us_bank_account'
@@ -4761,11 +4239,6 @@ declare module 'stripe' {
4761
4239
  */
4762
4240
  payto?: PaymentMethodOptions.Payto;
4763
4241
 
4764
- /**
4765
- * If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
4766
- */
4767
- pix?: PaymentMethodOptions.Pix;
4768
-
4769
4242
  /**
4770
4243
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
4771
4244
  */
@@ -4875,7 +4348,7 @@ declare module 'stripe' {
4875
4348
  network?: Card.Network;
4876
4349
 
4877
4350
  /**
4878
- * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
4351
+ * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
4879
4352
  */
4880
4353
  request_three_d_secure?: Card.RequestThreeDSecure;
4881
4354
 
@@ -5213,13 +4686,6 @@ declare module 'stripe' {
5213
4686
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
5214
4687
  */
5215
4688
  billing_agreement_id?: string;
5216
-
5217
- currency?: string;
5218
-
5219
- /**
5220
- * 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.
5221
- */
5222
- subsellers?: Array<string>;
5223
4689
  }
5224
4690
 
5225
4691
  interface Payto {
@@ -5234,37 +4700,37 @@ declare module 'stripe' {
5234
4700
  /**
5235
4701
  * Amount that will be collected. It is required when `amount_type` is `fixed`.
5236
4702
  */
5237
- amount?: number;
4703
+ amount?: Stripe.Emptyable<number>;
5238
4704
 
5239
4705
  /**
5240
4706
  * 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. Defaults to `maximum`.
5241
4707
  */
5242
- amount_type?: MandateOptions.AmountType;
4708
+ amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
5243
4709
 
5244
4710
  /**
5245
4711
  * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
5246
4712
  */
5247
- end_date?: string;
4713
+ end_date?: Stripe.Emptyable<string>;
5248
4714
 
5249
4715
  /**
5250
4716
  * The periodicity at which payments will be collected. Defaults to `adhoc`.
5251
4717
  */
5252
- payment_schedule?: MandateOptions.PaymentSchedule;
4718
+ payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
5253
4719
 
5254
4720
  /**
5255
4721
  * 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.
5256
4722
  */
5257
- payments_per_period?: number;
4723
+ payments_per_period?: Stripe.Emptyable<number>;
5258
4724
 
5259
4725
  /**
5260
4726
  * The purpose for which payments are made. Has a default value based on your merchant category code.
5261
4727
  */
5262
- purpose?: MandateOptions.Purpose;
4728
+ purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
5263
4729
 
5264
4730
  /**
5265
4731
  * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
5266
4732
  */
5267
- start_date?: string;
4733
+ start_date?: Stripe.Emptyable<string>;
5268
4734
  }
5269
4735
 
5270
4736
  namespace MandateOptions {
@@ -5295,70 +4761,6 @@ declare module 'stripe' {
5295
4761
  }
5296
4762
  }
5297
4763
 
5298
- interface Pix {
5299
- /**
5300
- * Additional fields for mandate creation.
5301
- */
5302
- mandate_options?: Pix.MandateOptions;
5303
- }
5304
-
5305
- namespace Pix {
5306
- interface MandateOptions {
5307
- /**
5308
- * Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
5309
- */
5310
- amount?: number;
5311
-
5312
- /**
5313
- * Determines if the amount includes the IOF tax. Defaults to `never`.
5314
- */
5315
- amount_includes_iof?: MandateOptions.AmountIncludesIof;
5316
-
5317
- /**
5318
- * Type of amount. Defaults to `maximum`.
5319
- */
5320
- amount_type?: MandateOptions.AmountType;
5321
-
5322
- /**
5323
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
5324
- */
5325
- currency?: string;
5326
-
5327
- /**
5328
- * 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.
5329
- */
5330
- end_date?: string;
5331
-
5332
- /**
5333
- * Schedule at which the future payments will be charged. Defaults to `weekly`.
5334
- */
5335
- payment_schedule?: MandateOptions.PaymentSchedule;
5336
-
5337
- /**
5338
- * Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
5339
- */
5340
- reference?: string;
5341
-
5342
- /**
5343
- * 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.
5344
- */
5345
- start_date?: string;
5346
- }
5347
-
5348
- namespace MandateOptions {
5349
- type AmountIncludesIof = 'always' | 'never';
5350
-
5351
- type AmountType = 'fixed' | 'maximum';
5352
-
5353
- type PaymentSchedule =
5354
- | 'halfyearly'
5355
- | 'monthly'
5356
- | 'quarterly'
5357
- | 'weekly'
5358
- | 'yearly';
5359
- }
5360
- }
5361
-
5362
4764
  interface SepaDebit {
5363
4765
  /**
5364
4766
  * Additional fields for Mandate creation
@@ -5404,11 +4806,6 @@ declare module 'stripe' {
5404
4806
  */
5405
4807
  filters?: FinancialConnections.Filters;
5406
4808
 
5407
- /**
5408
- * Customize manual entry behavior
5409
- */
5410
- manual_entry?: FinancialConnections.ManualEntry;
5411
-
5412
4809
  /**
5413
4810
  * 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`.
5414
4811
  */
@@ -5431,39 +4828,19 @@ declare module 'stripe' {
5431
4828
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5432
4829
  */
5433
4830
  account_subcategories?: Array<Filters.AccountSubcategory>;
5434
-
5435
- /**
5436
- * ID of the institution to use to filter for selectable accounts.
5437
- */
5438
- institution?: string;
5439
4831
  }
5440
4832
 
5441
4833
  namespace Filters {
5442
4834
  type AccountSubcategory = 'checking' | 'savings';
5443
4835
  }
5444
4836
 
5445
- interface ManualEntry {
5446
- /**
5447
- * Settings for configuring manual entry of account details.
5448
- */
5449
- mode: ManualEntry.Mode;
5450
- }
5451
-
5452
- namespace ManualEntry {
5453
- type Mode = 'automatic' | 'custom';
5454
- }
5455
-
5456
4837
  type Permission =
5457
4838
  | 'balances'
5458
4839
  | 'ownership'
5459
4840
  | 'payment_method'
5460
4841
  | 'transactions';
5461
4842
 
5462
- type Prefetch =
5463
- | 'balances'
5464
- | 'inferred_balances'
5465
- | 'ownership'
5466
- | 'transactions';
4843
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
5467
4844
  }
5468
4845
 
5469
4846
  interface MandateOptions {