stripe 18.5.0-beta.2 → 18.5.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 (308) hide show
  1. package/CHANGELOG.md +33 -1327
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +5 -4
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -107
  6. package/cjs/apiVersion.js +3 -2
  7. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  8. package/cjs/resources/PaymentIntents.js +0 -13
  9. package/cjs/resources/Quotes.js +0 -32
  10. package/cjs/resources/SubscriptionSchedules.js +0 -4
  11. package/cjs/resources.js +32 -126
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/Error.js +0 -93
  14. package/esm/apiVersion.js +2 -1
  15. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  16. package/esm/resources/PaymentIntents.js +0 -13
  17. package/esm/resources/Quotes.js +0 -32
  18. package/esm/resources/SubscriptionSchedules.js +0 -4
  19. package/esm/resources.js +5 -91
  20. package/esm/stripe.core.js +1 -1
  21. package/package.json +1 -1
  22. package/types/AccountLinksResource.d.ts +1 -5
  23. package/types/AccountSessions.d.ts +45 -45
  24. package/types/AccountSessionsResource.d.ts +51 -252
  25. package/types/Accounts.d.ts +3 -214
  26. package/types/AccountsResource.d.ts +0 -544
  27. package/types/Balance.d.ts +2 -7
  28. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  29. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  30. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  31. package/types/Billing/CreditGrants.d.ts +0 -5
  32. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  33. package/types/Billing/Meters.d.ts +1 -1
  34. package/types/Billing/MetersResource.d.ts +1 -1
  35. package/types/BillingPortal/Configurations.d.ts +5 -0
  36. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  37. package/types/BillingPortal/Sessions.d.ts +0 -5
  38. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  39. package/types/Cards.d.ts +0 -5
  40. package/types/CashBalances.d.ts +0 -5
  41. package/types/Charges.d.ts +76 -171
  42. package/types/ChargesResource.d.ts +0 -1406
  43. package/types/Checkout/Sessions.d.ts +9 -313
  44. package/types/Checkout/SessionsResource.d.ts +10 -414
  45. package/types/ConfirmationTokens.d.ts +0 -125
  46. package/types/Coupons.d.ts +0 -33
  47. package/types/CouponsResource.d.ts +0 -21
  48. package/types/CreditNoteLineItems.d.ts +0 -17
  49. package/types/CreditNotes.d.ts +0 -5
  50. package/types/CreditNotesResource.d.ts +3 -8
  51. package/types/CustomerBalanceTransactions.d.ts +0 -2
  52. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  53. package/types/CustomerSessions.d.ts +0 -5
  54. package/types/CustomerSessionsResource.d.ts +1 -6
  55. package/types/Customers.d.ts +0 -2
  56. package/types/CustomersResource.d.ts +0 -8
  57. package/types/Discounts.d.ts +0 -10
  58. package/types/Disputes.d.ts +7 -31
  59. package/types/Errors.d.ts +2 -81
  60. package/types/EventTypes.d.ts +0 -664
  61. package/types/Events.d.ts +0 -97
  62. package/types/FileLinksResource.d.ts +1 -1
  63. package/types/Files.d.ts +1 -0
  64. package/types/FilesResource.d.ts +3 -1
  65. package/types/FinancialConnections/Accounts.d.ts +1 -36
  66. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  67. package/types/FinancialConnections/Sessions.d.ts +1 -51
  68. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  69. package/types/Identity/VerificationSessions.d.ts +0 -5
  70. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  71. package/types/InvoiceItems.d.ts +0 -10
  72. package/types/InvoiceItemsResource.d.ts +6 -117
  73. package/types/InvoiceLineItems.d.ts +1 -45
  74. package/types/InvoicePayments.d.ts +0 -5
  75. package/types/InvoicePaymentsResource.d.ts +1 -7
  76. package/types/Invoices.d.ts +6 -172
  77. package/types/InvoicesResource.d.ts +61 -1513
  78. package/types/Issuing/CardholdersResource.d.ts +1 -2
  79. package/types/Issuing/CardsResource.d.ts +10 -0
  80. package/types/Issuing/Transactions.d.ts +0 -5
  81. package/types/Issuing/TransactionsResource.d.ts +0 -5
  82. package/types/LineItems.d.ts +0 -49
  83. package/types/Mandates.d.ts +0 -77
  84. package/types/PaymentIntents.d.ts +63 -762
  85. package/types/PaymentIntentsResource.d.ts +5567 -11125
  86. package/types/PaymentLinks.d.ts +0 -6
  87. package/types/PaymentLinksResource.d.ts +1 -13
  88. package/types/PaymentMethodConfigurations.d.ts +0 -180
  89. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  90. package/types/PaymentMethods.d.ts +0 -125
  91. package/types/PaymentMethodsResource.d.ts +2 -167
  92. package/types/Payouts.d.ts +1 -1
  93. package/types/Prices.d.ts +0 -22
  94. package/types/PricesResource.d.ts +0 -22
  95. package/types/PromotionCodes.d.ts +5 -7
  96. package/types/PromotionCodesResource.d.ts +0 -10
  97. package/types/Quotes.d.ts +1 -594
  98. package/types/QuotesResource.d.ts +281 -2626
  99. package/types/Refunds.d.ts +0 -14
  100. package/types/SetupAttempts.d.ts +4 -48
  101. package/types/SetupIntents.d.ts +5 -119
  102. package/types/SetupIntentsResource.d.ts +3 -730
  103. package/types/Sources.d.ts +0 -29
  104. package/types/SubscriptionItems.d.ts +0 -21
  105. package/types/SubscriptionItemsResource.d.ts +0 -109
  106. package/types/SubscriptionSchedules.d.ts +39 -197
  107. package/types/SubscriptionSchedulesResource.d.ts +83 -1199
  108. package/types/Subscriptions.d.ts +1 -135
  109. package/types/SubscriptionsResource.d.ts +97 -449
  110. package/types/TaxIds.d.ts +0 -10
  111. package/types/TaxIdsResource.d.ts +0 -10
  112. package/types/Terminal/Configurations.d.ts +19 -0
  113. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  114. package/types/Terminal/Readers.d.ts +0 -20
  115. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  116. package/types/TestHelpers/Terminal/ReadersResource.d.ts +28 -1
  117. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  118. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  119. package/types/Transfers.d.ts +0 -5
  120. package/types/TransfersResource.d.ts +0 -5
  121. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  122. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  123. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  124. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  125. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  126. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  127. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  128. package/types/V2/EventTypes.d.ts +4 -964
  129. package/types/WebhookEndpointsResource.d.ts +2 -79
  130. package/types/index.d.ts +2 -147
  131. package/types/lib.d.ts +1 -11
  132. package/types/test/typescriptTest.ts +3 -3
  133. package/cjs/resources/AccountNotices.js +0 -21
  134. package/cjs/resources/BalanceSettings.js +0 -10
  135. package/cjs/resources/Billing/MeterUsage.js +0 -12
  136. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  137. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  138. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  139. package/cjs/resources/ExternalAccounts.js +0 -23
  140. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  141. package/cjs/resources/FxQuotes.js +0 -15
  142. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  143. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  144. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  145. package/cjs/resources/Margins.js +0 -22
  146. package/cjs/resources/Orders.js +0 -24
  147. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  148. package/cjs/resources/PaymentRecords.js +0 -29
  149. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  150. package/cjs/resources/Tax/Associations.js +0 -9
  151. package/cjs/resources/Tax/Forms.js +0 -20
  152. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  153. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  154. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  155. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  156. package/cjs/resources/V2/Core/Accounts.js +0 -25
  157. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  158. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  159. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  160. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  161. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  162. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  163. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  164. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  165. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  166. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  167. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  168. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  169. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  170. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  171. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  172. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  173. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  174. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  175. package/esm/resources/AccountNotices.js +0 -18
  176. package/esm/resources/BalanceSettings.js +0 -7
  177. package/esm/resources/Billing/MeterUsage.js +0 -9
  178. package/esm/resources/Capital/FinancingOffers.js +0 -18
  179. package/esm/resources/Capital/FinancingSummary.js +0 -9
  180. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  181. package/esm/resources/ExternalAccounts.js +0 -20
  182. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  183. package/esm/resources/FxQuotes.js +0 -12
  184. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  185. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  186. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  187. package/esm/resources/Margins.js +0 -19
  188. package/esm/resources/Orders.js +0 -21
  189. package/esm/resources/PaymentAttemptRecords.js +0 -14
  190. package/esm/resources/PaymentRecords.js +0 -26
  191. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  192. package/esm/resources/Tax/Associations.js +0 -6
  193. package/esm/resources/Tax/Forms.js +0 -17
  194. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  195. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  196. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  197. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  198. package/esm/resources/V2/Core/Accounts.js +0 -22
  199. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  200. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  201. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  202. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  203. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  204. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  205. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  206. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  207. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  208. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  209. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  210. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  211. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  212. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  213. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  214. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  215. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  216. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  217. package/types/AccountNotices.d.ts +0 -113
  218. package/types/AccountNoticesResource.d.ts +0 -98
  219. package/types/BalanceSettings.d.ts +0 -91
  220. package/types/BalanceSettingsResource.d.ts +0 -110
  221. package/types/Billing/MeterUsage.d.ts +0 -32
  222. package/types/Billing/MeterUsageResource.d.ts +0 -685
  223. package/types/Billing/MeterUsageRows.d.ts +0 -49
  224. package/types/Capital/FinancingOffers.d.ts +0 -188
  225. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  226. package/types/Capital/FinancingSummary.d.ts +0 -106
  227. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  228. package/types/Capital/FinancingTransactions.d.ts +0 -135
  229. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  230. package/types/ExternalAccountsResource.d.ts +0 -304
  231. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  232. package/types/FinancialConnections/Institutions.d.ts +0 -98
  233. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  234. package/types/FxQuotes.d.ts +0 -155
  235. package/types/FxQuotesResource.d.ts +0 -130
  236. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  237. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  238. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  239. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  240. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  241. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  242. package/types/Issuing/Settlements.d.ts +0 -113
  243. package/types/Margins.d.ts +0 -56
  244. package/types/MarginsResource.d.ts +0 -114
  245. package/types/Orders.d.ts +0 -1163
  246. package/types/OrdersResource.d.ts +0 -3139
  247. package/types/PaymentAttemptRecords.d.ts +0 -2166
  248. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  249. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  250. package/types/PaymentRecords.d.ts +0 -2159
  251. package/types/PaymentRecordsResource.d.ts +0 -455
  252. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  253. package/types/Privacy/RedactionJobs.d.ts +0 -111
  254. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  255. package/types/QuoteLines.d.ts +0 -634
  256. package/types/QuotePreviewInvoices.d.ts +0 -1734
  257. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -845
  258. package/types/Tax/Associations.d.ts +0 -82
  259. package/types/Tax/AssociationsResource.d.ts +0 -29
  260. package/types/Tax/Forms.d.ts +0 -220
  261. package/types/Tax/FormsResource.d.ts +0 -107
  262. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  263. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  264. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  265. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  266. package/types/V2/Core/AccountLinks.d.ts +0 -168
  267. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  268. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3780
  269. package/types/V2/Core/Accounts.d.ts +0 -8813
  270. package/types/V2/Core/AccountsResource.d.ts +0 -10626
  271. package/types/V2/Core/Persons.d.ts +0 -1872
  272. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  273. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  274. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  275. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  276. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  277. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  278. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  279. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  280. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -580
  281. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -326
  282. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  283. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
  284. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  285. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  286. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  287. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  288. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  289. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  290. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  291. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  292. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  293. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  294. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  295. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  296. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  297. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  298. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
  299. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  300. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  301. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  302. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
  303. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  304. package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
  305. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  306. package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
  307. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
  308. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -118,21 +118,11 @@ declare module 'stripe' {
118
118
  */
119
119
  google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
120
120
 
121
- /**
122
- * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
123
- */
124
- gopay?: PaymentMethodConfigurationCreateParams.Gopay;
125
-
126
121
  /**
127
122
  * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
128
123
  */
129
124
  grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
130
125
 
131
- /**
132
- * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
133
- */
134
- id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
135
-
136
126
  /**
137
127
  * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
138
128
  */
@@ -228,11 +218,6 @@ declare module 'stripe' {
228
218
  */
229
219
  paypal?: PaymentMethodConfigurationCreateParams.Paypal;
230
220
 
231
- /**
232
- * PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
233
- */
234
- payto?: PaymentMethodConfigurationCreateParams.Payto;
235
-
236
221
  /**
237
222
  * Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
238
223
  */
@@ -243,11 +228,6 @@ declare module 'stripe' {
243
228
  */
244
229
  promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
245
230
 
246
- /**
247
- * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
248
- */
249
- qris?: PaymentMethodConfigurationCreateParams.Qris;
250
-
251
231
  /**
252
232
  * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
253
233
  */
@@ -268,11 +248,6 @@ declare module 'stripe' {
268
248
  */
269
249
  sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
270
250
 
271
- /**
272
- * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
273
- */
274
- shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
275
-
276
251
  /**
277
252
  * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
278
253
  */
@@ -745,26 +720,6 @@ declare module 'stripe' {
745
720
  }
746
721
  }
747
722
 
748
- interface Gopay {
749
- /**
750
- * Whether or not the payment method should be displayed.
751
- */
752
- display_preference?: Gopay.DisplayPreference;
753
- }
754
-
755
- namespace Gopay {
756
- interface DisplayPreference {
757
- /**
758
- * The account's preference for whether or not to display this payment method.
759
- */
760
- preference?: DisplayPreference.Preference;
761
- }
762
-
763
- namespace DisplayPreference {
764
- type Preference = 'none' | 'off' | 'on';
765
- }
766
- }
767
-
768
723
  interface Grabpay {
769
724
  /**
770
725
  * Whether or not the payment method should be displayed.
@@ -785,26 +740,6 @@ declare module 'stripe' {
785
740
  }
786
741
  }
787
742
 
788
- interface IdBankTransfer {
789
- /**
790
- * Whether or not the payment method should be displayed.
791
- */
792
- display_preference?: IdBankTransfer.DisplayPreference;
793
- }
794
-
795
- namespace IdBankTransfer {
796
- interface DisplayPreference {
797
- /**
798
- * The account's preference for whether or not to display this payment method.
799
- */
800
- preference?: DisplayPreference.Preference;
801
- }
802
-
803
- namespace DisplayPreference {
804
- type Preference = 'none' | 'off' | 'on';
805
- }
806
- }
807
-
808
743
  interface Ideal {
809
744
  /**
810
745
  * Whether or not the payment method should be displayed.
@@ -1145,26 +1080,6 @@ declare module 'stripe' {
1145
1080
  }
1146
1081
  }
1147
1082
 
1148
- interface Payto {
1149
- /**
1150
- * Whether or not the payment method should be displayed.
1151
- */
1152
- display_preference?: Payto.DisplayPreference;
1153
- }
1154
-
1155
- namespace Payto {
1156
- interface DisplayPreference {
1157
- /**
1158
- * The account's preference for whether or not to display this payment method.
1159
- */
1160
- preference?: DisplayPreference.Preference;
1161
- }
1162
-
1163
- namespace DisplayPreference {
1164
- type Preference = 'none' | 'off' | 'on';
1165
- }
1166
- }
1167
-
1168
1083
  interface Pix {
1169
1084
  /**
1170
1085
  * Whether or not the payment method should be displayed.
@@ -1205,26 +1120,6 @@ declare module 'stripe' {
1205
1120
  }
1206
1121
  }
1207
1122
 
1208
- interface Qris {
1209
- /**
1210
- * Whether or not the payment method should be displayed.
1211
- */
1212
- display_preference?: Qris.DisplayPreference;
1213
- }
1214
-
1215
- namespace Qris {
1216
- interface DisplayPreference {
1217
- /**
1218
- * The account's preference for whether or not to display this payment method.
1219
- */
1220
- preference?: DisplayPreference.Preference;
1221
- }
1222
-
1223
- namespace DisplayPreference {
1224
- type Preference = 'none' | 'off' | 'on';
1225
- }
1226
- }
1227
-
1228
1123
  interface RevolutPay {
1229
1124
  /**
1230
1125
  * Whether or not the payment method should be displayed.
@@ -1305,26 +1200,6 @@ declare module 'stripe' {
1305
1200
  }
1306
1201
  }
1307
1202
 
1308
- interface Shopeepay {
1309
- /**
1310
- * Whether or not the payment method should be displayed.
1311
- */
1312
- display_preference?: Shopeepay.DisplayPreference;
1313
- }
1314
-
1315
- namespace Shopeepay {
1316
- interface DisplayPreference {
1317
- /**
1318
- * The account's preference for whether or not to display this payment method.
1319
- */
1320
- preference?: DisplayPreference.Preference;
1321
- }
1322
-
1323
- namespace DisplayPreference {
1324
- type Preference = 'none' | 'off' | 'on';
1325
- }
1326
- }
1327
-
1328
1203
  interface Sofort {
1329
1204
  /**
1330
1205
  * Whether or not the payment method should be displayed.
@@ -1574,21 +1449,11 @@ declare module 'stripe' {
1574
1449
  */
1575
1450
  google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
1576
1451
 
1577
- /**
1578
- * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
1579
- */
1580
- gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
1581
-
1582
1452
  /**
1583
1453
  * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
1584
1454
  */
1585
1455
  grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
1586
1456
 
1587
- /**
1588
- * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1589
- */
1590
- id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
1591
-
1592
1457
  /**
1593
1458
  * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
1594
1459
  */
@@ -1679,11 +1544,6 @@ declare module 'stripe' {
1679
1544
  */
1680
1545
  paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
1681
1546
 
1682
- /**
1683
- * PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
1684
- */
1685
- payto?: PaymentMethodConfigurationUpdateParams.Payto;
1686
-
1687
1547
  /**
1688
1548
  * Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
1689
1549
  */
@@ -1694,11 +1554,6 @@ declare module 'stripe' {
1694
1554
  */
1695
1555
  promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
1696
1556
 
1697
- /**
1698
- * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
1699
- */
1700
- qris?: PaymentMethodConfigurationUpdateParams.Qris;
1701
-
1702
1557
  /**
1703
1558
  * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1704
1559
  */
@@ -1719,11 +1574,6 @@ declare module 'stripe' {
1719
1574
  */
1720
1575
  sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
1721
1576
 
1722
- /**
1723
- * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
1724
- */
1725
- shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
1726
-
1727
1577
  /**
1728
1578
  * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
1729
1579
  */
@@ -2196,26 +2046,6 @@ declare module 'stripe' {
2196
2046
  }
2197
2047
  }
2198
2048
 
2199
- interface Gopay {
2200
- /**
2201
- * Whether or not the payment method should be displayed.
2202
- */
2203
- display_preference?: Gopay.DisplayPreference;
2204
- }
2205
-
2206
- namespace Gopay {
2207
- interface DisplayPreference {
2208
- /**
2209
- * The account's preference for whether or not to display this payment method.
2210
- */
2211
- preference?: DisplayPreference.Preference;
2212
- }
2213
-
2214
- namespace DisplayPreference {
2215
- type Preference = 'none' | 'off' | 'on';
2216
- }
2217
- }
2218
-
2219
2049
  interface Grabpay {
2220
2050
  /**
2221
2051
  * Whether or not the payment method should be displayed.
@@ -2236,26 +2066,6 @@ declare module 'stripe' {
2236
2066
  }
2237
2067
  }
2238
2068
 
2239
- interface IdBankTransfer {
2240
- /**
2241
- * Whether or not the payment method should be displayed.
2242
- */
2243
- display_preference?: IdBankTransfer.DisplayPreference;
2244
- }
2245
-
2246
- namespace IdBankTransfer {
2247
- interface DisplayPreference {
2248
- /**
2249
- * The account's preference for whether or not to display this payment method.
2250
- */
2251
- preference?: DisplayPreference.Preference;
2252
- }
2253
-
2254
- namespace DisplayPreference {
2255
- type Preference = 'none' | 'off' | 'on';
2256
- }
2257
- }
2258
-
2259
2069
  interface Ideal {
2260
2070
  /**
2261
2071
  * Whether or not the payment method should be displayed.
@@ -2596,26 +2406,6 @@ declare module 'stripe' {
2596
2406
  }
2597
2407
  }
2598
2408
 
2599
- interface Payto {
2600
- /**
2601
- * Whether or not the payment method should be displayed.
2602
- */
2603
- display_preference?: Payto.DisplayPreference;
2604
- }
2605
-
2606
- namespace Payto {
2607
- interface DisplayPreference {
2608
- /**
2609
- * The account's preference for whether or not to display this payment method.
2610
- */
2611
- preference?: DisplayPreference.Preference;
2612
- }
2613
-
2614
- namespace DisplayPreference {
2615
- type Preference = 'none' | 'off' | 'on';
2616
- }
2617
- }
2618
-
2619
2409
  interface Pix {
2620
2410
  /**
2621
2411
  * Whether or not the payment method should be displayed.
@@ -2656,26 +2446,6 @@ declare module 'stripe' {
2656
2446
  }
2657
2447
  }
2658
2448
 
2659
- interface Qris {
2660
- /**
2661
- * Whether or not the payment method should be displayed.
2662
- */
2663
- display_preference?: Qris.DisplayPreference;
2664
- }
2665
-
2666
- namespace Qris {
2667
- interface DisplayPreference {
2668
- /**
2669
- * The account's preference for whether or not to display this payment method.
2670
- */
2671
- preference?: DisplayPreference.Preference;
2672
- }
2673
-
2674
- namespace DisplayPreference {
2675
- type Preference = 'none' | 'off' | 'on';
2676
- }
2677
- }
2678
-
2679
2449
  interface RevolutPay {
2680
2450
  /**
2681
2451
  * Whether or not the payment method should be displayed.
@@ -2756,26 +2526,6 @@ declare module 'stripe' {
2756
2526
  }
2757
2527
  }
2758
2528
 
2759
- interface Shopeepay {
2760
- /**
2761
- * Whether or not the payment method should be displayed.
2762
- */
2763
- display_preference?: Shopeepay.DisplayPreference;
2764
- }
2765
-
2766
- namespace Shopeepay {
2767
- interface DisplayPreference {
2768
- /**
2769
- * The account's preference for whether or not to display this payment method.
2770
- */
2771
- preference?: DisplayPreference.Preference;
2772
- }
2773
-
2774
- namespace DisplayPreference {
2775
- type Preference = 'none' | 'off' | 'on';
2776
- }
2777
- }
2778
-
2779
2529
  interface Sofort {
2780
2530
  /**
2781
2531
  * Whether or not the payment method should be displayed.
@@ -69,8 +69,6 @@ declare module 'stripe' {
69
69
  */
70
70
  customer: string | Stripe.Customer | null;
71
71
 
72
- customer_account?: string | null;
73
-
74
72
  customer_balance?: PaymentMethod.CustomerBalance;
75
73
 
76
74
  eps?: PaymentMethod.Eps;
@@ -79,12 +77,8 @@ declare module 'stripe' {
79
77
 
80
78
  giropay?: PaymentMethod.Giropay;
81
79
 
82
- gopay?: PaymentMethod.Gopay;
83
-
84
80
  grabpay?: PaymentMethod.Grabpay;
85
81
 
86
- id_bank_transfer?: PaymentMethod.IdBankTransfer;
87
-
88
82
  ideal?: PaymentMethod.Ideal;
89
83
 
90
84
  interac_present?: PaymentMethod.InteracPresent;
@@ -104,8 +98,6 @@ declare module 'stripe' {
104
98
  */
105
99
  livemode: boolean;
106
100
 
107
- mb_way?: PaymentMethod.MbWay;
108
-
109
101
  /**
110
102
  * 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.
111
103
  */
@@ -131,21 +123,15 @@ declare module 'stripe' {
131
123
 
132
124
  paypal?: PaymentMethod.Paypal;
133
125
 
134
- payto?: PaymentMethod.Payto;
135
-
136
126
  pix?: PaymentMethod.Pix;
137
127
 
138
128
  promptpay?: PaymentMethod.Promptpay;
139
129
 
140
- qris?: PaymentMethod.Qris;
141
-
142
130
  /**
143
131
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
144
132
  */
145
133
  radar_options?: PaymentMethod.RadarOptions;
146
134
 
147
- rechnung?: PaymentMethod.Rechnung;
148
-
149
135
  revolut_pay?: PaymentMethod.RevolutPay;
150
136
 
151
137
  samsung_pay?: PaymentMethod.SamsungPay;
@@ -154,12 +140,8 @@ declare module 'stripe' {
154
140
 
155
141
  sepa_debit?: PaymentMethod.SepaDebit;
156
142
 
157
- shopeepay?: PaymentMethod.Shopeepay;
158
-
159
143
  sofort?: PaymentMethod.Sofort;
160
144
 
161
- stripe_balance?: PaymentMethod.StripeBalance;
162
-
163
145
  swish?: PaymentMethod.Swish;
164
146
 
165
147
  twint?: PaymentMethod.Twint;
@@ -178,11 +160,6 @@ declare module 'stripe' {
178
160
 
179
161
  namespace PaymentMethod {
180
162
  interface AcssDebit {
181
- /**
182
- * Account number of the bank account.
183
- */
184
- account_number?: string | null;
185
-
186
163
  /**
187
164
  * Name of the bank associated with the bank account.
188
165
  */
@@ -989,24 +966,8 @@ declare module 'stripe' {
989
966
 
990
967
  interface Giropay {}
991
968
 
992
- interface Gopay {}
993
-
994
969
  interface Grabpay {}
995
970
 
996
- interface IdBankTransfer {
997
- bank: IdBankTransfer.Bank | null;
998
-
999
- bank_code: string | null;
1000
-
1001
- bank_name: string | null;
1002
-
1003
- display_name: string | null;
1004
- }
1005
-
1006
- namespace IdBankTransfer {
1007
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1008
- }
1009
-
1010
971
  interface Ideal {
1011
972
  /**
1012
973
  * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
@@ -1236,8 +1197,6 @@ declare module 'stripe' {
1236
1197
  persistent_token?: string;
1237
1198
  }
1238
1199
 
1239
- interface MbWay {}
1240
-
1241
1200
  interface Mobilepay {}
1242
1201
 
1243
1202
  interface Multibanco {}
@@ -1341,11 +1300,6 @@ declare module 'stripe' {
1341
1300
  */
1342
1301
  country: string | null;
1343
1302
 
1344
- /**
1345
- * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1346
- */
1347
- fingerprint?: string | null;
1348
-
1349
1303
  /**
1350
1304
  * Owner's email. Values are provided by PayPal directly
1351
1305
  * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
@@ -1356,37 +1310,12 @@ declare module 'stripe' {
1356
1310
  * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1357
1311
  */
1358
1312
  payer_id: string | null;
1359
-
1360
- /**
1361
- * Owner's verified email. Values are verified or provided by PayPal directly
1362
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1363
- */
1364
- verified_email?: string | null;
1365
- }
1366
-
1367
- interface Payto {
1368
- /**
1369
- * Bank-State-Branch number of the bank account.
1370
- */
1371
- bsb_number: string | null;
1372
-
1373
- /**
1374
- * Last four digits of the bank account number.
1375
- */
1376
- last4: string | null;
1377
-
1378
- /**
1379
- * The PayID alias for the bank account.
1380
- */
1381
- pay_id: string | null;
1382
1313
  }
1383
1314
 
1384
1315
  interface Pix {}
1385
1316
 
1386
1317
  interface Promptpay {}
1387
1318
 
1388
- interface Qris {}
1389
-
1390
1319
  interface RadarOptions {
1391
1320
  /**
1392
1321
  * 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.
@@ -1394,29 +1323,6 @@ declare module 'stripe' {
1394
1323
  session?: string;
1395
1324
  }
1396
1325
 
1397
- interface Rechnung {
1398
- dob?: Rechnung.Dob;
1399
- }
1400
-
1401
- namespace Rechnung {
1402
- interface Dob {
1403
- /**
1404
- * The day of birth, between 1 and 31.
1405
- */
1406
- day: number;
1407
-
1408
- /**
1409
- * The month of birth, between 1 and 12.
1410
- */
1411
- month: number;
1412
-
1413
- /**
1414
- * The four-digit year of birth.
1415
- */
1416
- year: number;
1417
- }
1418
- }
1419
-
1420
1326
  interface RevolutPay {}
1421
1327
 
1422
1328
  interface SamsungPay {}
@@ -1469,8 +1375,6 @@ declare module 'stripe' {
1469
1375
  }
1470
1376
  }
1471
1377
 
1472
- interface Shopeepay {}
1473
-
1474
1378
  interface Sofort {
1475
1379
  /**
1476
1380
  * Two-letter ISO code representing the country the bank account is located in.
@@ -1478,22 +1382,6 @@ declare module 'stripe' {
1478
1382
  country: string | null;
1479
1383
  }
1480
1384
 
1481
- interface StripeBalance {
1482
- /**
1483
- * The connected account ID whose Stripe balance to use as the source of payment
1484
- */
1485
- account?: string | null;
1486
-
1487
- /**
1488
- * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1489
- */
1490
- source_type: StripeBalance.SourceType;
1491
- }
1492
-
1493
- namespace StripeBalance {
1494
- type SourceType = 'bank_account' | 'card' | 'fpx';
1495
- }
1496
-
1497
1385
  interface Swish {}
1498
1386
 
1499
1387
  interface Twint {}
@@ -1519,9 +1407,7 @@ declare module 'stripe' {
1519
1407
  | 'eps'
1520
1408
  | 'fpx'
1521
1409
  | 'giropay'
1522
- | 'gopay'
1523
1410
  | 'grabpay'
1524
- | 'id_bank_transfer'
1525
1411
  | 'ideal'
1526
1412
  | 'interac_present'
1527
1413
  | 'kakao_pay'
@@ -1529,7 +1415,6 @@ declare module 'stripe' {
1529
1415
  | 'konbini'
1530
1416
  | 'kr_card'
1531
1417
  | 'link'
1532
- | 'mb_way'
1533
1418
  | 'mobilepay'
1534
1419
  | 'multibanco'
1535
1420
  | 'naver_pay'
@@ -1540,18 +1425,13 @@ declare module 'stripe' {
1540
1425
  | 'payco'
1541
1426
  | 'paynow'
1542
1427
  | 'paypal'
1543
- | 'payto'
1544
1428
  | 'pix'
1545
1429
  | 'promptpay'
1546
- | 'qris'
1547
- | 'rechnung'
1548
1430
  | 'revolut_pay'
1549
1431
  | 'samsung_pay'
1550
1432
  | 'satispay'
1551
1433
  | 'sepa_debit'
1552
- | 'shopeepay'
1553
1434
  | 'sofort'
1554
- | 'stripe_balance'
1555
1435
  | 'swish'
1556
1436
  | 'twint'
1557
1437
  | 'us_bank_account'
@@ -1564,11 +1444,6 @@ declare module 'stripe' {
1564
1444
  */
1565
1445
  account_holder_type: UsBankAccount.AccountHolderType | null;
1566
1446
 
1567
- /**
1568
- * Account number of the bank account.
1569
- */
1570
- account_number?: string | null;
1571
-
1572
1447
  /**
1573
1448
  * Account type: checkings or savings. Defaults to checking if omitted.
1574
1449
  */