stripe 17.8.0-beta.1 → 18.0.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 (208) hide show
  1. package/CHANGELOG.md +246 -1075
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  7. package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
  8. package/cjs/resources/Invoices.js +0 -26
  9. package/cjs/resources/PaymentIntents.js +0 -8
  10. package/cjs/resources/Quotes.js +0 -32
  11. package/cjs/resources/SubscriptionItems.js +0 -9
  12. package/cjs/resources/SubscriptionSchedules.js +0 -4
  13. package/cjs/resources/Terminal/Readers.js +0 -12
  14. package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
  15. package/cjs/resources.js +12 -48
  16. package/cjs/stripe.core.js +3 -14
  17. package/esm/apiVersion.js +1 -1
  18. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  19. package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
  20. package/esm/resources/Invoices.js +0 -26
  21. package/esm/resources/PaymentIntents.js +0 -8
  22. package/esm/resources/Quotes.js +0 -32
  23. package/esm/resources/SubscriptionItems.js +0 -9
  24. package/esm/resources/SubscriptionSchedules.js +0 -4
  25. package/esm/resources/Terminal/Readers.js +0 -12
  26. package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
  27. package/esm/resources.js +1 -33
  28. package/esm/stripe.core.js +3 -14
  29. package/package.json +1 -1
  30. package/types/AccountLinksResource.d.ts +1 -5
  31. package/types/AccountSessions.d.ts +0 -45
  32. package/types/AccountSessionsResource.d.ts +0 -243
  33. package/types/Accounts.d.ts +48 -211
  34. package/types/AccountsResource.d.ts +86 -503
  35. package/types/ApplicationFees.d.ts +1 -1
  36. package/types/BalanceTransactions.d.ts +3 -1
  37. package/types/BalanceTransactionsResource.d.ts +1 -1
  38. package/types/BankAccounts.d.ts +9 -1
  39. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  40. package/types/Billing/CreditGrants.d.ts +2 -2
  41. package/types/Billing/CreditGrantsResource.d.ts +2 -2
  42. package/types/Billing/Meters.d.ts +1 -1
  43. package/types/Billing/MetersResource.d.ts +2 -2
  44. package/types/Capabilities.d.ts +8 -0
  45. package/types/Cards.d.ts +1 -9
  46. package/types/Charges.d.ts +56 -153
  47. package/types/ChargesResource.d.ts +1 -1295
  48. package/types/Checkout/Sessions.d.ts +62 -336
  49. package/types/Checkout/SessionsResource.d.ts +69 -287
  50. package/types/ConfirmationTokens.d.ts +50 -99
  51. package/types/Coupons.d.ts +1 -1
  52. package/types/CouponsResource.d.ts +1 -1
  53. package/types/CreditNoteLineItems.d.ts +24 -22
  54. package/types/CreditNotes.d.ts +26 -23
  55. package/types/CreditNotesResource.d.ts +0 -15
  56. package/types/CustomerBalanceTransactions.d.ts +8 -1
  57. package/types/Customers.d.ts +3 -3
  58. package/types/CustomersResource.d.ts +3 -21
  59. package/types/EventTypes.d.ts +85 -545
  60. package/types/Events.d.ts +8 -93
  61. package/types/FinancialConnections/Accounts.d.ts +1 -29
  62. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  63. package/types/FinancialConnections/Sessions.d.ts +1 -49
  64. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  65. package/types/InvoiceItems.d.ts +60 -31
  66. package/types/InvoiceItemsResource.d.ts +26 -120
  67. package/types/InvoiceLineItems.d.ts +154 -91
  68. package/types/InvoicePayments.d.ts +2 -16
  69. package/types/InvoicePaymentsResource.d.ts +74 -0
  70. package/types/Invoices.d.ts +93 -214
  71. package/types/InvoicesResource.d.ts +307 -6599
  72. package/types/Issuing/Authorizations.d.ts +1 -1
  73. package/types/Issuing/AuthorizationsResource.d.ts +1 -1
  74. package/types/Issuing/CardholdersResource.d.ts +1 -2
  75. package/types/Issuing/Transactions.d.ts +0 -2
  76. package/types/Issuing/TransactionsResource.d.ts +0 -5
  77. package/types/LineItems.d.ts +0 -32
  78. package/types/Mandates.d.ts +8 -77
  79. package/types/PaymentIntents.d.ts +56 -648
  80. package/types/PaymentIntentsResource.d.ts +4120 -8122
  81. package/types/PaymentLinks.d.ts +49 -6
  82. package/types/PaymentLinksResource.d.ts +77 -12
  83. package/types/PaymentMethodConfigurations.d.ts +63 -135
  84. package/types/PaymentMethodConfigurationsResource.d.ts +116 -216
  85. package/types/PaymentMethodDomainsResource.d.ts +6 -6
  86. package/types/PaymentMethods.d.ts +50 -99
  87. package/types/PaymentMethodsResource.d.ts +53 -148
  88. package/types/Persons.d.ts +17 -9
  89. package/types/Plans.d.ts +0 -7
  90. package/types/PlansResource.d.ts +0 -7
  91. package/types/Prices.d.ts +0 -33
  92. package/types/PricesResource.d.ts +2 -35
  93. package/types/Products.d.ts +0 -39
  94. package/types/ProductsResource.d.ts +0 -36
  95. package/types/Quotes.d.ts +1 -591
  96. package/types/QuotesResource.d.ts +200 -2532
  97. package/types/Refunds.d.ts +18 -14
  98. package/types/Reviews.d.ts +3 -2
  99. package/types/SetupAttempts.d.ts +15 -38
  100. package/types/SetupIntents.d.ts +3 -111
  101. package/types/SetupIntentsResource.d.ts +155 -642
  102. package/types/Sources.d.ts +0 -29
  103. package/types/SubscriptionItems.d.ts +9 -34
  104. package/types/SubscriptionItemsResource.d.ts +2 -203
  105. package/types/SubscriptionSchedules.d.ts +0 -251
  106. package/types/SubscriptionSchedulesResource.d.ts +9 -1333
  107. package/types/Subscriptions.d.ts +4 -124
  108. package/types/SubscriptionsResource.d.ts +10 -455
  109. package/types/Tax/RegistrationsResource.d.ts +1 -1
  110. package/types/Terminal/Configurations.d.ts +86 -3
  111. package/types/Terminal/ConfigurationsResource.d.ts +192 -2
  112. package/types/Terminal/Readers.d.ts +0 -290
  113. package/types/Terminal/ReadersResource.d.ts +0 -215
  114. package/types/TestHelpers/ConfirmationTokensResource.d.ts +50 -103
  115. package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
  116. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  117. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  118. package/types/TokensResource.d.ts +6 -1
  119. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  120. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  121. package/types/Treasury/FinancialAccountsResource.d.ts +1 -38
  122. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  123. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  124. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  125. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  126. package/types/V2/Core/EventDestinationsResource.d.ts +0 -5
  127. package/types/V2/Core/EventsResource.d.ts +0 -5
  128. package/types/V2/EventDestinations.d.ts +1 -1
  129. package/types/V2/Events.d.ts +1 -1
  130. package/types/WebhookEndpointsResource.d.ts +19 -71
  131. package/types/index.d.ts +2 -64
  132. package/types/lib.d.ts +1 -1
  133. package/types/test/typescriptTest.ts +3 -6
  134. package/cjs/resources/AccountNotices.js +0 -21
  135. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  136. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  137. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  138. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  139. package/cjs/resources/GiftCards/Cards.js +0 -23
  140. package/cjs/resources/GiftCards/Transactions.js +0 -33
  141. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  142. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  143. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  144. package/cjs/resources/Margins.js +0 -22
  145. package/cjs/resources/Orders.js +0 -24
  146. package/cjs/resources/PaymentRecords.js +0 -29
  147. package/cjs/resources/Tax/Associations.js +0 -9
  148. package/cjs/resources/Tax/Forms.js +0 -20
  149. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  150. package/esm/resources/AccountNotices.js +0 -18
  151. package/esm/resources/Capital/FinancingOffers.js +0 -18
  152. package/esm/resources/Capital/FinancingSummary.js +0 -9
  153. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  154. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  155. package/esm/resources/GiftCards/Cards.js +0 -20
  156. package/esm/resources/GiftCards/Transactions.js +0 -30
  157. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  158. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  159. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  160. package/esm/resources/Margins.js +0 -19
  161. package/esm/resources/Orders.js +0 -21
  162. package/esm/resources/PaymentRecords.js +0 -26
  163. package/esm/resources/Tax/Associations.js +0 -6
  164. package/esm/resources/Tax/Forms.js +0 -17
  165. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  166. package/types/AccountNotices.d.ts +0 -113
  167. package/types/AccountNoticesResource.d.ts +0 -98
  168. package/types/Billing/MeterErrorReports.d.ts +0 -106
  169. package/types/Capital/FinancingOffers.d.ts +0 -188
  170. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  171. package/types/Capital/FinancingSummary.d.ts +0 -106
  172. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  173. package/types/Capital/FinancingTransactions.d.ts +0 -135
  174. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  175. package/types/Deprecations.d.ts +0 -215
  176. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  177. package/types/FinancialConnections/Institutions.d.ts +0 -93
  178. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  179. package/types/GiftCards/Cards.d.ts +0 -118
  180. package/types/GiftCards/CardsResource.d.ts +0 -159
  181. package/types/GiftCards/Transactions.d.ts +0 -129
  182. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  183. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  184. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  185. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  186. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  187. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  188. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  189. package/types/Issuing/Settlements.d.ts +0 -103
  190. package/types/Margins.d.ts +0 -56
  191. package/types/MarginsResource.d.ts +0 -114
  192. package/types/Orders.d.ts +0 -1189
  193. package/types/OrdersResource.d.ts +0 -2981
  194. package/types/PaymentAttemptRecords.d.ts +0 -242
  195. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  196. package/types/PaymentRecords.d.ts +0 -242
  197. package/types/PaymentRecordsResource.d.ts +0 -455
  198. package/types/QuoteLines.d.ts +0 -634
  199. package/types/QuotePreviewInvoices.d.ts +0 -1658
  200. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  201. package/types/Tax/Associations.d.ts +0 -126
  202. package/types/Tax/AssociationsResource.d.ts +0 -29
  203. package/types/Tax/Forms.d.ts +0 -220
  204. package/types/Tax/FormsResource.d.ts +0 -107
  205. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  206. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  207. package/types/UsageRecordSummaries.d.ts +0 -56
  208. package/types/UsageRecords.d.ts +0 -45
@@ -49,12 +49,10 @@ declare module 'stripe' {
49
49
  application: string | Stripe.Application | null;
50
50
 
51
51
  /**
52
- * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
52
+ * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
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
  */
@@ -66,7 +64,7 @@ declare module 'stripe' {
66
64
  canceled_at: number | null;
67
65
 
68
66
  /**
69
- * Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, or `automatic`).
67
+ * Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
70
68
  */
71
69
  cancellation_reason: PaymentIntent.CancellationReason | null;
72
70
 
@@ -113,11 +111,6 @@ declare module 'stripe' {
113
111
  */
114
112
  description: string | null;
115
113
 
116
- /**
117
- * ID of the invoice that created this PaymentIntent, if it exists.
118
- */
119
- invoice: string | Stripe.Invoice | null;
120
-
121
114
  /**
122
115
  * The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
123
116
  */
@@ -148,8 +141,6 @@ declare module 'stripe' {
148
141
  */
149
142
  on_behalf_of: string | Stripe.Account | null;
150
143
 
151
- payment_details?: PaymentIntent.PaymentDetails;
152
-
153
144
  /**
154
145
  * ID of the payment method used in this PaymentIntent.
155
146
  */
@@ -166,10 +157,12 @@ declare module 'stripe' {
166
157
  payment_method_options: PaymentIntent.PaymentMethodOptions | null;
167
158
 
168
159
  /**
169
- * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use.
160
+ * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
170
161
  */
171
162
  payment_method_types: Array<string>;
172
163
 
164
+ presentment_details?: PaymentIntent.PresentmentDetails;
165
+
173
166
  /**
174
167
  * If present, this property tells you about the processing state of the payment.
175
168
  */
@@ -185,11 +178,6 @@ declare module 'stripe' {
185
178
  */
186
179
  review: string | Stripe.Review | null;
187
180
 
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
181
  /**
194
182
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
195
183
  *
@@ -257,25 +245,6 @@ declare module 'stripe' {
257
245
  }
258
246
  }
259
247
 
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
248
  interface AutomaticPaymentMethods {
280
249
  /**
281
250
  * Controls whether this PaymentIntent will accept redirect-based payment methods.
@@ -298,6 +267,7 @@ declare module 'stripe' {
298
267
  | 'abandoned'
299
268
  | 'automatic'
300
269
  | 'duplicate'
270
+ | 'expired'
301
271
  | 'failed_invoice'
302
272
  | 'fraudulent'
303
273
  | 'requested_by_customer'
@@ -470,15 +440,12 @@ declare module 'stripe' {
470
440
  | 'email_invalid'
471
441
  | 'expired_card'
472
442
  | 'financial_connections_account_inactive'
473
- | 'financial_connections_institution_unavailable'
474
443
  | 'financial_connections_no_successful_transaction_refresh'
475
444
  | 'forwarding_api_inactive'
476
445
  | 'forwarding_api_invalid_parameter'
446
+ | 'forwarding_api_retryable_upstream_error'
477
447
  | 'forwarding_api_upstream_connection_error'
478
448
  | 'forwarding_api_upstream_connection_timeout'
479
- | 'gift_card_balance_insufficient'
480
- | 'gift_card_code_exists'
481
- | 'gift_card_inactive'
482
449
  | 'idempotency_key_in_use'
483
450
  | 'incorrect_address'
484
451
  | 'incorrect_cvc'
@@ -568,12 +535,12 @@ declare module 'stripe' {
568
535
  | 'return_intent_already_processed'
569
536
  | 'routing_number_invalid'
570
537
  | 'secret_key_required'
571
- | 'sensitive_data_access_expired'
572
538
  | 'sepa_unsupported_account'
573
539
  | 'setup_attempt_failed'
574
540
  | 'setup_intent_authentication_failure'
575
541
  | 'setup_intent_invalid_parameter'
576
542
  | 'setup_intent_mandate_invalid'
543
+ | 'setup_intent_mobile_wallet_unsupported'
577
544
  | 'setup_intent_setup_attempt_expired'
578
545
  | 'setup_intent_unexpected_state'
579
546
  | 'shipping_address_invalid'
@@ -586,7 +553,6 @@ declare module 'stripe' {
586
553
  | 'taxes_calculation_failed'
587
554
  | 'terminal_location_country_unsupported'
588
555
  | 'terminal_reader_busy'
589
- | 'terminal_reader_collected_data_invalid'
590
556
  | 'terminal_reader_hardware_fault'
591
557
  | 'terminal_reader_invalid_location_for_activation'
592
558
  | 'terminal_reader_invalid_location_for_payment'
@@ -1363,289 +1329,6 @@ declare module 'stripe' {
1363
1329
  }
1364
1330
  }
1365
1331
 
1366
- interface PaymentDetails {
1367
- car_rental?: PaymentDetails.CarRental;
1368
-
1369
- event_details?: PaymentDetails.EventDetails;
1370
-
1371
- subscription?: PaymentDetails.Subscription;
1372
- }
1373
-
1374
- namespace PaymentDetails {
1375
- interface CarRental {
1376
- affiliate?: CarRental.Affiliate;
1377
-
1378
- /**
1379
- * The booking number associated with the car rental.
1380
- */
1381
- booking_number: string;
1382
-
1383
- /**
1384
- * Class code of the car.
1385
- */
1386
- car_class_code?: string;
1387
-
1388
- /**
1389
- * Make of the car.
1390
- */
1391
- car_make?: string;
1392
-
1393
- /**
1394
- * Model of the car.
1395
- */
1396
- car_model?: string;
1397
-
1398
- /**
1399
- * The name of the rental car company.
1400
- */
1401
- company?: string;
1402
-
1403
- /**
1404
- * The customer service phone number of the car rental company.
1405
- */
1406
- customer_service_phone_number?: string;
1407
-
1408
- /**
1409
- * Number of days the car is being rented.
1410
- */
1411
- days_rented: number;
1412
-
1413
- delivery?: CarRental.Delivery;
1414
-
1415
- /**
1416
- * The details of the drivers associated with the trip.
1417
- */
1418
- drivers?: Array<CarRental.Driver>;
1419
-
1420
- /**
1421
- * List of additional charges being billed.
1422
- */
1423
- extra_charges?: Array<CarRental.ExtraCharge>;
1424
-
1425
- /**
1426
- * Indicates if the customer did not keep nor cancel their booking.
1427
- */
1428
- no_show?: boolean;
1429
-
1430
- pickup_address?: Stripe.Address;
1431
-
1432
- /**
1433
- * Car pick-up time. Measured in seconds since the Unix epoch.
1434
- */
1435
- pickup_at: number;
1436
-
1437
- /**
1438
- * Rental rate.
1439
- */
1440
- rate_amount?: number;
1441
-
1442
- /**
1443
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1444
- */
1445
- rate_interval?: CarRental.RateInterval;
1446
-
1447
- /**
1448
- * The full name of the person or entity renting the car.
1449
- */
1450
- renter_name?: string;
1451
-
1452
- return_address?: Stripe.Address;
1453
-
1454
- /**
1455
- * Car return time. Measured in seconds since the Unix epoch.
1456
- */
1457
- return_at: number;
1458
-
1459
- /**
1460
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
1461
- */
1462
- tax_exempt?: boolean;
1463
- }
1464
-
1465
- namespace CarRental {
1466
- interface Affiliate {
1467
- /**
1468
- * The name of the affiliate that originated the purchase.
1469
- */
1470
- name?: string;
1471
- }
1472
-
1473
- interface Delivery {
1474
- /**
1475
- * The delivery method for the payment
1476
- */
1477
- mode?: Delivery.Mode;
1478
-
1479
- recipient?: Delivery.Recipient;
1480
- }
1481
-
1482
- namespace Delivery {
1483
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1484
-
1485
- interface Recipient {
1486
- /**
1487
- * The email of the recipient the ticket is delivered to.
1488
- */
1489
- email?: string;
1490
-
1491
- /**
1492
- * The name of the recipient the ticket is delivered to.
1493
- */
1494
- name?: string;
1495
-
1496
- /**
1497
- * The phone number of the recipient the ticket is delivered to.
1498
- */
1499
- phone?: string;
1500
- }
1501
- }
1502
-
1503
- interface Driver {
1504
- /**
1505
- * Full name of the driver on the reservation.
1506
- */
1507
- name?: string;
1508
- }
1509
-
1510
- type ExtraCharge =
1511
- | 'extra_mileage'
1512
- | 'gas'
1513
- | 'late_return'
1514
- | 'one_way_service'
1515
- | 'parking_violation';
1516
-
1517
- type RateInterval = 'day' | 'month' | 'week';
1518
- }
1519
-
1520
- interface EventDetails {
1521
- /**
1522
- * Indicates if the tickets are digitally checked when entering the venue.
1523
- */
1524
- access_controlled_venue?: boolean;
1525
-
1526
- address?: Stripe.Address;
1527
-
1528
- affiliate?: EventDetails.Affiliate;
1529
-
1530
- /**
1531
- * The name of the company
1532
- */
1533
- company?: string;
1534
-
1535
- delivery?: EventDetails.Delivery;
1536
-
1537
- /**
1538
- * Event end time. Measured in seconds since the Unix epoch.
1539
- */
1540
- ends_at?: number;
1541
-
1542
- /**
1543
- * Type of the event entertainment (concert, sports event etc)
1544
- */
1545
- genre?: string;
1546
-
1547
- /**
1548
- * The name of the event.
1549
- */
1550
- name?: string;
1551
-
1552
- /**
1553
- * Event start time. Measured in seconds since the Unix epoch.
1554
- */
1555
- starts_at?: number;
1556
- }
1557
-
1558
- namespace EventDetails {
1559
- interface Affiliate {
1560
- /**
1561
- * The name of the affiliate that originated the purchase.
1562
- */
1563
- name?: string;
1564
- }
1565
-
1566
- interface Delivery {
1567
- /**
1568
- * The delivery method for the payment
1569
- */
1570
- mode?: Delivery.Mode;
1571
-
1572
- recipient?: Delivery.Recipient;
1573
- }
1574
-
1575
- namespace Delivery {
1576
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1577
-
1578
- interface Recipient {
1579
- /**
1580
- * The email of the recipient the ticket is delivered to.
1581
- */
1582
- email?: string;
1583
-
1584
- /**
1585
- * The name of the recipient the ticket is delivered to.
1586
- */
1587
- name?: string;
1588
-
1589
- /**
1590
- * The phone number of the recipient the ticket is delivered to.
1591
- */
1592
- phone?: string;
1593
- }
1594
- }
1595
- }
1596
-
1597
- interface Subscription {
1598
- affiliate?: Subscription.Affiliate;
1599
-
1600
- /**
1601
- * Info whether the subscription will be auto renewed upon expiry.
1602
- */
1603
- auto_renewal?: boolean;
1604
-
1605
- billing_interval?: Subscription.BillingInterval;
1606
-
1607
- /**
1608
- * Subscription end time. Measured in seconds since the Unix epoch.
1609
- */
1610
- ends_at?: number;
1611
-
1612
- /**
1613
- * Name of the product on subscription. e.g. Apple Music Subscription.
1614
- */
1615
- name?: string;
1616
-
1617
- /**
1618
- * Subscription start time. Measured in seconds since the Unix epoch.
1619
- */
1620
- starts_at?: number;
1621
- }
1622
-
1623
- namespace Subscription {
1624
- interface Affiliate {
1625
- /**
1626
- * The name of the affiliate that originated the purchase.
1627
- */
1628
- name?: string;
1629
- }
1630
-
1631
- interface BillingInterval {
1632
- /**
1633
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1634
- */
1635
- count?: number;
1636
-
1637
- /**
1638
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1639
- */
1640
- interval?: BillingInterval.Interval;
1641
- }
1642
-
1643
- namespace BillingInterval {
1644
- type Interval = 'day' | 'month' | 'week' | 'year';
1645
- }
1646
- }
1647
- }
1648
-
1649
1332
  interface PaymentMethodConfigurationDetails {
1650
1333
  /**
1651
1334
  * ID of the payment method configuration used.
@@ -1695,12 +1378,8 @@ declare module 'stripe' {
1695
1378
 
1696
1379
  giropay?: PaymentMethodOptions.Giropay;
1697
1380
 
1698
- gopay?: PaymentMethodOptions.Gopay;
1699
-
1700
1381
  grabpay?: PaymentMethodOptions.Grabpay;
1701
1382
 
1702
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
1703
-
1704
1383
  ideal?: PaymentMethodOptions.Ideal;
1705
1384
 
1706
1385
  interac_present?: PaymentMethodOptions.InteracPresent;
@@ -1715,14 +1394,14 @@ declare module 'stripe' {
1715
1394
 
1716
1395
  link?: PaymentMethodOptions.Link;
1717
1396
 
1718
- mb_way?: PaymentMethodOptions.MbWay;
1719
-
1720
1397
  mobilepay?: PaymentMethodOptions.Mobilepay;
1721
1398
 
1722
1399
  multibanco?: PaymentMethodOptions.Multibanco;
1723
1400
 
1724
1401
  naver_pay?: PaymentMethodOptions.NaverPay;
1725
1402
 
1403
+ nz_bank_account?: PaymentMethodOptions.NzBankAccount;
1404
+
1726
1405
  oxxo?: PaymentMethodOptions.Oxxo;
1727
1406
 
1728
1407
  p24?: PaymentMethodOptions.P24;
@@ -1735,24 +1414,16 @@ declare module 'stripe' {
1735
1414
 
1736
1415
  paypal?: PaymentMethodOptions.Paypal;
1737
1416
 
1738
- payto?: PaymentMethodOptions.Payto;
1739
-
1740
1417
  pix?: PaymentMethodOptions.Pix;
1741
1418
 
1742
1419
  promptpay?: PaymentMethodOptions.Promptpay;
1743
1420
 
1744
- qris?: PaymentMethodOptions.Qris;
1745
-
1746
- rechnung?: PaymentMethodOptions.Rechnung;
1747
-
1748
1421
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1749
1422
 
1750
1423
  samsung_pay?: PaymentMethodOptions.SamsungPay;
1751
1424
 
1752
1425
  sepa_debit?: PaymentMethodOptions.SepaDebit;
1753
1426
 
1754
- shopeepay?: PaymentMethodOptions.Shopeepay;
1755
-
1756
1427
  sofort?: PaymentMethodOptions.Sofort;
1757
1428
 
1758
1429
  swish?: PaymentMethodOptions.Swish;
@@ -2054,11 +1725,6 @@ declare module 'stripe' {
2054
1725
  */
2055
1726
  network: Card.Network | null;
2056
1727
 
2057
- /**
2058
- * Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2059
- */
2060
- request_decremental_authorization?: Card.RequestDecrementalAuthorization;
2061
-
2062
1728
  /**
2063
1729
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2064
1730
  */
@@ -2079,11 +1745,6 @@ declare module 'stripe' {
2079
1745
  */
2080
1746
  request_overcapture?: Card.RequestOvercapture;
2081
1747
 
2082
- /**
2083
- * Request partial authorization on this PaymentIntent.
2084
- */
2085
- request_partial_authorization?: Card.RequestPartialAuthorization;
2086
-
2087
1748
  /**
2088
1749
  * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2089
1750
  */
@@ -2114,8 +1775,6 @@ declare module 'stripe' {
2114
1775
  * 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.
2115
1776
  */
2116
1777
  statement_descriptor_suffix_kanji?: string;
2117
-
2118
- statement_details?: Card.StatementDetails;
2119
1778
  }
2120
1779
 
2121
1780
  namespace Card {
@@ -2242,8 +1901,6 @@ declare module 'stripe' {
2242
1901
  | 'unknown'
2243
1902
  | 'visa';
2244
1903
 
2245
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2246
-
2247
1904
  type RequestExtendedAuthorization = 'if_available' | 'never';
2248
1905
 
2249
1906
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2252,54 +1909,9 @@ declare module 'stripe' {
2252
1909
 
2253
1910
  type RequestOvercapture = 'if_available' | 'never';
2254
1911
 
2255
- type RequestPartialAuthorization = 'if_available' | 'never';
2256
-
2257
1912
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2258
1913
 
2259
1914
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2260
-
2261
- interface StatementDetails {
2262
- address?: StatementDetails.Address;
2263
-
2264
- /**
2265
- * Phone number
2266
- */
2267
- phone?: string;
2268
- }
2269
-
2270
- namespace StatementDetails {
2271
- interface Address {
2272
- /**
2273
- * City, district, suburb, town, or village.
2274
- */
2275
- city?: string;
2276
-
2277
- /**
2278
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2279
- */
2280
- country?: string;
2281
-
2282
- /**
2283
- * Address line 1 (e.g., street, PO Box, or company name).
2284
- */
2285
- line1?: string;
2286
-
2287
- /**
2288
- * Address line 2 (e.g., apartment, suite, unit, or building).
2289
- */
2290
- line2?: string;
2291
-
2292
- /**
2293
- * ZIP or postal code.
2294
- */
2295
- postal_code?: string;
2296
-
2297
- /**
2298
- * State, county, province, or region.
2299
- */
2300
- state?: string;
2301
- }
2302
- }
2303
1915
  }
2304
1916
 
2305
1917
  interface CardPresent {
@@ -2457,19 +2069,6 @@ declare module 'stripe' {
2457
2069
  setup_future_usage?: 'none';
2458
2070
  }
2459
2071
 
2460
- interface Gopay {
2461
- /**
2462
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2463
- *
2464
- * 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.
2465
- *
2466
- * 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.
2467
- *
2468
- * 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).
2469
- */
2470
- setup_future_usage?: 'none';
2471
- }
2472
-
2473
2072
  interface Grabpay {
2474
2073
  /**
2475
2074
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2483,29 +2082,6 @@ declare module 'stripe' {
2483
2082
  setup_future_usage?: 'none';
2484
2083
  }
2485
2084
 
2486
- interface IdBankTransfer {
2487
- /**
2488
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2489
- */
2490
- expires_after?: number | null;
2491
-
2492
- /**
2493
- * 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.
2494
- */
2495
- expires_at: number | null;
2496
-
2497
- /**
2498
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2499
- *
2500
- * 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.
2501
- *
2502
- * 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.
2503
- *
2504
- * 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).
2505
- */
2506
- setup_future_usage?: 'none';
2507
- }
2508
-
2509
2085
  interface Ideal {
2510
2086
  /**
2511
2087
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2653,7 +2229,12 @@ declare module 'stripe' {
2653
2229
  type SetupFutureUsage = 'none' | 'off_session';
2654
2230
  }
2655
2231
 
2656
- interface MbWay {
2232
+ interface Mobilepay {
2233
+ /**
2234
+ * Controls when the funds will be captured from the customer's account.
2235
+ */
2236
+ capture_method?: 'manual';
2237
+
2657
2238
  /**
2658
2239
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2659
2240
  *
@@ -2666,7 +2247,20 @@ declare module 'stripe' {
2666
2247
  setup_future_usage?: 'none';
2667
2248
  }
2668
2249
 
2669
- interface Mobilepay {
2250
+ interface Multibanco {
2251
+ /**
2252
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2253
+ *
2254
+ * 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.
2255
+ *
2256
+ * 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.
2257
+ *
2258
+ * 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).
2259
+ */
2260
+ setup_future_usage?: 'none';
2261
+ }
2262
+
2263
+ interface NaverPay {
2670
2264
  /**
2671
2265
  * Controls when the funds will be captured from the customer's account.
2672
2266
  */
@@ -2681,10 +2275,14 @@ declare module 'stripe' {
2681
2275
  *
2682
2276
  * 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).
2683
2277
  */
2684
- setup_future_usage?: 'none';
2278
+ setup_future_usage?: NaverPay.SetupFutureUsage;
2685
2279
  }
2686
2280
 
2687
- interface Multibanco {
2281
+ namespace NaverPay {
2282
+ type SetupFutureUsage = 'none' | 'off_session';
2283
+ }
2284
+
2285
+ interface NzBankAccount {
2688
2286
  /**
2689
2287
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2690
2288
  *
@@ -2694,14 +2292,16 @@ declare module 'stripe' {
2694
2292
  *
2695
2293
  * 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).
2696
2294
  */
2697
- setup_future_usage?: 'none';
2698
- }
2295
+ setup_future_usage?: NzBankAccount.SetupFutureUsage;
2699
2296
 
2700
- interface NaverPay {
2701
2297
  /**
2702
- * Controls when the funds will be captured from the customer's account.
2298
+ * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2703
2299
  */
2704
- capture_method?: 'manual';
2300
+ target_date?: string;
2301
+ }
2302
+
2303
+ namespace NzBankAccount {
2304
+ type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2705
2305
  }
2706
2306
 
2707
2307
  interface Oxxo {
@@ -2763,11 +2363,6 @@ declare module 'stripe' {
2763
2363
  */
2764
2364
  capture_method?: 'manual';
2765
2365
 
2766
- /**
2767
- * The line items purchased by the customer.
2768
- */
2769
- line_items?: Array<Paypal.LineItem>;
2770
-
2771
2366
  /**
2772
2367
  * Preferred locale of the PayPal checkout page that the customer is redirected to.
2773
2368
  */
@@ -2778,11 +2373,6 @@ declare module 'stripe' {
2778
2373
  */
2779
2374
  reference: string | null;
2780
2375
 
2781
- /**
2782
- * 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.
2783
- */
2784
- reference_id?: string | null;
2785
-
2786
2376
  /**
2787
2377
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2788
2378
  *
@@ -2793,151 +2383,9 @@ declare module 'stripe' {
2793
2383
  * 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).
2794
2384
  */
2795
2385
  setup_future_usage?: Paypal.SetupFutureUsage;
2796
-
2797
- /**
2798
- * 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.
2799
- */
2800
- subsellers?: Array<string>;
2801
2386
  }
2802
2387
 
2803
2388
  namespace Paypal {
2804
- interface LineItem {
2805
- /**
2806
- * Type of the line item.
2807
- */
2808
- category?: LineItem.Category;
2809
-
2810
- /**
2811
- * Description of the line item.
2812
- */
2813
- description?: string;
2814
-
2815
- /**
2816
- * Descriptive name of the line item.
2817
- */
2818
- name: string;
2819
-
2820
- /**
2821
- * Quantity of the line item. Cannot be a negative number.
2822
- */
2823
- quantity: number;
2824
-
2825
- /**
2826
- * Client facing stock keeping unit, article number or similar.
2827
- */
2828
- sku?: string;
2829
-
2830
- /**
2831
- * 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).
2832
- */
2833
- sold_by?: string;
2834
-
2835
- tax?: LineItem.Tax;
2836
-
2837
- /**
2838
- * Price for a single unit of the line item in minor units. Cannot be a negative number.
2839
- */
2840
- unit_amount: number;
2841
- }
2842
-
2843
- namespace LineItem {
2844
- type Category = 'digital_goods' | 'donation' | 'physical_goods';
2845
-
2846
- interface Tax {
2847
- /**
2848
- * The tax for a single unit of the line item in minor units. Cannot be a negative number.
2849
- */
2850
- amount: number;
2851
-
2852
- /**
2853
- * The tax behavior for the line item.
2854
- */
2855
- behavior: Tax.Behavior;
2856
- }
2857
-
2858
- namespace Tax {
2859
- type Behavior = 'exclusive' | 'inclusive';
2860
- }
2861
- }
2862
-
2863
- type SetupFutureUsage = 'none' | 'off_session';
2864
- }
2865
-
2866
- interface Payto {
2867
- mandate_options?: Payto.MandateOptions;
2868
-
2869
- /**
2870
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2871
- *
2872
- * 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.
2873
- *
2874
- * 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.
2875
- *
2876
- * 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).
2877
- */
2878
- setup_future_usage?: Payto.SetupFutureUsage;
2879
- }
2880
-
2881
- namespace Payto {
2882
- interface MandateOptions {
2883
- /**
2884
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
2885
- */
2886
- amount: number | null;
2887
-
2888
- /**
2889
- * 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.
2890
- */
2891
- amount_type: MandateOptions.AmountType | null;
2892
-
2893
- /**
2894
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2895
- */
2896
- end_date: string | null;
2897
-
2898
- /**
2899
- * The periodicity at which payments will be collected.
2900
- */
2901
- payment_schedule: MandateOptions.PaymentSchedule | null;
2902
-
2903
- /**
2904
- * 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.
2905
- */
2906
- payments_per_period: number | null;
2907
-
2908
- /**
2909
- * The purpose for which payments are made. Defaults to retail.
2910
- */
2911
- purpose: MandateOptions.Purpose | null;
2912
- }
2913
-
2914
- namespace MandateOptions {
2915
- type AmountType = 'fixed' | 'maximum';
2916
-
2917
- type PaymentSchedule =
2918
- | 'adhoc'
2919
- | 'annual'
2920
- | 'daily'
2921
- | 'fortnightly'
2922
- | 'monthly'
2923
- | 'quarterly'
2924
- | 'semi_annual'
2925
- | 'weekly';
2926
-
2927
- type Purpose =
2928
- | 'dependant_support'
2929
- | 'government'
2930
- | 'loan'
2931
- | 'mortgage'
2932
- | 'other'
2933
- | 'pension'
2934
- | 'personal'
2935
- | 'retail'
2936
- | 'salary'
2937
- | 'tax'
2938
- | 'utility';
2939
- }
2940
-
2941
2389
  type SetupFutureUsage = 'none' | 'off_session';
2942
2390
  }
2943
2391
 
@@ -2977,21 +2425,6 @@ declare module 'stripe' {
2977
2425
  setup_future_usage?: 'none';
2978
2426
  }
2979
2427
 
2980
- interface Qris {
2981
- /**
2982
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2983
- *
2984
- * 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.
2985
- *
2986
- * 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.
2987
- *
2988
- * 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).
2989
- */
2990
- setup_future_usage?: 'none';
2991
- }
2992
-
2993
- interface Rechnung {}
2994
-
2995
2428
  interface RevolutPay {
2996
2429
  /**
2997
2430
  * Controls when the funds will be captured from the customer's account.
@@ -3052,19 +2485,6 @@ declare module 'stripe' {
3052
2485
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
3053
2486
  }
3054
2487
 
3055
- interface Shopeepay {
3056
- /**
3057
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3058
- *
3059
- * 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.
3060
- *
3061
- * 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.
3062
- *
3063
- * 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).
3064
- */
3065
- setup_future_usage?: 'none';
3066
- }
3067
-
3068
2488
  interface Sofort {
3069
2489
  /**
3070
2490
  * Preferred language of the SOFORT authorization page that the customer is redirected to.
@@ -3163,8 +2583,6 @@ declare module 'stripe' {
3163
2583
  interface FinancialConnections {
3164
2584
  filters?: FinancialConnections.Filters;
3165
2585
 
3166
- manual_entry?: FinancialConnections.ManualEntry;
3167
-
3168
2586
  /**
3169
2587
  * The list of permissions to request. The `payment_method` permission must be included.
3170
2588
  */
@@ -3187,39 +2605,19 @@ declare module 'stripe' {
3187
2605
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
3188
2606
  */
3189
2607
  account_subcategories?: Array<Filters.AccountSubcategory>;
3190
-
3191
- /**
3192
- * The institution to use to filter for possible accounts to link.
3193
- */
3194
- institution?: string;
3195
2608
  }
3196
2609
 
3197
2610
  namespace Filters {
3198
2611
  type AccountSubcategory = 'checking' | 'savings';
3199
2612
  }
3200
2613
 
3201
- interface ManualEntry {
3202
- /**
3203
- * Settings for configuring manual entry of account details.
3204
- */
3205
- mode?: ManualEntry.Mode;
3206
- }
3207
-
3208
- namespace ManualEntry {
3209
- type Mode = 'automatic' | 'custom';
3210
- }
3211
-
3212
2614
  type Permission =
3213
2615
  | 'balances'
3214
2616
  | 'ownership'
3215
2617
  | 'payment_method'
3216
2618
  | 'transactions';
3217
2619
 
3218
- type Prefetch =
3219
- | 'balances'
3220
- | 'inferred_balances'
3221
- | 'ownership'
3222
- | 'transactions';
2620
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3223
2621
  }
3224
2622
 
3225
2623
  interface MandateOptions {
@@ -3277,6 +2675,18 @@ declare module 'stripe' {
3277
2675
  }
3278
2676
  }
3279
2677
 
2678
+ interface PresentmentDetails {
2679
+ /**
2680
+ * Amount intended to be collected by this payment, denominated in presentment_currency.
2681
+ */
2682
+ presentment_amount: number;
2683
+
2684
+ /**
2685
+ * Currency presented to the customer during payment.
2686
+ */
2687
+ presentment_currency: string;
2688
+ }
2689
+
3280
2690
  interface Processing {
3281
2691
  card?: Processing.Card;
3282
2692
 
@@ -3306,8 +2716,6 @@ declare module 'stripe' {
3306
2716
  }
3307
2717
  }
3308
2718
 
3309
- type SecretKeyConfirmation = 'optional' | 'required';
3310
-
3311
2719
  type SetupFutureUsage = 'off_session' | 'on_session';
3312
2720
 
3313
2721
  interface Shipping {