stripe 16.11.0-beta.1 → 16.11.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 (170) hide show
  1. package/CHANGELOG.md +124 -831
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +2 -2
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/InvoiceRenderingTemplates.js +25 -0
  10. package/cjs/resources/Invoices.js +0 -17
  11. package/cjs/resources/OAuth.js +1 -1
  12. package/cjs/resources/PaymentIntents.js +0 -4
  13. package/cjs/resources/Quotes.js +0 -32
  14. package/cjs/resources/SubscriptionSchedules.js +0 -4
  15. package/cjs/resources/Terminal/Readers.js +0 -12
  16. package/cjs/resources.js +12 -42
  17. package/cjs/stripe.core.js +3 -6
  18. package/cjs/utils.js +3 -30
  19. package/esm/RequestSender.js +6 -67
  20. package/esm/StripeResource.js +3 -3
  21. package/esm/apiVersion.js +0 -1
  22. package/esm/multipart.js +2 -2
  23. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  24. package/esm/resources/InvoiceRenderingTemplates.js +22 -0
  25. package/esm/resources/Invoices.js +0 -17
  26. package/esm/resources/OAuth.js +2 -2
  27. package/esm/resources/PaymentIntents.js +0 -4
  28. package/esm/resources/Quotes.js +0 -32
  29. package/esm/resources/SubscriptionSchedules.js +0 -4
  30. package/esm/resources/Terminal/Readers.js +0 -12
  31. package/esm/resources.js +1 -28
  32. package/esm/stripe.core.js +3 -6
  33. package/esm/utils.js +1 -27
  34. package/package.json +1 -1
  35. package/types/AccountLinksResource.d.ts +1 -5
  36. package/types/AccountSessions.d.ts +0 -45
  37. package/types/AccountSessionsResource.d.ts +0 -278
  38. package/types/Accounts.d.ts +1 -113
  39. package/types/AccountsResource.d.ts +0 -270
  40. package/types/Charges.d.ts +0 -71
  41. package/types/ChargesResource.d.ts +0 -1294
  42. package/types/Checkout/Sessions.d.ts +13 -296
  43. package/types/Checkout/SessionsResource.d.ts +14 -350
  44. package/types/ConfirmationTokens.d.ts +0 -67
  45. package/types/Coupons.d.ts +1 -1
  46. package/types/CouponsResource.d.ts +1 -1
  47. package/types/CreditNotes.d.ts +0 -21
  48. package/types/CreditNotesResource.d.ts +0 -51
  49. package/types/Customers.d.ts +5 -0
  50. package/types/CustomersResource.d.ts +10 -3
  51. package/types/Disputes.d.ts +0 -152
  52. package/types/DisputesResource.d.ts +0 -120
  53. package/types/EventTypes.d.ts +0 -477
  54. package/types/Events.d.ts +0 -86
  55. package/types/FinancialConnections/Accounts.d.ts +1 -29
  56. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  57. package/types/FinancialConnections/Sessions.d.ts +1 -49
  58. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  59. package/types/InvoiceItems.d.ts +0 -5
  60. package/types/InvoiceItemsResource.d.ts +0 -98
  61. package/types/InvoiceLineItems.d.ts +2 -24
  62. package/types/{Margins.d.ts → InvoiceRenderingTemplates.d.ts} +13 -15
  63. package/types/InvoiceRenderingTemplatesResource.d.ts +93 -0
  64. package/types/Invoices.d.ts +11 -117
  65. package/types/InvoicesResource.d.ts +1855 -5493
  66. package/types/Issuing/CardholdersResource.d.ts +1 -2
  67. package/types/Issuing/Cards.d.ts +2 -1
  68. package/types/LineItems.d.ts +0 -7
  69. package/types/Mandates.d.ts +0 -77
  70. package/types/PaymentIntents.d.ts +1 -503
  71. package/types/PaymentIntentsResource.d.ts +3464 -7064
  72. package/types/PaymentLinks.d.ts +6 -2
  73. package/types/PaymentLinksResource.d.ts +18 -4
  74. package/types/PaymentMethodConfigurations.d.ts +0 -36
  75. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  76. package/types/PaymentMethods.d.ts +0 -67
  77. package/types/PaymentMethodsResource.d.ts +0 -88
  78. package/types/Prices.d.ts +0 -22
  79. package/types/PricesResource.d.ts +0 -22
  80. package/types/Products.d.ts +0 -39
  81. package/types/ProductsResource.d.ts +0 -36
  82. package/types/Quotes.d.ts +1 -596
  83. package/types/QuotesResource.d.ts +200 -2532
  84. package/types/SetupAttempts.d.ts +0 -10
  85. package/types/SetupIntents.d.ts +1 -111
  86. package/types/SetupIntentsResource.d.ts +3 -522
  87. package/types/Sources.d.ts +0 -23
  88. package/types/SubscriptionItems.d.ts +0 -21
  89. package/types/SubscriptionItemsResource.d.ts +0 -109
  90. package/types/SubscriptionSchedules.d.ts +0 -200
  91. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  92. package/types/Subscriptions.d.ts +1 -82
  93. package/types/SubscriptionsResource.d.ts +8 -347
  94. package/types/Terminal/LocationsResource.d.ts +1 -1
  95. package/types/Terminal/Readers.d.ts +0 -278
  96. package/types/Terminal/ReadersResource.d.ts +0 -208
  97. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  98. package/types/TestHelpers/TestClocks.d.ts +1 -1
  99. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  100. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  101. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  102. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  103. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  104. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  105. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  106. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  107. package/types/WebhookEndpointsResource.d.ts +0 -56
  108. package/types/index.d.ts +3 -71
  109. package/types/lib.d.ts +0 -12
  110. package/cjs/resources/AccountNotices.js +0 -21
  111. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  112. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  113. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  114. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  115. package/cjs/resources/GiftCards/Cards.js +0 -23
  116. package/cjs/resources/GiftCards/Transactions.js +0 -33
  117. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  118. package/cjs/resources/Margins.js +0 -22
  119. package/cjs/resources/Orders.js +0 -24
  120. package/cjs/resources/QuotePhases.js +0 -22
  121. package/cjs/resources/Tax/Associations.js +0 -9
  122. package/cjs/resources/Tax/Forms.js +0 -20
  123. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  124. package/esm/resources/AccountNotices.js +0 -18
  125. package/esm/resources/Capital/FinancingOffers.js +0 -18
  126. package/esm/resources/Capital/FinancingSummary.js +0 -9
  127. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  128. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  129. package/esm/resources/GiftCards/Cards.js +0 -20
  130. package/esm/resources/GiftCards/Transactions.js +0 -30
  131. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  132. package/esm/resources/Margins.js +0 -19
  133. package/esm/resources/Orders.js +0 -21
  134. package/esm/resources/QuotePhases.js +0 -19
  135. package/esm/resources/Tax/Associations.js +0 -6
  136. package/esm/resources/Tax/Forms.js +0 -17
  137. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  138. package/types/AccountNotices.d.ts +0 -113
  139. package/types/AccountNoticesResource.d.ts +0 -98
  140. package/types/Billing/MeterErrorReports.d.ts +0 -106
  141. package/types/Capital/FinancingOffers.d.ts +0 -188
  142. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  143. package/types/Capital/FinancingSummary.d.ts +0 -106
  144. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  145. package/types/Capital/FinancingTransactions.d.ts +0 -135
  146. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  147. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  148. package/types/FinancialConnections/Institutions.d.ts +0 -93
  149. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  150. package/types/GiftCards/Cards.d.ts +0 -118
  151. package/types/GiftCards/CardsResource.d.ts +0 -159
  152. package/types/GiftCards/Transactions.d.ts +0 -129
  153. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  154. package/types/InvoicePayments.d.ts +0 -138
  155. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  156. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  157. package/types/MarginsResource.d.ts +0 -114
  158. package/types/Orders.d.ts +0 -1084
  159. package/types/OrdersResource.d.ts +0 -2765
  160. package/types/QuoteLines.d.ts +0 -634
  161. package/types/QuotePhases.d.ts +0 -198
  162. package/types/QuotePhasesResource.d.ts +0 -67
  163. package/types/QuotePreviewInvoices.d.ts +0 -1532
  164. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  165. package/types/Tax/Associations.d.ts +0 -126
  166. package/types/Tax/AssociationsResource.d.ts +0 -29
  167. package/types/Tax/Forms.d.ts +0 -133
  168. package/types/Tax/FormsResource.d.ts +0 -90
  169. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  170. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -53,8 +53,6 @@ declare module 'stripe' {
53
53
  */
54
54
  application_fee_amount: number | null;
55
55
 
56
- async_workflows?: PaymentIntent.AsyncWorkflows;
57
-
58
56
  /**
59
57
  * Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
60
58
  */
@@ -148,8 +146,6 @@ declare module 'stripe' {
148
146
  */
149
147
  on_behalf_of: string | Stripe.Account | null;
150
148
 
151
- payment_details?: PaymentIntent.PaymentDetails;
152
-
153
149
  /**
154
150
  * ID of the payment method used in this PaymentIntent.
155
151
  */
@@ -185,11 +181,6 @@ declare module 'stripe' {
185
181
  */
186
182
  review: string | Stripe.Review | null;
187
183
 
188
- /**
189
- * Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
190
- */
191
- secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
192
-
193
184
  /**
194
185
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
195
186
  *
@@ -257,25 +248,6 @@ declare module 'stripe' {
257
248
  }
258
249
  }
259
250
 
260
- interface AsyncWorkflows {
261
- inputs?: AsyncWorkflows.Inputs;
262
- }
263
-
264
- namespace AsyncWorkflows {
265
- interface Inputs {
266
- tax?: Inputs.Tax;
267
- }
268
-
269
- namespace Inputs {
270
- interface Tax {
271
- /**
272
- * The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
273
- */
274
- calculation: string;
275
- }
276
- }
277
- }
278
-
279
251
  interface AutomaticPaymentMethods {
280
252
  /**
281
253
  * Controls whether this PaymentIntent will accept redirect-based payment methods.
@@ -455,15 +427,11 @@ declare module 'stripe' {
455
427
  | 'email_invalid'
456
428
  | 'expired_card'
457
429
  | 'financial_connections_account_inactive'
458
- | 'financial_connections_institution_unavailable'
459
430
  | 'financial_connections_no_successful_transaction_refresh'
460
431
  | 'forwarding_api_inactive'
461
432
  | 'forwarding_api_invalid_parameter'
462
433
  | 'forwarding_api_upstream_connection_error'
463
434
  | 'forwarding_api_upstream_connection_timeout'
464
- | 'gift_card_balance_insufficient'
465
- | 'gift_card_code_exists'
466
- | 'gift_card_inactive'
467
435
  | 'idempotency_key_in_use'
468
436
  | 'incorrect_address'
469
437
  | 'incorrect_cvc'
@@ -553,7 +521,6 @@ declare module 'stripe' {
553
521
  | 'return_intent_already_processed'
554
522
  | 'routing_number_invalid'
555
523
  | 'secret_key_required'
556
- | 'sensitive_data_access_expired'
557
524
  | 'sepa_unsupported_account'
558
525
  | 'setup_attempt_failed'
559
526
  | 'setup_intent_authentication_failure'
@@ -571,7 +538,6 @@ declare module 'stripe' {
571
538
  | 'taxes_calculation_failed'
572
539
  | 'terminal_location_country_unsupported'
573
540
  | 'terminal_reader_busy'
574
- | 'terminal_reader_collected_data_invalid'
575
541
  | 'terminal_reader_hardware_fault'
576
542
  | 'terminal_reader_invalid_location_for_payment'
577
543
  | 'terminal_reader_offline'
@@ -1298,289 +1264,6 @@ declare module 'stripe' {
1298
1264
  }
1299
1265
  }
1300
1266
 
1301
- interface PaymentDetails {
1302
- car_rental?: PaymentDetails.CarRental;
1303
-
1304
- event_details?: PaymentDetails.EventDetails;
1305
-
1306
- subscription?: PaymentDetails.Subscription;
1307
- }
1308
-
1309
- namespace PaymentDetails {
1310
- interface CarRental {
1311
- affiliate?: CarRental.Affiliate;
1312
-
1313
- /**
1314
- * The booking number associated with the car rental.
1315
- */
1316
- booking_number: string;
1317
-
1318
- /**
1319
- * Class code of the car.
1320
- */
1321
- car_class_code?: string;
1322
-
1323
- /**
1324
- * Make of the car.
1325
- */
1326
- car_make?: string;
1327
-
1328
- /**
1329
- * Model of the car.
1330
- */
1331
- car_model?: string;
1332
-
1333
- /**
1334
- * The name of the rental car company.
1335
- */
1336
- company?: string;
1337
-
1338
- /**
1339
- * The customer service phone number of the car rental company.
1340
- */
1341
- customer_service_phone_number?: string;
1342
-
1343
- /**
1344
- * Number of days the car is being rented.
1345
- */
1346
- days_rented: number;
1347
-
1348
- delivery?: CarRental.Delivery;
1349
-
1350
- /**
1351
- * The details of the drivers associated with the trip.
1352
- */
1353
- drivers?: Array<CarRental.Driver>;
1354
-
1355
- /**
1356
- * List of additional charges being billed.
1357
- */
1358
- extra_charges?: Array<CarRental.ExtraCharge>;
1359
-
1360
- /**
1361
- * Indicates if the customer did not keep nor cancel their booking.
1362
- */
1363
- no_show?: boolean;
1364
-
1365
- pickup_address?: Stripe.Address;
1366
-
1367
- /**
1368
- * Car pick-up time. Measured in seconds since the Unix epoch.
1369
- */
1370
- pickup_at: number;
1371
-
1372
- /**
1373
- * Rental rate.
1374
- */
1375
- rate_amount?: number;
1376
-
1377
- /**
1378
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1379
- */
1380
- rate_interval?: CarRental.RateInterval;
1381
-
1382
- /**
1383
- * The full name of the person or entity renting the car.
1384
- */
1385
- renter_name?: string;
1386
-
1387
- return_address?: Stripe.Address;
1388
-
1389
- /**
1390
- * Car return time. Measured in seconds since the Unix epoch.
1391
- */
1392
- return_at: number;
1393
-
1394
- /**
1395
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
1396
- */
1397
- tax_exempt?: boolean;
1398
- }
1399
-
1400
- namespace CarRental {
1401
- interface Affiliate {
1402
- /**
1403
- * The name of the affiliate that originated the purchase.
1404
- */
1405
- name?: string;
1406
- }
1407
-
1408
- interface Delivery {
1409
- /**
1410
- * The delivery method for the payment
1411
- */
1412
- mode?: Delivery.Mode;
1413
-
1414
- recipient?: Delivery.Recipient;
1415
- }
1416
-
1417
- namespace Delivery {
1418
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1419
-
1420
- interface Recipient {
1421
- /**
1422
- * The email of the recipient the ticket is delivered to.
1423
- */
1424
- email?: string;
1425
-
1426
- /**
1427
- * The name of the recipient the ticket is delivered to.
1428
- */
1429
- name?: string;
1430
-
1431
- /**
1432
- * The phone number of the recipient the ticket is delivered to.
1433
- */
1434
- phone?: string;
1435
- }
1436
- }
1437
-
1438
- interface Driver {
1439
- /**
1440
- * Full name of the driver on the reservation.
1441
- */
1442
- name?: string;
1443
- }
1444
-
1445
- type ExtraCharge =
1446
- | 'extra_mileage'
1447
- | 'gas'
1448
- | 'late_return'
1449
- | 'one_way_service'
1450
- | 'parking_violation';
1451
-
1452
- type RateInterval = 'day' | 'month' | 'week';
1453
- }
1454
-
1455
- interface EventDetails {
1456
- /**
1457
- * Indicates if the tickets are digitally checked when entering the venue.
1458
- */
1459
- access_controlled_venue?: boolean;
1460
-
1461
- address?: Stripe.Address;
1462
-
1463
- affiliate?: EventDetails.Affiliate;
1464
-
1465
- /**
1466
- * The name of the company
1467
- */
1468
- company?: string;
1469
-
1470
- delivery?: EventDetails.Delivery;
1471
-
1472
- /**
1473
- * Event end time. Measured in seconds since the Unix epoch.
1474
- */
1475
- ends_at?: number;
1476
-
1477
- /**
1478
- * Type of the event entertainment (concert, sports event etc)
1479
- */
1480
- genre?: string;
1481
-
1482
- /**
1483
- * The name of the event.
1484
- */
1485
- name?: string;
1486
-
1487
- /**
1488
- * Event start time. Measured in seconds since the Unix epoch.
1489
- */
1490
- starts_at?: number;
1491
- }
1492
-
1493
- namespace EventDetails {
1494
- interface Affiliate {
1495
- /**
1496
- * The name of the affiliate that originated the purchase.
1497
- */
1498
- name?: string;
1499
- }
1500
-
1501
- interface Delivery {
1502
- /**
1503
- * The delivery method for the payment
1504
- */
1505
- mode?: Delivery.Mode;
1506
-
1507
- recipient?: Delivery.Recipient;
1508
- }
1509
-
1510
- namespace Delivery {
1511
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1512
-
1513
- interface Recipient {
1514
- /**
1515
- * The email of the recipient the ticket is delivered to.
1516
- */
1517
- email?: string;
1518
-
1519
- /**
1520
- * The name of the recipient the ticket is delivered to.
1521
- */
1522
- name?: string;
1523
-
1524
- /**
1525
- * The phone number of the recipient the ticket is delivered to.
1526
- */
1527
- phone?: string;
1528
- }
1529
- }
1530
- }
1531
-
1532
- interface Subscription {
1533
- affiliate?: Subscription.Affiliate;
1534
-
1535
- /**
1536
- * Info whether the subscription will be auto renewed upon expiry.
1537
- */
1538
- auto_renewal?: boolean;
1539
-
1540
- billing_interval?: Subscription.BillingInterval;
1541
-
1542
- /**
1543
- * Subscription end time. Measured in seconds since the Unix epoch.
1544
- */
1545
- ends_at?: number;
1546
-
1547
- /**
1548
- * Name of the product on subscription. e.g. Apple Music Subscription.
1549
- */
1550
- name?: string;
1551
-
1552
- /**
1553
- * Subscription start time. Measured in seconds since the Unix epoch.
1554
- */
1555
- starts_at?: number;
1556
- }
1557
-
1558
- namespace Subscription {
1559
- interface Affiliate {
1560
- /**
1561
- * The name of the affiliate that originated the purchase.
1562
- */
1563
- name?: string;
1564
- }
1565
-
1566
- interface BillingInterval {
1567
- /**
1568
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1569
- */
1570
- count?: number;
1571
-
1572
- /**
1573
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1574
- */
1575
- interval?: BillingInterval.Interval;
1576
- }
1577
-
1578
- namespace BillingInterval {
1579
- type Interval = 'day' | 'month' | 'week' | 'year';
1580
- }
1581
- }
1582
- }
1583
-
1584
1267
  interface PaymentMethodConfigurationDetails {
1585
1268
  /**
1586
1269
  * ID of the payment method configuration used.
@@ -1640,8 +1323,6 @@ declare module 'stripe' {
1640
1323
 
1641
1324
  link?: PaymentMethodOptions.Link;
1642
1325
 
1643
- mb_way?: PaymentMethodOptions.MbWay;
1644
-
1645
1326
  mobilepay?: PaymentMethodOptions.Mobilepay;
1646
1327
 
1647
1328
  multibanco?: PaymentMethodOptions.Multibanco;
@@ -1654,14 +1335,10 @@ declare module 'stripe' {
1654
1335
 
1655
1336
  paypal?: PaymentMethodOptions.Paypal;
1656
1337
 
1657
- payto?: PaymentMethodOptions.Payto;
1658
-
1659
1338
  pix?: PaymentMethodOptions.Pix;
1660
1339
 
1661
1340
  promptpay?: PaymentMethodOptions.Promptpay;
1662
1341
 
1663
- rechnung?: PaymentMethodOptions.Rechnung;
1664
-
1665
1342
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1666
1343
 
1667
1344
  sepa_debit?: PaymentMethodOptions.SepaDebit;
@@ -1940,11 +1617,6 @@ declare module 'stripe' {
1940
1617
  */
1941
1618
  network: Card.Network | null;
1942
1619
 
1943
- /**
1944
- * Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
1945
- */
1946
- request_decremental_authorization?: Card.RequestDecrementalAuthorization;
1947
-
1948
1620
  /**
1949
1621
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1950
1622
  */
@@ -1995,8 +1667,6 @@ declare module 'stripe' {
1995
1667
  * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
1996
1668
  */
1997
1669
  statement_descriptor_suffix_kanji?: string;
1998
-
1999
- statement_details?: Card.StatementDetails;
2000
1670
  }
2001
1671
 
2002
1672
  namespace Card {
@@ -2122,8 +1792,6 @@ declare module 'stripe' {
2122
1792
  | 'unknown'
2123
1793
  | 'visa';
2124
1794
 
2125
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2126
-
2127
1795
  type RequestExtendedAuthorization = 'if_available' | 'never';
2128
1796
 
2129
1797
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2135,49 +1803,6 @@ declare module 'stripe' {
2135
1803
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2136
1804
 
2137
1805
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2138
-
2139
- interface StatementDetails {
2140
- address?: StatementDetails.Address;
2141
-
2142
- /**
2143
- * Phone number
2144
- */
2145
- phone?: string;
2146
- }
2147
-
2148
- namespace StatementDetails {
2149
- interface Address {
2150
- /**
2151
- * City, district, suburb, town, or village.
2152
- */
2153
- city?: string;
2154
-
2155
- /**
2156
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2157
- */
2158
- country?: string;
2159
-
2160
- /**
2161
- * Address line 1 (e.g., street, PO Box, or company name).
2162
- */
2163
- line1?: string;
2164
-
2165
- /**
2166
- * Address line 2 (e.g., apartment, suite, unit, or building).
2167
- */
2168
- line2?: string;
2169
-
2170
- /**
2171
- * ZIP or postal code.
2172
- */
2173
- postal_code?: string;
2174
-
2175
- /**
2176
- * State, county, province, or region.
2177
- */
2178
- state?: string;
2179
- }
2180
- }
2181
1806
  }
2182
1807
 
2183
1808
  interface CardPresent {
@@ -2451,19 +2076,6 @@ declare module 'stripe' {
2451
2076
  type SetupFutureUsage = 'none' | 'off_session';
2452
2077
  }
2453
2078
 
2454
- interface MbWay {
2455
- /**
2456
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2457
- *
2458
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2459
- *
2460
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2461
- *
2462
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
2463
- */
2464
- setup_future_usage?: 'none';
2465
- }
2466
-
2467
2079
  interface Mobilepay {
2468
2080
  /**
2469
2081
  * Controls when the funds will be captured from the customer's account.
@@ -2555,11 +2167,6 @@ declare module 'stripe' {
2555
2167
  */
2556
2168
  reference: string | null;
2557
2169
 
2558
- /**
2559
- * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2560
- */
2561
- reference_id?: string | null;
2562
-
2563
2170
  /**
2564
2171
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2565
2172
  *
@@ -2570,95 +2177,12 @@ declare module 'stripe' {
2570
2177
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
2571
2178
  */
2572
2179
  setup_future_usage?: Paypal.SetupFutureUsage;
2573
-
2574
- /**
2575
- * 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.
2576
- */
2577
- subsellers?: Array<string>;
2578
2180
  }
2579
2181
 
2580
2182
  namespace Paypal {
2581
2183
  type SetupFutureUsage = 'none' | 'off_session';
2582
2184
  }
2583
2185
 
2584
- interface Payto {
2585
- mandate_options?: Payto.MandateOptions;
2586
-
2587
- /**
2588
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2589
- *
2590
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2591
- *
2592
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2593
- *
2594
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
2595
- */
2596
- setup_future_usage?: Payto.SetupFutureUsage;
2597
- }
2598
-
2599
- namespace Payto {
2600
- interface MandateOptions {
2601
- /**
2602
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
2603
- */
2604
- amount: number | null;
2605
-
2606
- /**
2607
- * 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.
2608
- */
2609
- amount_type: MandateOptions.AmountType | null;
2610
-
2611
- /**
2612
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2613
- */
2614
- end_date: string | null;
2615
-
2616
- /**
2617
- * The periodicity at which payments will be collected.
2618
- */
2619
- payment_schedule: MandateOptions.PaymentSchedule | null;
2620
-
2621
- /**
2622
- * 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.
2623
- */
2624
- payments_per_period: number | null;
2625
-
2626
- /**
2627
- * The purpose for which payments are made. Defaults to retail.
2628
- */
2629
- purpose: MandateOptions.Purpose | null;
2630
- }
2631
-
2632
- namespace MandateOptions {
2633
- type AmountType = 'fixed' | 'maximum';
2634
-
2635
- type PaymentSchedule =
2636
- | 'adhoc'
2637
- | 'annual'
2638
- | 'daily'
2639
- | 'fortnightly'
2640
- | 'monthly'
2641
- | 'quarterly'
2642
- | 'semi_annual'
2643
- | 'weekly';
2644
-
2645
- type Purpose =
2646
- | 'dependant_support'
2647
- | 'government'
2648
- | 'loan'
2649
- | 'mortgage'
2650
- | 'other'
2651
- | 'pension'
2652
- | 'personal'
2653
- | 'retail'
2654
- | 'salary'
2655
- | 'tax'
2656
- | 'utility';
2657
- }
2658
-
2659
- type SetupFutureUsage = 'none' | 'off_session';
2660
- }
2661
-
2662
2186
  interface Pix {
2663
2187
  /**
2664
2188
  * The number of seconds (between 10 and 1209600) after which Pix payment will expire.
@@ -2695,8 +2219,6 @@ declare module 'stripe' {
2695
2219
  setup_future_usage?: 'none';
2696
2220
  }
2697
2221
 
2698
- interface Rechnung {}
2699
-
2700
2222
  interface RevolutPay {
2701
2223
  /**
2702
2224
  * Controls when the funds will be captured from the customer's account.
@@ -2833,8 +2355,6 @@ declare module 'stripe' {
2833
2355
  interface FinancialConnections {
2834
2356
  filters?: FinancialConnections.Filters;
2835
2357
 
2836
- manual_entry?: FinancialConnections.ManualEntry;
2837
-
2838
2358
  /**
2839
2359
  * The list of permissions to request. The `payment_method` permission must be included.
2840
2360
  */
@@ -2857,39 +2377,19 @@ declare module 'stripe' {
2857
2377
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
2858
2378
  */
2859
2379
  account_subcategories?: Array<Filters.AccountSubcategory>;
2860
-
2861
- /**
2862
- * The institution to use to filter for possible accounts to link.
2863
- */
2864
- institution?: string;
2865
2380
  }
2866
2381
 
2867
2382
  namespace Filters {
2868
2383
  type AccountSubcategory = 'checking' | 'savings';
2869
2384
  }
2870
2385
 
2871
- interface ManualEntry {
2872
- /**
2873
- * Settings for configuring manual entry of account details.
2874
- */
2875
- mode?: ManualEntry.Mode;
2876
- }
2877
-
2878
- namespace ManualEntry {
2879
- type Mode = 'automatic' | 'custom';
2880
- }
2881
-
2882
2386
  type Permission =
2883
2387
  | 'balances'
2884
2388
  | 'ownership'
2885
2389
  | 'payment_method'
2886
2390
  | 'transactions';
2887
2391
 
2888
- type Prefetch =
2889
- | 'balances'
2890
- | 'inferred_balances'
2891
- | 'ownership'
2892
- | 'transactions';
2392
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
2893
2393
  }
2894
2394
 
2895
2395
  interface MandateOptions {
@@ -2976,8 +2476,6 @@ declare module 'stripe' {
2976
2476
  }
2977
2477
  }
2978
2478
 
2979
- type SecretKeyConfirmation = 'optional' | 'required';
2980
-
2981
2479
  type SetupFutureUsage = 'off_session' | 'on_session';
2982
2480
 
2983
2481
  interface Shipping {