stripe 16.12.0-beta.1 → 16.12.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 (176) hide show
  1. package/CHANGELOG.md +130 -841
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  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/Invoices.js +0 -17
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -44
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +3 -30
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -17
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -30
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +1 -27
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +1 -5
  34. package/types/AccountSessions.d.ts +0 -45
  35. package/types/AccountSessionsResource.d.ts +0 -278
  36. package/types/Accounts.d.ts +5 -115
  37. package/types/AccountsResource.d.ts +0 -270
  38. package/types/BankAccounts.d.ts +4 -2
  39. package/types/Capabilities.d.ts +4 -2
  40. package/types/Charges.d.ts +23 -71
  41. package/types/ChargesResource.d.ts +0 -1294
  42. package/types/Checkout/Sessions.d.ts +4 -296
  43. package/types/Checkout/SessionsResource.d.ts +5 -351
  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/CustomersResource.d.ts +0 -3
  50. package/types/Disputes.d.ts +14 -153
  51. package/types/DisputesResource.d.ts +0 -120
  52. package/types/EventTypes.d.ts +0 -545
  53. package/types/Events.d.ts +0 -90
  54. package/types/FinancialConnections/Accounts.d.ts +1 -29
  55. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  56. package/types/FinancialConnections/Sessions.d.ts +1 -49
  57. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  58. package/types/InvoiceItems.d.ts +0 -5
  59. package/types/InvoiceItemsResource.d.ts +0 -98
  60. package/types/InvoiceLineItems.d.ts +0 -22
  61. package/types/InvoiceRenderingTemplates.d.ts +2 -1
  62. package/types/Invoices.d.ts +7 -117
  63. package/types/InvoicesResource.d.ts +1835 -5493
  64. package/types/Issuing/CardholdersResource.d.ts +1 -2
  65. package/types/Issuing/Transactions.d.ts +0 -2
  66. package/types/Issuing/TransactionsResource.d.ts +0 -5
  67. package/types/LineItems.d.ts +0 -7
  68. package/types/Mandates.d.ts +0 -77
  69. package/types/PaymentIntents.d.ts +2 -503
  70. package/types/PaymentIntentsResource.d.ts +3464 -7064
  71. package/types/PaymentLinks.d.ts +0 -2
  72. package/types/PaymentLinksResource.d.ts +0 -4
  73. package/types/PaymentMethodConfigurations.d.ts +0 -36
  74. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  75. package/types/PaymentMethods.d.ts +0 -67
  76. package/types/PaymentMethodsResource.d.ts +0 -88
  77. package/types/Persons.d.ts +4 -2
  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 +199 -2531
  84. package/types/SetupAttempts.d.ts +1 -10
  85. package/types/SetupIntents.d.ts +2 -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 +2 -347
  94. package/types/Tax/Registrations.d.ts +30 -0
  95. package/types/Tax/RegistrationsResource.d.ts +33 -0
  96. package/types/Terminal/Readers.d.ts +0 -278
  97. package/types/Terminal/ReadersResource.d.ts +0 -208
  98. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  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 +1 -31
  107. package/types/WebhookEndpointsResource.d.ts +0 -64
  108. package/types/index.d.ts +0 -75
  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/Issuing/DisputeSettlementDetails.js +0 -17
  119. package/cjs/resources/Margins.js +0 -22
  120. package/cjs/resources/Orders.js +0 -24
  121. package/cjs/resources/QuotePhases.js +0 -17
  122. package/cjs/resources/Tax/Associations.js +0 -9
  123. package/cjs/resources/Tax/Forms.js +0 -20
  124. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  125. package/esm/resources/AccountNotices.js +0 -18
  126. package/esm/resources/Capital/FinancingOffers.js +0 -18
  127. package/esm/resources/Capital/FinancingSummary.js +0 -9
  128. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  129. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  130. package/esm/resources/GiftCards/Cards.js +0 -20
  131. package/esm/resources/GiftCards/Transactions.js +0 -30
  132. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  133. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  134. package/esm/resources/Margins.js +0 -19
  135. package/esm/resources/Orders.js +0 -21
  136. package/esm/resources/QuotePhases.js +0 -14
  137. package/esm/resources/Tax/Associations.js +0 -6
  138. package/esm/resources/Tax/Forms.js +0 -17
  139. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  140. package/types/AccountNotices.d.ts +0 -113
  141. package/types/AccountNoticesResource.d.ts +0 -98
  142. package/types/Billing/MeterErrorReports.d.ts +0 -106
  143. package/types/Capital/FinancingOffers.d.ts +0 -188
  144. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  145. package/types/Capital/FinancingSummary.d.ts +0 -106
  146. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  147. package/types/Capital/FinancingTransactions.d.ts +0 -135
  148. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  149. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  150. package/types/FinancialConnections/Institutions.d.ts +0 -93
  151. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  152. package/types/GiftCards/Cards.d.ts +0 -118
  153. package/types/GiftCards/CardsResource.d.ts +0 -159
  154. package/types/GiftCards/Transactions.d.ts +0 -129
  155. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  156. package/types/InvoicePayments.d.ts +0 -138
  157. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  158. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  159. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  160. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  161. package/types/Issuing/Settlements.d.ts +0 -103
  162. package/types/Margins.d.ts +0 -56
  163. package/types/MarginsResource.d.ts +0 -114
  164. package/types/Orders.d.ts +0 -1084
  165. package/types/OrdersResource.d.ts +0 -2765
  166. package/types/QuoteLines.d.ts +0 -634
  167. package/types/QuotePhases.d.ts +0 -198
  168. package/types/QuotePhasesResource.d.ts +0 -47
  169. package/types/QuotePreviewInvoices.d.ts +0 -1542
  170. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  171. package/types/Tax/Associations.d.ts +0 -126
  172. package/types/Tax/AssociationsResource.d.ts +0 -29
  173. package/types/Tax/Forms.d.ts +0 -133
  174. package/types/Tax/FormsResource.d.ts +0 -90
  175. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  176. 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,8 +538,8 @@ 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'
542
+ | 'terminal_reader_invalid_location_for_activation'
576
543
  | 'terminal_reader_invalid_location_for_payment'
577
544
  | 'terminal_reader_offline'
578
545
  | 'terminal_reader_timeout'
@@ -1298,289 +1265,6 @@ declare module 'stripe' {
1298
1265
  }
1299
1266
  }
1300
1267
 
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
1268
  interface PaymentMethodConfigurationDetails {
1585
1269
  /**
1586
1270
  * ID of the payment method configuration used.
@@ -1640,8 +1324,6 @@ declare module 'stripe' {
1640
1324
 
1641
1325
  link?: PaymentMethodOptions.Link;
1642
1326
 
1643
- mb_way?: PaymentMethodOptions.MbWay;
1644
-
1645
1327
  mobilepay?: PaymentMethodOptions.Mobilepay;
1646
1328
 
1647
1329
  multibanco?: PaymentMethodOptions.Multibanco;
@@ -1654,14 +1336,10 @@ declare module 'stripe' {
1654
1336
 
1655
1337
  paypal?: PaymentMethodOptions.Paypal;
1656
1338
 
1657
- payto?: PaymentMethodOptions.Payto;
1658
-
1659
1339
  pix?: PaymentMethodOptions.Pix;
1660
1340
 
1661
1341
  promptpay?: PaymentMethodOptions.Promptpay;
1662
1342
 
1663
- rechnung?: PaymentMethodOptions.Rechnung;
1664
-
1665
1343
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1666
1344
 
1667
1345
  sepa_debit?: PaymentMethodOptions.SepaDebit;
@@ -1940,11 +1618,6 @@ declare module 'stripe' {
1940
1618
  */
1941
1619
  network: Card.Network | null;
1942
1620
 
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
1621
  /**
1949
1622
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1950
1623
  */
@@ -1995,8 +1668,6 @@ declare module 'stripe' {
1995
1668
  * 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
1669
  */
1997
1670
  statement_descriptor_suffix_kanji?: string;
1998
-
1999
- statement_details?: Card.StatementDetails;
2000
1671
  }
2001
1672
 
2002
1673
  namespace Card {
@@ -2122,8 +1793,6 @@ declare module 'stripe' {
2122
1793
  | 'unknown'
2123
1794
  | 'visa';
2124
1795
 
2125
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2126
-
2127
1796
  type RequestExtendedAuthorization = 'if_available' | 'never';
2128
1797
 
2129
1798
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2135,49 +1804,6 @@ declare module 'stripe' {
2135
1804
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2136
1805
 
2137
1806
  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
1807
  }
2182
1808
 
2183
1809
  interface CardPresent {
@@ -2451,19 +2077,6 @@ declare module 'stripe' {
2451
2077
  type SetupFutureUsage = 'none' | 'off_session';
2452
2078
  }
2453
2079
 
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
2080
  interface Mobilepay {
2468
2081
  /**
2469
2082
  * Controls when the funds will be captured from the customer's account.
@@ -2555,11 +2168,6 @@ declare module 'stripe' {
2555
2168
  */
2556
2169
  reference: string | null;
2557
2170
 
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
2171
  /**
2564
2172
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2565
2173
  *
@@ -2570,95 +2178,12 @@ declare module 'stripe' {
2570
2178
  * 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
2179
  */
2572
2180
  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
2181
  }
2579
2182
 
2580
2183
  namespace Paypal {
2581
2184
  type SetupFutureUsage = 'none' | 'off_session';
2582
2185
  }
2583
2186
 
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
2187
  interface Pix {
2663
2188
  /**
2664
2189
  * The number of seconds (between 10 and 1209600) after which Pix payment will expire.
@@ -2695,8 +2220,6 @@ declare module 'stripe' {
2695
2220
  setup_future_usage?: 'none';
2696
2221
  }
2697
2222
 
2698
- interface Rechnung {}
2699
-
2700
2223
  interface RevolutPay {
2701
2224
  /**
2702
2225
  * Controls when the funds will be captured from the customer's account.
@@ -2833,8 +2356,6 @@ declare module 'stripe' {
2833
2356
  interface FinancialConnections {
2834
2357
  filters?: FinancialConnections.Filters;
2835
2358
 
2836
- manual_entry?: FinancialConnections.ManualEntry;
2837
-
2838
2359
  /**
2839
2360
  * The list of permissions to request. The `payment_method` permission must be included.
2840
2361
  */
@@ -2857,39 +2378,19 @@ declare module 'stripe' {
2857
2378
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
2858
2379
  */
2859
2380
  account_subcategories?: Array<Filters.AccountSubcategory>;
2860
-
2861
- /**
2862
- * The institution to use to filter for possible accounts to link.
2863
- */
2864
- institution?: string;
2865
2381
  }
2866
2382
 
2867
2383
  namespace Filters {
2868
2384
  type AccountSubcategory = 'checking' | 'savings';
2869
2385
  }
2870
2386
 
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
2387
  type Permission =
2883
2388
  | 'balances'
2884
2389
  | 'ownership'
2885
2390
  | 'payment_method'
2886
2391
  | 'transactions';
2887
2392
 
2888
- type Prefetch =
2889
- | 'balances'
2890
- | 'inferred_balances'
2891
- | 'ownership'
2892
- | 'transactions';
2393
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
2893
2394
  }
2894
2395
 
2895
2396
  interface MandateOptions {
@@ -2976,8 +2477,6 @@ declare module 'stripe' {
2976
2477
  }
2977
2478
  }
2978
2479
 
2979
- type SecretKeyConfirmation = 'optional' | 'required';
2980
-
2981
2480
  type SetupFutureUsage = 'off_session' | 'on_session';
2982
2481
 
2983
2482
  interface Shipping {