stripe 17.4.0-beta.2 → 17.4.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 (181) hide show
  1. package/CHANGELOG.md +124 -954
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -8
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +4 -0
  12. package/cjs/resources.js +10 -48
  13. package/cjs/stripe.core.js +1 -1
  14. package/esm/apiVersion.js +1 -1
  15. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  16. package/esm/resources/Invoices.js +0 -17
  17. package/esm/resources/PaymentIntents.js +0 -8
  18. package/esm/resources/Quotes.js +0 -32
  19. package/esm/resources/SubscriptionSchedules.js +0 -4
  20. package/esm/resources/Terminal/Readers.js +0 -12
  21. package/esm/resources/TestHelpers/Issuing/Authorizations.js +4 -0
  22. package/esm/resources.js +0 -33
  23. package/esm/stripe.core.js +1 -1
  24. package/package.json +1 -1
  25. package/types/AccountLinksResource.d.ts +1 -5
  26. package/types/AccountSessions.d.ts +0 -45
  27. package/types/AccountSessionsResource.d.ts +0 -355
  28. package/types/Accounts.d.ts +1 -183
  29. package/types/AccountsResource.d.ts +15 -496
  30. package/types/Charges.d.ts +0 -116
  31. package/types/ChargesResource.d.ts +0 -1294
  32. package/types/Checkout/Sessions.d.ts +5 -311
  33. package/types/Checkout/SessionsResource.d.ts +6 -362
  34. package/types/ConfirmationTokens.d.ts +0 -99
  35. package/types/Coupons.d.ts +1 -1
  36. package/types/CouponsResource.d.ts +1 -1
  37. package/types/CreditNotes.d.ts +0 -21
  38. package/types/CreditNotesResource.d.ts +0 -51
  39. package/types/CustomersResource.d.ts +0 -7
  40. package/types/EventTypes.d.ts +0 -579
  41. package/types/Events.d.ts +0 -92
  42. package/types/FileLinksResource.d.ts +1 -1
  43. package/types/Files.d.ts +1 -0
  44. package/types/FilesResource.d.ts +1 -0
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/InvoiceItems.d.ts +0 -5
  50. package/types/InvoiceItemsResource.d.ts +0 -98
  51. package/types/InvoiceLineItems.d.ts +1 -28
  52. package/types/Invoices.d.ts +2 -137
  53. package/types/InvoicesResource.d.ts +1846 -5531
  54. package/types/Issuing/Authorizations.d.ts +40 -0
  55. package/types/Issuing/Cardholders.d.ts +1 -1
  56. package/types/Issuing/CardholdersResource.d.ts +1 -2
  57. package/types/Issuing/Cards.d.ts +1 -1
  58. package/types/Issuing/Transactions.d.ts +0 -2
  59. package/types/Issuing/TransactionsResource.d.ts +0 -5
  60. package/types/LineItems.d.ts +0 -7
  61. package/types/Mandates.d.ts +0 -77
  62. package/types/PaymentIntents.d.ts +1 -637
  63. package/types/PaymentIntentsResource.d.ts +3693 -7934
  64. package/types/PaymentLinks.d.ts +1 -7
  65. package/types/PaymentLinksResource.d.ts +2 -14
  66. package/types/PaymentMethodConfigurations.d.ts +0 -180
  67. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  68. package/types/PaymentMethods.d.ts +0 -99
  69. package/types/PaymentMethodsResource.d.ts +0 -133
  70. package/types/Payouts.d.ts +17 -0
  71. package/types/Persons.d.ts +5 -0
  72. package/types/Prices.d.ts +0 -22
  73. package/types/PricesResource.d.ts +0 -22
  74. package/types/Products.d.ts +0 -39
  75. package/types/ProductsResource.d.ts +0 -36
  76. package/types/Quotes.d.ts +1 -591
  77. package/types/QuotesResource.d.ts +199 -2531
  78. package/types/Refunds.d.ts +10 -14
  79. package/types/SetupAttempts.d.ts +0 -38
  80. package/types/SetupIntents.d.ts +1 -111
  81. package/types/SetupIntentsResource.d.ts +3 -645
  82. package/types/Sources.d.ts +0 -23
  83. package/types/SubscriptionItems.d.ts +0 -21
  84. package/types/SubscriptionItemsResource.d.ts +0 -109
  85. package/types/SubscriptionSchedules.d.ts +0 -200
  86. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  87. package/types/Subscriptions.d.ts +3 -93
  88. package/types/SubscriptionsResource.d.ts +4 -371
  89. package/types/Terminal/Readers.d.ts +0 -278
  90. package/types/Terminal/ReadersResource.d.ts +0 -215
  91. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  92. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +23 -0
  93. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  94. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  95. package/types/TokensResource.d.ts +5 -0
  96. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  97. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  98. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  99. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  100. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  101. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  102. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  103. package/types/WebhookEndpointsResource.d.ts +2 -69
  104. package/types/index.d.ts +0 -62
  105. package/types/lib.d.ts +1 -1
  106. package/types/test/typescriptTest.ts +3 -3
  107. package/cjs/resources/AccountNotices.js +0 -21
  108. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  109. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  110. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  111. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  112. package/cjs/resources/GiftCards/Cards.js +0 -23
  113. package/cjs/resources/GiftCards/Transactions.js +0 -33
  114. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  115. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  116. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  117. package/cjs/resources/Margins.js +0 -22
  118. package/cjs/resources/Orders.js +0 -24
  119. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  120. package/cjs/resources/PaymentRecords.js +0 -29
  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/Issuing/DisputeSettlementDetails.js +0 -14
  133. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  134. package/esm/resources/Margins.js +0 -19
  135. package/esm/resources/Orders.js +0 -21
  136. package/esm/resources/PaymentAttemptRecords.js +0 -14
  137. package/esm/resources/PaymentRecords.js +0 -26
  138. package/esm/resources/Tax/Associations.js +0 -6
  139. package/esm/resources/Tax/Forms.js +0 -17
  140. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  141. package/types/AccountNotices.d.ts +0 -113
  142. package/types/AccountNoticesResource.d.ts +0 -98
  143. package/types/Billing/MeterErrorReports.d.ts +0 -106
  144. package/types/Capital/FinancingOffers.d.ts +0 -188
  145. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  146. package/types/Capital/FinancingSummary.d.ts +0 -106
  147. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  148. package/types/Capital/FinancingTransactions.d.ts +0 -135
  149. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  150. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  151. package/types/FinancialConnections/Institutions.d.ts +0 -93
  152. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  153. package/types/GiftCards/Cards.d.ts +0 -118
  154. package/types/GiftCards/CardsResource.d.ts +0 -159
  155. package/types/GiftCards/Transactions.d.ts +0 -129
  156. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  157. package/types/InvoicePayments.d.ts +0 -113
  158. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  159. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  160. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  161. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  162. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  163. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  164. package/types/Issuing/Settlements.d.ts +0 -103
  165. package/types/Margins.d.ts +0 -56
  166. package/types/MarginsResource.d.ts +0 -114
  167. package/types/Orders.d.ts +0 -1155
  168. package/types/OrdersResource.d.ts +0 -2913
  169. package/types/PaymentAttemptRecords.d.ts +0 -242
  170. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  171. package/types/PaymentRecords.d.ts +0 -259
  172. package/types/PaymentRecordsResource.d.ts +0 -455
  173. package/types/QuoteLines.d.ts +0 -634
  174. package/types/QuotePreviewInvoices.d.ts +0 -1615
  175. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  176. package/types/Tax/Associations.d.ts +0 -126
  177. package/types/Tax/AssociationsResource.d.ts +0 -29
  178. package/types/Tax/Forms.d.ts +0 -220
  179. package/types/Tax/FormsResource.d.ts +0 -107
  180. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  181. 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_activation'
577
543
  | 'terminal_reader_invalid_location_for_payment'
@@ -1327,289 +1293,6 @@ declare module 'stripe' {
1327
1293
  }
1328
1294
  }
1329
1295
 
1330
- interface PaymentDetails {
1331
- car_rental?: PaymentDetails.CarRental;
1332
-
1333
- event_details?: PaymentDetails.EventDetails;
1334
-
1335
- subscription?: PaymentDetails.Subscription;
1336
- }
1337
-
1338
- namespace PaymentDetails {
1339
- interface CarRental {
1340
- affiliate?: CarRental.Affiliate;
1341
-
1342
- /**
1343
- * The booking number associated with the car rental.
1344
- */
1345
- booking_number: string;
1346
-
1347
- /**
1348
- * Class code of the car.
1349
- */
1350
- car_class_code?: string;
1351
-
1352
- /**
1353
- * Make of the car.
1354
- */
1355
- car_make?: string;
1356
-
1357
- /**
1358
- * Model of the car.
1359
- */
1360
- car_model?: string;
1361
-
1362
- /**
1363
- * The name of the rental car company.
1364
- */
1365
- company?: string;
1366
-
1367
- /**
1368
- * The customer service phone number of the car rental company.
1369
- */
1370
- customer_service_phone_number?: string;
1371
-
1372
- /**
1373
- * Number of days the car is being rented.
1374
- */
1375
- days_rented: number;
1376
-
1377
- delivery?: CarRental.Delivery;
1378
-
1379
- /**
1380
- * The details of the drivers associated with the trip.
1381
- */
1382
- drivers?: Array<CarRental.Driver>;
1383
-
1384
- /**
1385
- * List of additional charges being billed.
1386
- */
1387
- extra_charges?: Array<CarRental.ExtraCharge>;
1388
-
1389
- /**
1390
- * Indicates if the customer did not keep nor cancel their booking.
1391
- */
1392
- no_show?: boolean;
1393
-
1394
- pickup_address?: Stripe.Address;
1395
-
1396
- /**
1397
- * Car pick-up time. Measured in seconds since the Unix epoch.
1398
- */
1399
- pickup_at: number;
1400
-
1401
- /**
1402
- * Rental rate.
1403
- */
1404
- rate_amount?: number;
1405
-
1406
- /**
1407
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1408
- */
1409
- rate_interval?: CarRental.RateInterval;
1410
-
1411
- /**
1412
- * The full name of the person or entity renting the car.
1413
- */
1414
- renter_name?: string;
1415
-
1416
- return_address?: Stripe.Address;
1417
-
1418
- /**
1419
- * Car return time. Measured in seconds since the Unix epoch.
1420
- */
1421
- return_at: number;
1422
-
1423
- /**
1424
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
1425
- */
1426
- tax_exempt?: boolean;
1427
- }
1428
-
1429
- namespace CarRental {
1430
- interface Affiliate {
1431
- /**
1432
- * The name of the affiliate that originated the purchase.
1433
- */
1434
- name?: string;
1435
- }
1436
-
1437
- interface Delivery {
1438
- /**
1439
- * The delivery method for the payment
1440
- */
1441
- mode?: Delivery.Mode;
1442
-
1443
- recipient?: Delivery.Recipient;
1444
- }
1445
-
1446
- namespace Delivery {
1447
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1448
-
1449
- interface Recipient {
1450
- /**
1451
- * The email of the recipient the ticket is delivered to.
1452
- */
1453
- email?: string;
1454
-
1455
- /**
1456
- * The name of the recipient the ticket is delivered to.
1457
- */
1458
- name?: string;
1459
-
1460
- /**
1461
- * The phone number of the recipient the ticket is delivered to.
1462
- */
1463
- phone?: string;
1464
- }
1465
- }
1466
-
1467
- interface Driver {
1468
- /**
1469
- * Full name of the driver on the reservation.
1470
- */
1471
- name?: string;
1472
- }
1473
-
1474
- type ExtraCharge =
1475
- | 'extra_mileage'
1476
- | 'gas'
1477
- | 'late_return'
1478
- | 'one_way_service'
1479
- | 'parking_violation';
1480
-
1481
- type RateInterval = 'day' | 'month' | 'week';
1482
- }
1483
-
1484
- interface EventDetails {
1485
- /**
1486
- * Indicates if the tickets are digitally checked when entering the venue.
1487
- */
1488
- access_controlled_venue?: boolean;
1489
-
1490
- address?: Stripe.Address;
1491
-
1492
- affiliate?: EventDetails.Affiliate;
1493
-
1494
- /**
1495
- * The name of the company
1496
- */
1497
- company?: string;
1498
-
1499
- delivery?: EventDetails.Delivery;
1500
-
1501
- /**
1502
- * Event end time. Measured in seconds since the Unix epoch.
1503
- */
1504
- ends_at?: number;
1505
-
1506
- /**
1507
- * Type of the event entertainment (concert, sports event etc)
1508
- */
1509
- genre?: string;
1510
-
1511
- /**
1512
- * The name of the event.
1513
- */
1514
- name?: string;
1515
-
1516
- /**
1517
- * Event start time. Measured in seconds since the Unix epoch.
1518
- */
1519
- starts_at?: number;
1520
- }
1521
-
1522
- namespace EventDetails {
1523
- interface Affiliate {
1524
- /**
1525
- * The name of the affiliate that originated the purchase.
1526
- */
1527
- name?: string;
1528
- }
1529
-
1530
- interface Delivery {
1531
- /**
1532
- * The delivery method for the payment
1533
- */
1534
- mode?: Delivery.Mode;
1535
-
1536
- recipient?: Delivery.Recipient;
1537
- }
1538
-
1539
- namespace Delivery {
1540
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1541
-
1542
- interface Recipient {
1543
- /**
1544
- * The email of the recipient the ticket is delivered to.
1545
- */
1546
- email?: string;
1547
-
1548
- /**
1549
- * The name of the recipient the ticket is delivered to.
1550
- */
1551
- name?: string;
1552
-
1553
- /**
1554
- * The phone number of the recipient the ticket is delivered to.
1555
- */
1556
- phone?: string;
1557
- }
1558
- }
1559
- }
1560
-
1561
- interface Subscription {
1562
- affiliate?: Subscription.Affiliate;
1563
-
1564
- /**
1565
- * Info whether the subscription will be auto renewed upon expiry.
1566
- */
1567
- auto_renewal?: boolean;
1568
-
1569
- billing_interval?: Subscription.BillingInterval;
1570
-
1571
- /**
1572
- * Subscription end time. Measured in seconds since the Unix epoch.
1573
- */
1574
- ends_at?: number;
1575
-
1576
- /**
1577
- * Name of the product on subscription. e.g. Apple Music Subscription.
1578
- */
1579
- name?: string;
1580
-
1581
- /**
1582
- * Subscription start time. Measured in seconds since the Unix epoch.
1583
- */
1584
- starts_at?: number;
1585
- }
1586
-
1587
- namespace Subscription {
1588
- interface Affiliate {
1589
- /**
1590
- * The name of the affiliate that originated the purchase.
1591
- */
1592
- name?: string;
1593
- }
1594
-
1595
- interface BillingInterval {
1596
- /**
1597
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1598
- */
1599
- count?: number;
1600
-
1601
- /**
1602
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1603
- */
1604
- interval?: BillingInterval.Interval;
1605
- }
1606
-
1607
- namespace BillingInterval {
1608
- type Interval = 'day' | 'month' | 'week' | 'year';
1609
- }
1610
- }
1611
- }
1612
-
1613
1296
  interface PaymentMethodConfigurationDetails {
1614
1297
  /**
1615
1298
  * ID of the payment method configuration used.
@@ -1659,12 +1342,8 @@ declare module 'stripe' {
1659
1342
 
1660
1343
  giropay?: PaymentMethodOptions.Giropay;
1661
1344
 
1662
- gopay?: PaymentMethodOptions.Gopay;
1663
-
1664
1345
  grabpay?: PaymentMethodOptions.Grabpay;
1665
1346
 
1666
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
1667
-
1668
1347
  ideal?: PaymentMethodOptions.Ideal;
1669
1348
 
1670
1349
  interac_present?: PaymentMethodOptions.InteracPresent;
@@ -1679,8 +1358,6 @@ declare module 'stripe' {
1679
1358
 
1680
1359
  link?: PaymentMethodOptions.Link;
1681
1360
 
1682
- mb_way?: PaymentMethodOptions.MbWay;
1683
-
1684
1361
  mobilepay?: PaymentMethodOptions.Mobilepay;
1685
1362
 
1686
1363
  multibanco?: PaymentMethodOptions.Multibanco;
@@ -1697,24 +1374,16 @@ declare module 'stripe' {
1697
1374
 
1698
1375
  paypal?: PaymentMethodOptions.Paypal;
1699
1376
 
1700
- payto?: PaymentMethodOptions.Payto;
1701
-
1702
1377
  pix?: PaymentMethodOptions.Pix;
1703
1378
 
1704
1379
  promptpay?: PaymentMethodOptions.Promptpay;
1705
1380
 
1706
- qris?: PaymentMethodOptions.Qris;
1707
-
1708
- rechnung?: PaymentMethodOptions.Rechnung;
1709
-
1710
1381
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1711
1382
 
1712
1383
  samsung_pay?: PaymentMethodOptions.SamsungPay;
1713
1384
 
1714
1385
  sepa_debit?: PaymentMethodOptions.SepaDebit;
1715
1386
 
1716
- shopeepay?: PaymentMethodOptions.Shopeepay;
1717
-
1718
1387
  sofort?: PaymentMethodOptions.Sofort;
1719
1388
 
1720
1389
  swish?: PaymentMethodOptions.Swish;
@@ -1996,11 +1665,6 @@ declare module 'stripe' {
1996
1665
  */
1997
1666
  network: Card.Network | null;
1998
1667
 
1999
- /**
2000
- * Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2001
- */
2002
- request_decremental_authorization?: Card.RequestDecrementalAuthorization;
2003
-
2004
1668
  /**
2005
1669
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2006
1670
  */
@@ -2051,8 +1715,6 @@ declare module 'stripe' {
2051
1715
  * 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.
2052
1716
  */
2053
1717
  statement_descriptor_suffix_kanji?: string;
2054
-
2055
- statement_details?: Card.StatementDetails;
2056
1718
  }
2057
1719
 
2058
1720
  namespace Card {
@@ -2179,8 +1841,6 @@ declare module 'stripe' {
2179
1841
  | 'unknown'
2180
1842
  | 'visa';
2181
1843
 
2182
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2183
-
2184
1844
  type RequestExtendedAuthorization = 'if_available' | 'never';
2185
1845
 
2186
1846
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2192,49 +1852,6 @@ declare module 'stripe' {
2192
1852
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2193
1853
 
2194
1854
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2195
-
2196
- interface StatementDetails {
2197
- address?: StatementDetails.Address;
2198
-
2199
- /**
2200
- * Phone number
2201
- */
2202
- phone?: string;
2203
- }
2204
-
2205
- namespace StatementDetails {
2206
- interface Address {
2207
- /**
2208
- * City, district, suburb, town, or village.
2209
- */
2210
- city?: string;
2211
-
2212
- /**
2213
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2214
- */
2215
- country?: string;
2216
-
2217
- /**
2218
- * Address line 1 (e.g., street, PO Box, or company name).
2219
- */
2220
- line1?: string;
2221
-
2222
- /**
2223
- * Address line 2 (e.g., apartment, suite, unit, or building).
2224
- */
2225
- line2?: string;
2226
-
2227
- /**
2228
- * ZIP or postal code.
2229
- */
2230
- postal_code?: string;
2231
-
2232
- /**
2233
- * State, county, province, or region.
2234
- */
2235
- state?: string;
2236
- }
2237
- }
2238
1855
  }
2239
1856
 
2240
1857
  interface CardPresent {
@@ -2392,19 +2009,6 @@ declare module 'stripe' {
2392
2009
  setup_future_usage?: 'none';
2393
2010
  }
2394
2011
 
2395
- interface Gopay {
2396
- /**
2397
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2398
- *
2399
- * 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.
2400
- *
2401
- * 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.
2402
- *
2403
- * 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).
2404
- */
2405
- setup_future_usage?: 'none';
2406
- }
2407
-
2408
2012
  interface Grabpay {
2409
2013
  /**
2410
2014
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2418,29 +2022,6 @@ declare module 'stripe' {
2418
2022
  setup_future_usage?: 'none';
2419
2023
  }
2420
2024
 
2421
- interface IdBankTransfer {
2422
- /**
2423
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2424
- */
2425
- expires_after?: number | null;
2426
-
2427
- /**
2428
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
2429
- */
2430
- expires_at: number | null;
2431
-
2432
- /**
2433
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2434
- *
2435
- * 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.
2436
- *
2437
- * 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.
2438
- *
2439
- * 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).
2440
- */
2441
- setup_future_usage?: 'none';
2442
- }
2443
-
2444
2025
  interface Ideal {
2445
2026
  /**
2446
2027
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2588,19 +2169,6 @@ declare module 'stripe' {
2588
2169
  type SetupFutureUsage = 'none' | 'off_session';
2589
2170
  }
2590
2171
 
2591
- interface MbWay {
2592
- /**
2593
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2594
- *
2595
- * 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.
2596
- *
2597
- * 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.
2598
- *
2599
- * 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).
2600
- */
2601
- setup_future_usage?: 'none';
2602
- }
2603
-
2604
2172
  interface Mobilepay {
2605
2173
  /**
2606
2174
  * Controls when the funds will be captured from the customer's account.
@@ -2696,11 +2264,6 @@ declare module 'stripe' {
2696
2264
  */
2697
2265
  capture_method?: 'manual';
2698
2266
 
2699
- /**
2700
- * The line items purchased by the customer.
2701
- */
2702
- line_items?: Array<Paypal.LineItem>;
2703
-
2704
2267
  /**
2705
2268
  * Preferred locale of the PayPal checkout page that the customer is redirected to.
2706
2269
  */
@@ -2711,11 +2274,6 @@ declare module 'stripe' {
2711
2274
  */
2712
2275
  reference: string | null;
2713
2276
 
2714
- /**
2715
- * 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.
2716
- */
2717
- reference_id?: string | null;
2718
-
2719
2277
  /**
2720
2278
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2721
2279
  *
@@ -2726,151 +2284,9 @@ declare module 'stripe' {
2726
2284
  * 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).
2727
2285
  */
2728
2286
  setup_future_usage?: Paypal.SetupFutureUsage;
2729
-
2730
- /**
2731
- * 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.
2732
- */
2733
- subsellers?: Array<string>;
2734
2287
  }
2735
2288
 
2736
2289
  namespace Paypal {
2737
- interface LineItem {
2738
- /**
2739
- * Type of the line item.
2740
- */
2741
- category?: LineItem.Category;
2742
-
2743
- /**
2744
- * Description of the line item.
2745
- */
2746
- description?: string;
2747
-
2748
- /**
2749
- * Descriptive name of the line item.
2750
- */
2751
- name: string;
2752
-
2753
- /**
2754
- * Quantity of the line item. Cannot be a negative number.
2755
- */
2756
- quantity: number;
2757
-
2758
- /**
2759
- * Client facing stock keeping unit, article number or similar.
2760
- */
2761
- sku?: string;
2762
-
2763
- /**
2764
- * The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
2765
- */
2766
- sold_by?: string;
2767
-
2768
- tax?: LineItem.Tax;
2769
-
2770
- /**
2771
- * Price for a single unit of the line item in minor units. Cannot be a negative number.
2772
- */
2773
- unit_amount: number;
2774
- }
2775
-
2776
- namespace LineItem {
2777
- type Category = 'digital_goods' | 'donation' | 'physical_goods';
2778
-
2779
- interface Tax {
2780
- /**
2781
- * The tax for a single unit of the line item in minor units. Cannot be a negative number.
2782
- */
2783
- amount: number;
2784
-
2785
- /**
2786
- * The tax behavior for the line item.
2787
- */
2788
- behavior: Tax.Behavior;
2789
- }
2790
-
2791
- namespace Tax {
2792
- type Behavior = 'exclusive' | 'inclusive';
2793
- }
2794
- }
2795
-
2796
- type SetupFutureUsage = 'none' | 'off_session';
2797
- }
2798
-
2799
- interface Payto {
2800
- mandate_options?: Payto.MandateOptions;
2801
-
2802
- /**
2803
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2804
- *
2805
- * 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.
2806
- *
2807
- * 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.
2808
- *
2809
- * 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).
2810
- */
2811
- setup_future_usage?: Payto.SetupFutureUsage;
2812
- }
2813
-
2814
- namespace Payto {
2815
- interface MandateOptions {
2816
- /**
2817
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
2818
- */
2819
- amount: number | null;
2820
-
2821
- /**
2822
- * 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.
2823
- */
2824
- amount_type: MandateOptions.AmountType | null;
2825
-
2826
- /**
2827
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2828
- */
2829
- end_date: string | null;
2830
-
2831
- /**
2832
- * The periodicity at which payments will be collected.
2833
- */
2834
- payment_schedule: MandateOptions.PaymentSchedule | null;
2835
-
2836
- /**
2837
- * 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.
2838
- */
2839
- payments_per_period: number | null;
2840
-
2841
- /**
2842
- * The purpose for which payments are made. Defaults to retail.
2843
- */
2844
- purpose: MandateOptions.Purpose | null;
2845
- }
2846
-
2847
- namespace MandateOptions {
2848
- type AmountType = 'fixed' | 'maximum';
2849
-
2850
- type PaymentSchedule =
2851
- | 'adhoc'
2852
- | 'annual'
2853
- | 'daily'
2854
- | 'fortnightly'
2855
- | 'monthly'
2856
- | 'quarterly'
2857
- | 'semi_annual'
2858
- | 'weekly';
2859
-
2860
- type Purpose =
2861
- | 'dependant_support'
2862
- | 'government'
2863
- | 'loan'
2864
- | 'mortgage'
2865
- | 'other'
2866
- | 'pension'
2867
- | 'personal'
2868
- | 'retail'
2869
- | 'salary'
2870
- | 'tax'
2871
- | 'utility';
2872
- }
2873
-
2874
2290
  type SetupFutureUsage = 'none' | 'off_session';
2875
2291
  }
2876
2292
 
@@ -2910,21 +2326,6 @@ declare module 'stripe' {
2910
2326
  setup_future_usage?: 'none';
2911
2327
  }
2912
2328
 
2913
- interface Qris {
2914
- /**
2915
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2916
- *
2917
- * 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.
2918
- *
2919
- * 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.
2920
- *
2921
- * 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).
2922
- */
2923
- setup_future_usage?: 'none';
2924
- }
2925
-
2926
- interface Rechnung {}
2927
-
2928
2329
  interface RevolutPay {
2929
2330
  /**
2930
2331
  * Controls when the funds will be captured from the customer's account.
@@ -2975,19 +2376,6 @@ declare module 'stripe' {
2975
2376
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2976
2377
  }
2977
2378
 
2978
- interface Shopeepay {
2979
- /**
2980
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2981
- *
2982
- * 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.
2983
- *
2984
- * 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.
2985
- *
2986
- * 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).
2987
- */
2988
- setup_future_usage?: 'none';
2989
- }
2990
-
2991
2379
  interface Sofort {
2992
2380
  /**
2993
2381
  * Preferred language of the SOFORT authorization page that the customer is redirected to.
@@ -3081,8 +2469,6 @@ declare module 'stripe' {
3081
2469
  interface FinancialConnections {
3082
2470
  filters?: FinancialConnections.Filters;
3083
2471
 
3084
- manual_entry?: FinancialConnections.ManualEntry;
3085
-
3086
2472
  /**
3087
2473
  * The list of permissions to request. The `payment_method` permission must be included.
3088
2474
  */
@@ -3105,39 +2491,19 @@ declare module 'stripe' {
3105
2491
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
3106
2492
  */
3107
2493
  account_subcategories?: Array<Filters.AccountSubcategory>;
3108
-
3109
- /**
3110
- * The institution to use to filter for possible accounts to link.
3111
- */
3112
- institution?: string;
3113
2494
  }
3114
2495
 
3115
2496
  namespace Filters {
3116
2497
  type AccountSubcategory = 'checking' | 'savings';
3117
2498
  }
3118
2499
 
3119
- interface ManualEntry {
3120
- /**
3121
- * Settings for configuring manual entry of account details.
3122
- */
3123
- mode?: ManualEntry.Mode;
3124
- }
3125
-
3126
- namespace ManualEntry {
3127
- type Mode = 'automatic' | 'custom';
3128
- }
3129
-
3130
2500
  type Permission =
3131
2501
  | 'balances'
3132
2502
  | 'ownership'
3133
2503
  | 'payment_method'
3134
2504
  | 'transactions';
3135
2505
 
3136
- type Prefetch =
3137
- | 'balances'
3138
- | 'inferred_balances'
3139
- | 'ownership'
3140
- | 'transactions';
2506
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3141
2507
  }
3142
2508
 
3143
2509
  interface MandateOptions {
@@ -3224,8 +2590,6 @@ declare module 'stripe' {
3224
2590
  }
3225
2591
  }
3226
2592
 
3227
- type SecretKeyConfirmation = 'optional' | 'required';
3228
-
3229
2593
  type SetupFutureUsage = 'off_session' | 'on_session';
3230
2594
 
3231
2595
  interface Shipping {