stripe 17.5.0-beta.3 → 17.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 (175) hide show
  1. package/CHANGELOG.md +131 -1005
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -8
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -355
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Charges.d.ts +0 -138
  27. package/types/ChargesResource.d.ts +0 -1294
  28. package/types/Checkout/Sessions.d.ts +6 -340
  29. package/types/Checkout/SessionsResource.d.ts +5 -445
  30. package/types/ConfirmationTokens.d.ts +0 -99
  31. package/types/Coupons.d.ts +1 -1
  32. package/types/CouponsResource.d.ts +1 -1
  33. package/types/CreditNotes.d.ts +0 -21
  34. package/types/CreditNotesResource.d.ts +0 -51
  35. package/types/CustomersResource.d.ts +4 -9
  36. package/types/Disputes.d.ts +2 -2
  37. package/types/DisputesResource.d.ts +2 -2
  38. package/types/EventTypes.d.ts +0 -596
  39. package/types/Events.d.ts +0 -93
  40. package/types/FinancialConnections/Accounts.d.ts +1 -29
  41. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  42. package/types/FinancialConnections/Sessions.d.ts +1 -49
  43. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +4 -138
  48. package/types/InvoicesResource.d.ts +1886 -5568
  49. package/types/Issuing/Authorizations.d.ts +0 -1
  50. package/types/Issuing/CardholdersResource.d.ts +1 -2
  51. package/types/Issuing/Transactions.d.ts +0 -2
  52. package/types/Issuing/TransactionsResource.d.ts +0 -5
  53. package/types/LineItems.d.ts +0 -32
  54. package/types/Mandates.d.ts +0 -77
  55. package/types/PaymentIntents.d.ts +1 -644
  56. package/types/PaymentIntentsResource.d.ts +3768 -8055
  57. package/types/PaymentLinks.d.ts +0 -6
  58. package/types/PaymentLinksResource.d.ts +0 -12
  59. package/types/PaymentMethodConfigurations.d.ts +0 -180
  60. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  61. package/types/PaymentMethods.d.ts +0 -99
  62. package/types/PaymentMethodsResource.d.ts +0 -133
  63. package/types/Prices.d.ts +0 -22
  64. package/types/PricesResource.d.ts +0 -22
  65. package/types/Products.d.ts +0 -39
  66. package/types/ProductsResource.d.ts +0 -36
  67. package/types/Quotes.d.ts +1 -591
  68. package/types/QuotesResource.d.ts +199 -2531
  69. package/types/Refunds.d.ts +0 -14
  70. package/types/SetupAttempts.d.ts +0 -38
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -645
  73. package/types/Sources.d.ts +0 -23
  74. package/types/SubscriptionItems.d.ts +0 -21
  75. package/types/SubscriptionItemsResource.d.ts +0 -109
  76. package/types/SubscriptionSchedules.d.ts +0 -200
  77. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  78. package/types/Subscriptions.d.ts +1 -91
  79. package/types/SubscriptionsResource.d.ts +2 -369
  80. package/types/Tax/Calculations.d.ts +2 -1
  81. package/types/Tax/CalculationsResource.d.ts +2 -1
  82. package/types/Tax/Registrations.d.ts +189 -0
  83. package/types/Tax/RegistrationsResource.d.ts +252 -0
  84. package/types/Tax/Transactions.d.ts +2 -1
  85. package/types/TaxIds.d.ts +2 -1
  86. package/types/TaxIdsResource.d.ts +2 -1
  87. package/types/Terminal/Readers.d.ts +0 -310
  88. package/types/Terminal/ReadersResource.d.ts +0 -215
  89. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  90. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  91. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  92. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  93. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  94. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  95. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  96. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  97. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  98. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  99. package/types/WebhookEndpointsResource.d.ts +0 -70
  100. package/types/index.d.ts +0 -62
  101. package/cjs/resources/AccountNotices.js +0 -21
  102. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  103. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  104. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  105. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  106. package/cjs/resources/GiftCards/Cards.js +0 -23
  107. package/cjs/resources/GiftCards/Transactions.js +0 -33
  108. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  109. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  110. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  114. package/cjs/resources/PaymentRecords.js +0 -29
  115. package/cjs/resources/Tax/Associations.js +0 -9
  116. package/cjs/resources/Tax/Forms.js +0 -20
  117. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  127. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  128. package/esm/resources/Margins.js +0 -19
  129. package/esm/resources/Orders.js +0 -21
  130. package/esm/resources/PaymentAttemptRecords.js +0 -14
  131. package/esm/resources/PaymentRecords.js +0 -26
  132. package/esm/resources/Tax/Associations.js +0 -6
  133. package/esm/resources/Tax/Forms.js +0 -17
  134. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  135. package/types/AccountNotices.d.ts +0 -113
  136. package/types/AccountNoticesResource.d.ts +0 -98
  137. package/types/Billing/MeterErrorReports.d.ts +0 -106
  138. package/types/Capital/FinancingOffers.d.ts +0 -188
  139. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  140. package/types/Capital/FinancingSummary.d.ts +0 -106
  141. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  142. package/types/Capital/FinancingTransactions.d.ts +0 -135
  143. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  144. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  145. package/types/FinancialConnections/Institutions.d.ts +0 -93
  146. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  147. package/types/GiftCards/Cards.d.ts +0 -118
  148. package/types/GiftCards/CardsResource.d.ts +0 -159
  149. package/types/GiftCards/Transactions.d.ts +0 -129
  150. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  151. package/types/InvoicePayments.d.ts +0 -113
  152. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  153. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  154. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  155. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  156. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  157. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  158. package/types/Issuing/Settlements.d.ts +0 -103
  159. package/types/Margins.d.ts +0 -56
  160. package/types/MarginsResource.d.ts +0 -114
  161. package/types/Orders.d.ts +0 -1178
  162. package/types/OrdersResource.d.ts +0 -2959
  163. package/types/PaymentAttemptRecords.d.ts +0 -242
  164. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  165. package/types/PaymentRecords.d.ts +0 -242
  166. package/types/PaymentRecordsResource.d.ts +0 -455
  167. package/types/QuoteLines.d.ts +0 -634
  168. package/types/QuotePreviewInvoices.d.ts +0 -1652
  169. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  170. package/types/Tax/Associations.d.ts +0 -126
  171. package/types/Tax/AssociationsResource.d.ts +0 -29
  172. package/types/Tax/Forms.d.ts +0 -220
  173. package/types/Tax/FormsResource.d.ts +0 -107
  174. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  175. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -274,21 +274,11 @@ declare module 'stripe' {
274
274
  */
275
275
  giropay?: PaymentMethodData.Giropay;
276
276
 
277
- /**
278
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
279
- */
280
- gopay?: PaymentMethodData.Gopay;
281
-
282
277
  /**
283
278
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
284
279
  */
285
280
  grabpay?: PaymentMethodData.Grabpay;
286
281
 
287
- /**
288
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
289
- */
290
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
291
-
292
282
  /**
293
283
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
294
284
  */
@@ -324,11 +314,6 @@ declare module 'stripe' {
324
314
  */
325
315
  link?: PaymentMethodData.Link;
326
316
 
327
- /**
328
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
329
- */
330
- mb_way?: PaymentMethodData.MbWay;
331
-
332
317
  /**
333
318
  * 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`.
334
319
  */
@@ -374,11 +359,6 @@ declare module 'stripe' {
374
359
  */
375
360
  paypal?: PaymentMethodData.Paypal;
376
361
 
377
- /**
378
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
379
- */
380
- payto?: PaymentMethodData.Payto;
381
-
382
362
  /**
383
363
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
384
364
  */
@@ -389,21 +369,11 @@ declare module 'stripe' {
389
369
  */
390
370
  promptpay?: PaymentMethodData.Promptpay;
391
371
 
392
- /**
393
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
394
- */
395
- qris?: PaymentMethodData.Qris;
396
-
397
372
  /**
398
373
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
399
374
  */
400
375
  radar_options?: PaymentMethodData.RadarOptions;
401
376
 
402
- /**
403
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
404
- */
405
- rechnung?: PaymentMethodData.Rechnung;
406
-
407
377
  /**
408
378
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
409
379
  */
@@ -419,11 +389,6 @@ declare module 'stripe' {
419
389
  */
420
390
  sepa_debit?: PaymentMethodData.SepaDebit;
421
391
 
422
- /**
423
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
424
- */
425
- shopeepay?: PaymentMethodData.Shopeepay;
426
-
427
392
  /**
428
393
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
429
394
  */
@@ -632,21 +597,8 @@ declare module 'stripe' {
632
597
 
633
598
  interface Giropay {}
634
599
 
635
- interface Gopay {}
636
-
637
600
  interface Grabpay {}
638
601
 
639
- interface IdBankTransfer {
640
- /**
641
- * Bank where the account is held.
642
- */
643
- bank?: IdBankTransfer.Bank;
644
- }
645
-
646
- namespace IdBankTransfer {
647
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
648
- }
649
-
650
602
  interface Ideal {
651
603
  /**
652
604
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -710,8 +662,6 @@ declare module 'stripe' {
710
662
 
711
663
  interface Link {}
712
664
 
713
- interface MbWay {}
714
-
715
665
  interface Mobilepay {}
716
666
 
717
667
  interface Multibanco {}
@@ -772,29 +722,10 @@ declare module 'stripe' {
772
722
 
773
723
  interface Paypal {}
774
724
 
775
- interface Payto {
776
- /**
777
- * The account number for the bank account.
778
- */
779
- account_number?: string;
780
-
781
- /**
782
- * Bank-State-Branch number of the bank account.
783
- */
784
- bsb_number?: string;
785
-
786
- /**
787
- * The PayID alias for the bank account.
788
- */
789
- pay_id?: string;
790
- }
791
-
792
725
  interface Pix {}
793
726
 
794
727
  interface Promptpay {}
795
728
 
796
- interface Qris {}
797
-
798
729
  interface RadarOptions {
799
730
  /**
800
731
  * 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.
@@ -802,32 +733,6 @@ declare module 'stripe' {
802
733
  session?: string;
803
734
  }
804
735
 
805
- interface Rechnung {
806
- /**
807
- * Customer's date of birth
808
- */
809
- dob: Rechnung.Dob;
810
- }
811
-
812
- namespace Rechnung {
813
- interface Dob {
814
- /**
815
- * The day of birth, between 1 and 31.
816
- */
817
- day: number;
818
-
819
- /**
820
- * The month of birth, between 1 and 12.
821
- */
822
- month: number;
823
-
824
- /**
825
- * The four-digit year of birth.
826
- */
827
- year: number;
828
- }
829
- }
830
-
831
736
  interface RevolutPay {}
832
737
 
833
738
  interface SamsungPay {}
@@ -839,8 +744,6 @@ declare module 'stripe' {
839
744
  iban: string;
840
745
  }
841
746
 
842
- interface Shopeepay {}
843
-
844
747
  interface Sofort {
845
748
  /**
846
749
  * Two-letter ISO code representing the country the bank account is located in.
@@ -873,16 +776,13 @@ declare module 'stripe' {
873
776
  | 'eps'
874
777
  | 'fpx'
875
778
  | 'giropay'
876
- | 'gopay'
877
779
  | 'grabpay'
878
- | 'id_bank_transfer'
879
780
  | 'ideal'
880
781
  | 'kakao_pay'
881
782
  | 'klarna'
882
783
  | 'konbini'
883
784
  | 'kr_card'
884
785
  | 'link'
885
- | 'mb_way'
886
786
  | 'mobilepay'
887
787
  | 'multibanco'
888
788
  | 'naver_pay'
@@ -891,15 +791,11 @@ declare module 'stripe' {
891
791
  | 'payco'
892
792
  | 'paynow'
893
793
  | 'paypal'
894
- | 'payto'
895
794
  | 'pix'
896
795
  | 'promptpay'
897
- | 'qris'
898
- | 'rechnung'
899
796
  | 'revolut_pay'
900
797
  | 'samsung_pay'
901
798
  | 'sepa_debit'
902
- | 'shopeepay'
903
799
  | 'sofort'
904
800
  | 'swish'
905
801
  | 'twint'
@@ -981,11 +877,6 @@ declare module 'stripe' {
981
877
  */
982
878
  paypal?: PaymentMethodOptions.Paypal;
983
879
 
984
- /**
985
- * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
986
- */
987
- payto?: PaymentMethodOptions.Payto;
988
-
989
880
  /**
990
881
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
991
882
  */
@@ -1287,86 +1178,6 @@ declare module 'stripe' {
1287
1178
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1288
1179
  */
1289
1180
  billing_agreement_id?: string;
1290
-
1291
- currency?: string;
1292
-
1293
- /**
1294
- * 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.
1295
- */
1296
- subsellers?: Array<string>;
1297
- }
1298
-
1299
- interface Payto {
1300
- /**
1301
- * Additional fields for Mandate creation.
1302
- */
1303
- mandate_options?: Payto.MandateOptions;
1304
- }
1305
-
1306
- namespace Payto {
1307
- interface MandateOptions {
1308
- /**
1309
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
1310
- */
1311
- amount?: number;
1312
-
1313
- /**
1314
- * 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.
1315
- */
1316
- amount_type?: MandateOptions.AmountType;
1317
-
1318
- /**
1319
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1320
- */
1321
- end_date?: string;
1322
-
1323
- /**
1324
- * The periodicity at which payments will be collected.
1325
- */
1326
- payment_schedule?: MandateOptions.PaymentSchedule;
1327
-
1328
- /**
1329
- * 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.
1330
- */
1331
- payments_per_period?: number;
1332
-
1333
- /**
1334
- * The purpose for which payments are made. Defaults to retail.
1335
- */
1336
- purpose?: MandateOptions.Purpose;
1337
-
1338
- /**
1339
- * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1340
- */
1341
- start_date?: string;
1342
- }
1343
-
1344
- namespace MandateOptions {
1345
- type AmountType = 'fixed' | 'maximum';
1346
-
1347
- type PaymentSchedule =
1348
- | 'adhoc'
1349
- | 'annual'
1350
- | 'daily'
1351
- | 'fortnightly'
1352
- | 'monthly'
1353
- | 'quarterly'
1354
- | 'semi_annual'
1355
- | 'weekly';
1356
-
1357
- type Purpose =
1358
- | 'dependant_support'
1359
- | 'government'
1360
- | 'loan'
1361
- | 'mortgage'
1362
- | 'other'
1363
- | 'pension'
1364
- | 'personal'
1365
- | 'retail'
1366
- | 'salary'
1367
- | 'tax'
1368
- | 'utility';
1369
- }
1370
1181
  }
1371
1182
 
1372
1183
  interface SepaDebit {
@@ -1414,11 +1225,6 @@ declare module 'stripe' {
1414
1225
  */
1415
1226
  filters?: FinancialConnections.Filters;
1416
1227
 
1417
- /**
1418
- * Customize manual entry behavior
1419
- */
1420
- manual_entry?: FinancialConnections.ManualEntry;
1421
-
1422
1228
  /**
1423
1229
  * 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`.
1424
1230
  */
@@ -1441,39 +1247,19 @@ declare module 'stripe' {
1441
1247
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1442
1248
  */
1443
1249
  account_subcategories?: Array<Filters.AccountSubcategory>;
1444
-
1445
- /**
1446
- * ID of the institution to use to filter for selectable accounts.
1447
- */
1448
- institution?: string;
1449
1250
  }
1450
1251
 
1451
1252
  namespace Filters {
1452
1253
  type AccountSubcategory = 'checking' | 'savings';
1453
1254
  }
1454
1255
 
1455
- interface ManualEntry {
1456
- /**
1457
- * Settings for configuring manual entry of account details.
1458
- */
1459
- mode: ManualEntry.Mode;
1460
- }
1461
-
1462
- namespace ManualEntry {
1463
- type Mode = 'automatic' | 'custom';
1464
- }
1465
-
1466
1256
  type Permission =
1467
1257
  | 'balances'
1468
1258
  | 'ownership'
1469
1259
  | 'payment_method'
1470
1260
  | 'transactions';
1471
1261
 
1472
- type Prefetch =
1473
- | 'balances'
1474
- | 'inferred_balances'
1475
- | 'ownership'
1476
- | 'transactions';
1262
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
1477
1263
  }
1478
1264
 
1479
1265
  interface MandateOptions {
@@ -1683,21 +1469,11 @@ declare module 'stripe' {
1683
1469
  */
1684
1470
  giropay?: PaymentMethodData.Giropay;
1685
1471
 
1686
- /**
1687
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1688
- */
1689
- gopay?: PaymentMethodData.Gopay;
1690
-
1691
1472
  /**
1692
1473
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1693
1474
  */
1694
1475
  grabpay?: PaymentMethodData.Grabpay;
1695
1476
 
1696
- /**
1697
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1698
- */
1699
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
1700
-
1701
1477
  /**
1702
1478
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1703
1479
  */
@@ -1733,11 +1509,6 @@ declare module 'stripe' {
1733
1509
  */
1734
1510
  link?: PaymentMethodData.Link;
1735
1511
 
1736
- /**
1737
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1738
- */
1739
- mb_way?: PaymentMethodData.MbWay;
1740
-
1741
1512
  /**
1742
1513
  * 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`.
1743
1514
  */
@@ -1783,11 +1554,6 @@ declare module 'stripe' {
1783
1554
  */
1784
1555
  paypal?: PaymentMethodData.Paypal;
1785
1556
 
1786
- /**
1787
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1788
- */
1789
- payto?: PaymentMethodData.Payto;
1790
-
1791
1557
  /**
1792
1558
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1793
1559
  */
@@ -1798,21 +1564,11 @@ declare module 'stripe' {
1798
1564
  */
1799
1565
  promptpay?: PaymentMethodData.Promptpay;
1800
1566
 
1801
- /**
1802
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1803
- */
1804
- qris?: PaymentMethodData.Qris;
1805
-
1806
1567
  /**
1807
1568
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1808
1569
  */
1809
1570
  radar_options?: PaymentMethodData.RadarOptions;
1810
1571
 
1811
- /**
1812
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1813
- */
1814
- rechnung?: PaymentMethodData.Rechnung;
1815
-
1816
1572
  /**
1817
1573
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1818
1574
  */
@@ -1828,11 +1584,6 @@ declare module 'stripe' {
1828
1584
  */
1829
1585
  sepa_debit?: PaymentMethodData.SepaDebit;
1830
1586
 
1831
- /**
1832
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1833
- */
1834
- shopeepay?: PaymentMethodData.Shopeepay;
1835
-
1836
1587
  /**
1837
1588
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1838
1589
  */
@@ -2041,21 +1792,8 @@ declare module 'stripe' {
2041
1792
 
2042
1793
  interface Giropay {}
2043
1794
 
2044
- interface Gopay {}
2045
-
2046
1795
  interface Grabpay {}
2047
1796
 
2048
- interface IdBankTransfer {
2049
- /**
2050
- * Bank where the account is held.
2051
- */
2052
- bank?: IdBankTransfer.Bank;
2053
- }
2054
-
2055
- namespace IdBankTransfer {
2056
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
2057
- }
2058
-
2059
1797
  interface Ideal {
2060
1798
  /**
2061
1799
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2119,8 +1857,6 @@ declare module 'stripe' {
2119
1857
 
2120
1858
  interface Link {}
2121
1859
 
2122
- interface MbWay {}
2123
-
2124
1860
  interface Mobilepay {}
2125
1861
 
2126
1862
  interface Multibanco {}
@@ -2181,29 +1917,10 @@ declare module 'stripe' {
2181
1917
 
2182
1918
  interface Paypal {}
2183
1919
 
2184
- interface Payto {
2185
- /**
2186
- * The account number for the bank account.
2187
- */
2188
- account_number?: string;
2189
-
2190
- /**
2191
- * Bank-State-Branch number of the bank account.
2192
- */
2193
- bsb_number?: string;
2194
-
2195
- /**
2196
- * The PayID alias for the bank account.
2197
- */
2198
- pay_id?: string;
2199
- }
2200
-
2201
1920
  interface Pix {}
2202
1921
 
2203
1922
  interface Promptpay {}
2204
1923
 
2205
- interface Qris {}
2206
-
2207
1924
  interface RadarOptions {
2208
1925
  /**
2209
1926
  * 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.
@@ -2211,32 +1928,6 @@ declare module 'stripe' {
2211
1928
  session?: string;
2212
1929
  }
2213
1930
 
2214
- interface Rechnung {
2215
- /**
2216
- * Customer's date of birth
2217
- */
2218
- dob: Rechnung.Dob;
2219
- }
2220
-
2221
- namespace Rechnung {
2222
- interface Dob {
2223
- /**
2224
- * The day of birth, between 1 and 31.
2225
- */
2226
- day: number;
2227
-
2228
- /**
2229
- * The month of birth, between 1 and 12.
2230
- */
2231
- month: number;
2232
-
2233
- /**
2234
- * The four-digit year of birth.
2235
- */
2236
- year: number;
2237
- }
2238
- }
2239
-
2240
1931
  interface RevolutPay {}
2241
1932
 
2242
1933
  interface SamsungPay {}
@@ -2248,8 +1939,6 @@ declare module 'stripe' {
2248
1939
  iban: string;
2249
1940
  }
2250
1941
 
2251
- interface Shopeepay {}
2252
-
2253
1942
  interface Sofort {
2254
1943
  /**
2255
1944
  * Two-letter ISO code representing the country the bank account is located in.
@@ -2282,16 +1971,13 @@ declare module 'stripe' {
2282
1971
  | 'eps'
2283
1972
  | 'fpx'
2284
1973
  | 'giropay'
2285
- | 'gopay'
2286
1974
  | 'grabpay'
2287
- | 'id_bank_transfer'
2288
1975
  | 'ideal'
2289
1976
  | 'kakao_pay'
2290
1977
  | 'klarna'
2291
1978
  | 'konbini'
2292
1979
  | 'kr_card'
2293
1980
  | 'link'
2294
- | 'mb_way'
2295
1981
  | 'mobilepay'
2296
1982
  | 'multibanco'
2297
1983
  | 'naver_pay'
@@ -2300,15 +1986,11 @@ declare module 'stripe' {
2300
1986
  | 'payco'
2301
1987
  | 'paynow'
2302
1988
  | 'paypal'
2303
- | 'payto'
2304
1989
  | 'pix'
2305
1990
  | 'promptpay'
2306
- | 'qris'
2307
- | 'rechnung'
2308
1991
  | 'revolut_pay'
2309
1992
  | 'samsung_pay'
2310
1993
  | 'sepa_debit'
2311
- | 'shopeepay'
2312
1994
  | 'sofort'
2313
1995
  | 'swish'
2314
1996
  | 'twint'
@@ -2390,11 +2072,6 @@ declare module 'stripe' {
2390
2072
  */
2391
2073
  paypal?: PaymentMethodOptions.Paypal;
2392
2074
 
2393
- /**
2394
- * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2395
- */
2396
- payto?: PaymentMethodOptions.Payto;
2397
-
2398
2075
  /**
2399
2076
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2400
2077
  */
@@ -2696,86 +2373,6 @@ declare module 'stripe' {
2696
2373
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2697
2374
  */
2698
2375
  billing_agreement_id?: string;
2699
-
2700
- currency?: string;
2701
-
2702
- /**
2703
- * 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.
2704
- */
2705
- subsellers?: Array<string>;
2706
- }
2707
-
2708
- interface Payto {
2709
- /**
2710
- * Additional fields for Mandate creation.
2711
- */
2712
- mandate_options?: Payto.MandateOptions;
2713
- }
2714
-
2715
- namespace Payto {
2716
- interface MandateOptions {
2717
- /**
2718
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
2719
- */
2720
- amount?: number;
2721
-
2722
- /**
2723
- * 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.
2724
- */
2725
- amount_type?: MandateOptions.AmountType;
2726
-
2727
- /**
2728
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2729
- */
2730
- end_date?: string;
2731
-
2732
- /**
2733
- * The periodicity at which payments will be collected.
2734
- */
2735
- payment_schedule?: MandateOptions.PaymentSchedule;
2736
-
2737
- /**
2738
- * 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.
2739
- */
2740
- payments_per_period?: number;
2741
-
2742
- /**
2743
- * The purpose for which payments are made. Defaults to retail.
2744
- */
2745
- purpose?: MandateOptions.Purpose;
2746
-
2747
- /**
2748
- * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2749
- */
2750
- start_date?: string;
2751
- }
2752
-
2753
- namespace MandateOptions {
2754
- type AmountType = 'fixed' | 'maximum';
2755
-
2756
- type PaymentSchedule =
2757
- | 'adhoc'
2758
- | 'annual'
2759
- | 'daily'
2760
- | 'fortnightly'
2761
- | 'monthly'
2762
- | 'quarterly'
2763
- | 'semi_annual'
2764
- | 'weekly';
2765
-
2766
- type Purpose =
2767
- | 'dependant_support'
2768
- | 'government'
2769
- | 'loan'
2770
- | 'mortgage'
2771
- | 'other'
2772
- | 'pension'
2773
- | 'personal'
2774
- | 'retail'
2775
- | 'salary'
2776
- | 'tax'
2777
- | 'utility';
2778
- }
2779
2376
  }
2780
2377
 
2781
2378
  interface SepaDebit {
@@ -2823,11 +2420,6 @@ declare module 'stripe' {
2823
2420
  */
2824
2421
  filters?: FinancialConnections.Filters;
2825
2422
 
2826
- /**
2827
- * Customize manual entry behavior
2828
- */
2829
- manual_entry?: FinancialConnections.ManualEntry;
2830
-
2831
2423
  /**
2832
2424
  * 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`.
2833
2425
  */
@@ -2850,39 +2442,19 @@ declare module 'stripe' {
2850
2442
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2851
2443
  */
2852
2444
  account_subcategories?: Array<Filters.AccountSubcategory>;
2853
-
2854
- /**
2855
- * ID of the institution to use to filter for selectable accounts.
2856
- */
2857
- institution?: string;
2858
2445
  }
2859
2446
 
2860
2447
  namespace Filters {
2861
2448
  type AccountSubcategory = 'checking' | 'savings';
2862
2449
  }
2863
2450
 
2864
- interface ManualEntry {
2865
- /**
2866
- * Settings for configuring manual entry of account details.
2867
- */
2868
- mode: ManualEntry.Mode;
2869
- }
2870
-
2871
- namespace ManualEntry {
2872
- type Mode = 'automatic' | 'custom';
2873
- }
2874
-
2875
2451
  type Permission =
2876
2452
  | 'balances'
2877
2453
  | 'ownership'
2878
2454
  | 'payment_method'
2879
2455
  | 'transactions';
2880
2456
 
2881
- type Prefetch =
2882
- | 'balances'
2883
- | 'inferred_balances'
2884
- | 'ownership'
2885
- | 'transactions';
2457
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
2886
2458
  }
2887
2459
 
2888
2460
  interface MandateOptions {
@@ -3141,21 +2713,11 @@ declare module 'stripe' {
3141
2713
  */
3142
2714
  giropay?: PaymentMethodData.Giropay;
3143
2715
 
3144
- /**
3145
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3146
- */
3147
- gopay?: PaymentMethodData.Gopay;
3148
-
3149
2716
  /**
3150
2717
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3151
2718
  */
3152
2719
  grabpay?: PaymentMethodData.Grabpay;
3153
2720
 
3154
- /**
3155
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3156
- */
3157
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
3158
-
3159
2721
  /**
3160
2722
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3161
2723
  */
@@ -3191,11 +2753,6 @@ declare module 'stripe' {
3191
2753
  */
3192
2754
  link?: PaymentMethodData.Link;
3193
2755
 
3194
- /**
3195
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3196
- */
3197
- mb_way?: PaymentMethodData.MbWay;
3198
-
3199
2756
  /**
3200
2757
  * 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`.
3201
2758
  */
@@ -3241,11 +2798,6 @@ declare module 'stripe' {
3241
2798
  */
3242
2799
  paypal?: PaymentMethodData.Paypal;
3243
2800
 
3244
- /**
3245
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3246
- */
3247
- payto?: PaymentMethodData.Payto;
3248
-
3249
2801
  /**
3250
2802
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3251
2803
  */
@@ -3256,21 +2808,11 @@ declare module 'stripe' {
3256
2808
  */
3257
2809
  promptpay?: PaymentMethodData.Promptpay;
3258
2810
 
3259
- /**
3260
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3261
- */
3262
- qris?: PaymentMethodData.Qris;
3263
-
3264
2811
  /**
3265
2812
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3266
2813
  */
3267
2814
  radar_options?: PaymentMethodData.RadarOptions;
3268
2815
 
3269
- /**
3270
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3271
- */
3272
- rechnung?: PaymentMethodData.Rechnung;
3273
-
3274
2816
  /**
3275
2817
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3276
2818
  */
@@ -3286,11 +2828,6 @@ declare module 'stripe' {
3286
2828
  */
3287
2829
  sepa_debit?: PaymentMethodData.SepaDebit;
3288
2830
 
3289
- /**
3290
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3291
- */
3292
- shopeepay?: PaymentMethodData.Shopeepay;
3293
-
3294
2831
  /**
3295
2832
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3296
2833
  */
@@ -3499,21 +3036,8 @@ declare module 'stripe' {
3499
3036
 
3500
3037
  interface Giropay {}
3501
3038
 
3502
- interface Gopay {}
3503
-
3504
3039
  interface Grabpay {}
3505
3040
 
3506
- interface IdBankTransfer {
3507
- /**
3508
- * Bank where the account is held.
3509
- */
3510
- bank?: IdBankTransfer.Bank;
3511
- }
3512
-
3513
- namespace IdBankTransfer {
3514
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
3515
- }
3516
-
3517
3041
  interface Ideal {
3518
3042
  /**
3519
3043
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -3577,8 +3101,6 @@ declare module 'stripe' {
3577
3101
 
3578
3102
  interface Link {}
3579
3103
 
3580
- interface MbWay {}
3581
-
3582
3104
  interface Mobilepay {}
3583
3105
 
3584
3106
  interface Multibanco {}
@@ -3639,29 +3161,10 @@ declare module 'stripe' {
3639
3161
 
3640
3162
  interface Paypal {}
3641
3163
 
3642
- interface Payto {
3643
- /**
3644
- * The account number for the bank account.
3645
- */
3646
- account_number?: string;
3647
-
3648
- /**
3649
- * Bank-State-Branch number of the bank account.
3650
- */
3651
- bsb_number?: string;
3652
-
3653
- /**
3654
- * The PayID alias for the bank account.
3655
- */
3656
- pay_id?: string;
3657
- }
3658
-
3659
3164
  interface Pix {}
3660
3165
 
3661
3166
  interface Promptpay {}
3662
3167
 
3663
- interface Qris {}
3664
-
3665
3168
  interface RadarOptions {
3666
3169
  /**
3667
3170
  * 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.
@@ -3669,32 +3172,6 @@ declare module 'stripe' {
3669
3172
  session?: string;
3670
3173
  }
3671
3174
 
3672
- interface Rechnung {
3673
- /**
3674
- * Customer's date of birth
3675
- */
3676
- dob: Rechnung.Dob;
3677
- }
3678
-
3679
- namespace Rechnung {
3680
- interface Dob {
3681
- /**
3682
- * The day of birth, between 1 and 31.
3683
- */
3684
- day: number;
3685
-
3686
- /**
3687
- * The month of birth, between 1 and 12.
3688
- */
3689
- month: number;
3690
-
3691
- /**
3692
- * The four-digit year of birth.
3693
- */
3694
- year: number;
3695
- }
3696
- }
3697
-
3698
3175
  interface RevolutPay {}
3699
3176
 
3700
3177
  interface SamsungPay {}
@@ -3706,8 +3183,6 @@ declare module 'stripe' {
3706
3183
  iban: string;
3707
3184
  }
3708
3185
 
3709
- interface Shopeepay {}
3710
-
3711
3186
  interface Sofort {
3712
3187
  /**
3713
3188
  * Two-letter ISO code representing the country the bank account is located in.
@@ -3740,16 +3215,13 @@ declare module 'stripe' {
3740
3215
  | 'eps'
3741
3216
  | 'fpx'
3742
3217
  | 'giropay'
3743
- | 'gopay'
3744
3218
  | 'grabpay'
3745
- | 'id_bank_transfer'
3746
3219
  | 'ideal'
3747
3220
  | 'kakao_pay'
3748
3221
  | 'klarna'
3749
3222
  | 'konbini'
3750
3223
  | 'kr_card'
3751
3224
  | 'link'
3752
- | 'mb_way'
3753
3225
  | 'mobilepay'
3754
3226
  | 'multibanco'
3755
3227
  | 'naver_pay'
@@ -3758,15 +3230,11 @@ declare module 'stripe' {
3758
3230
  | 'payco'
3759
3231
  | 'paynow'
3760
3232
  | 'paypal'
3761
- | 'payto'
3762
3233
  | 'pix'
3763
3234
  | 'promptpay'
3764
- | 'qris'
3765
- | 'rechnung'
3766
3235
  | 'revolut_pay'
3767
3236
  | 'samsung_pay'
3768
3237
  | 'sepa_debit'
3769
- | 'shopeepay'
3770
3238
  | 'sofort'
3771
3239
  | 'swish'
3772
3240
  | 'twint'
@@ -3848,11 +3316,6 @@ declare module 'stripe' {
3848
3316
  */
3849
3317
  paypal?: PaymentMethodOptions.Paypal;
3850
3318
 
3851
- /**
3852
- * If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
3853
- */
3854
- payto?: PaymentMethodOptions.Payto;
3855
-
3856
3319
  /**
3857
3320
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
3858
3321
  */
@@ -4154,86 +3617,6 @@ declare module 'stripe' {
4154
3617
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
4155
3618
  */
4156
3619
  billing_agreement_id?: string;
4157
-
4158
- currency?: string;
4159
-
4160
- /**
4161
- * 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.
4162
- */
4163
- subsellers?: Array<string>;
4164
- }
4165
-
4166
- interface Payto {
4167
- /**
4168
- * Additional fields for Mandate creation.
4169
- */
4170
- mandate_options?: Payto.MandateOptions;
4171
- }
4172
-
4173
- namespace Payto {
4174
- interface MandateOptions {
4175
- /**
4176
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
4177
- */
4178
- amount?: number;
4179
-
4180
- /**
4181
- * 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.
4182
- */
4183
- amount_type?: MandateOptions.AmountType;
4184
-
4185
- /**
4186
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
4187
- */
4188
- end_date?: string;
4189
-
4190
- /**
4191
- * The periodicity at which payments will be collected.
4192
- */
4193
- payment_schedule?: MandateOptions.PaymentSchedule;
4194
-
4195
- /**
4196
- * 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.
4197
- */
4198
- payments_per_period?: number;
4199
-
4200
- /**
4201
- * The purpose for which payments are made. Defaults to retail.
4202
- */
4203
- purpose?: MandateOptions.Purpose;
4204
-
4205
- /**
4206
- * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
4207
- */
4208
- start_date?: string;
4209
- }
4210
-
4211
- namespace MandateOptions {
4212
- type AmountType = 'fixed' | 'maximum';
4213
-
4214
- type PaymentSchedule =
4215
- | 'adhoc'
4216
- | 'annual'
4217
- | 'daily'
4218
- | 'fortnightly'
4219
- | 'monthly'
4220
- | 'quarterly'
4221
- | 'semi_annual'
4222
- | 'weekly';
4223
-
4224
- type Purpose =
4225
- | 'dependant_support'
4226
- | 'government'
4227
- | 'loan'
4228
- | 'mortgage'
4229
- | 'other'
4230
- | 'pension'
4231
- | 'personal'
4232
- | 'retail'
4233
- | 'salary'
4234
- | 'tax'
4235
- | 'utility';
4236
- }
4237
3620
  }
4238
3621
 
4239
3622
  interface SepaDebit {
@@ -4281,11 +3664,6 @@ declare module 'stripe' {
4281
3664
  */
4282
3665
  filters?: FinancialConnections.Filters;
4283
3666
 
4284
- /**
4285
- * Customize manual entry behavior
4286
- */
4287
- manual_entry?: FinancialConnections.ManualEntry;
4288
-
4289
3667
  /**
4290
3668
  * 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`.
4291
3669
  */
@@ -4308,39 +3686,19 @@ declare module 'stripe' {
4308
3686
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
4309
3687
  */
4310
3688
  account_subcategories?: Array<Filters.AccountSubcategory>;
4311
-
4312
- /**
4313
- * ID of the institution to use to filter for selectable accounts.
4314
- */
4315
- institution?: string;
4316
3689
  }
4317
3690
 
4318
3691
  namespace Filters {
4319
3692
  type AccountSubcategory = 'checking' | 'savings';
4320
3693
  }
4321
3694
 
4322
- interface ManualEntry {
4323
- /**
4324
- * Settings for configuring manual entry of account details.
4325
- */
4326
- mode: ManualEntry.Mode;
4327
- }
4328
-
4329
- namespace ManualEntry {
4330
- type Mode = 'automatic' | 'custom';
4331
- }
4332
-
4333
3695
  type Permission =
4334
3696
  | 'balances'
4335
3697
  | 'ownership'
4336
3698
  | 'payment_method'
4337
3699
  | 'transactions';
4338
3700
 
4339
- type Prefetch =
4340
- | 'balances'
4341
- | 'inferred_balances'
4342
- | 'ownership'
4343
- | 'transactions';
3701
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
4344
3702
  }
4345
3703
 
4346
3704
  interface MandateOptions {