stripe 15.6.0 → 15.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 15.7.0 - 2024-05-16
4
+ * [#2088](https://github.com/stripe/stripe-node/pull/2088) Update generated code
5
+ * Add support for `fee_source` on `ApplicationFee`
6
+ * Add support for `net_available` on `Balance.instant_available[]`
7
+ * Add support for `preferred_locales` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card_present`, and `PaymentMethod.card_present`
8
+ * Add support for `klarna` on `Dispute.payment_method_details`
9
+ * Add support for new value `klarna` on enum `Dispute.payment_method_details.type`
10
+ * Add support for `archived` and `lookup_key` on `Entitlements.FeatureListParams`
11
+ * Change `FinancialConnections.SessionCreateParams.filters.countries` to be optional
12
+ * Add support for `no_valid_authorization` on `Issuing.Dispute.evidence`, `Issuing.DisputeCreateParams.evidence`, and `Issuing.DisputeUpdateParams.evidence`
13
+ * Add support for new value `no_valid_authorization` on enums `Issuing.Dispute.evidence.reason`, `Issuing.DisputeCreateParams.evidence.reason`, and `Issuing.DisputeUpdateParams.evidence.reason`
14
+ * Add support for `loss_reason` on `Issuing.Dispute`
15
+ * Add support for `routing` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present`
16
+ * Add support for `application_fee_amount` and `application_fee` on `Payout`
17
+ * Add support for `stripe_s700` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
18
+ * Change `Treasury.OutboundPayment.tracking_details` and `Treasury.OutboundTransfer.tracking_details` to be required
19
+
3
20
  ## 15.6.0 - 2024-05-09
4
21
  * [#2086](https://github.com/stripe/stripe-node/pull/2086) Update generated code
5
22
  * Remove support for `pending_invoice_items_behavior` on `SubscriptionCreateParams`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 15.6.0
1
+ 15.7.0
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
34
34
  ];
35
35
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
36
36
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
37
- Stripe.PACKAGE_VERSION = '15.6.0';
37
+ Stripe.PACKAGE_VERSION = '15.7.0';
38
38
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
39
39
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
40
40
  Stripe.resources = resources;
@@ -31,7 +31,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
31
31
  ];
32
32
  const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
33
33
  export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
34
- Stripe.PACKAGE_VERSION = '15.6.0';
34
+ Stripe.PACKAGE_VERSION = '15.7.0';
35
35
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
36
36
  Stripe.StripeResource = StripeResource;
37
37
  Stripe.resources = resources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "15.6.0",
3
+ "version": "15.7.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -56,6 +56,11 @@ declare module 'stripe' {
56
56
  */
57
57
  currency: string;
58
58
 
59
+ /**
60
+ * Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.
61
+ */
62
+ fee_source: ApplicationFee.FeeSource | null;
63
+
59
64
  /**
60
65
  * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
61
66
  */
@@ -76,5 +81,28 @@ declare module 'stripe' {
76
81
  */
77
82
  refunds: ApiList<Stripe.FeeRefund>;
78
83
  }
84
+
85
+ namespace ApplicationFee {
86
+ interface FeeSource {
87
+ /**
88
+ * Charge ID that created this application fee.
89
+ */
90
+ charge?: string;
91
+
92
+ /**
93
+ * Payout ID that created this application fee.
94
+ */
95
+ payout?: string;
96
+
97
+ /**
98
+ * Type of object that created the application fee, either `charge` or `payout`.
99
+ */
100
+ type: FeeSource.Type;
101
+ }
102
+
103
+ namespace FeeSource {
104
+ type Type = 'charge' | 'payout';
105
+ }
106
+ }
79
107
  }
80
108
  }
@@ -127,10 +127,48 @@ declare module 'stripe' {
127
127
  */
128
128
  currency: string;
129
129
 
130
+ /**
131
+ * Breakdown of balance by destination.
132
+ */
133
+ net_available?: Array<InstantAvailable.NetAvailable>;
134
+
130
135
  source_types?: InstantAvailable.SourceTypes;
131
136
  }
132
137
 
133
138
  namespace InstantAvailable {
139
+ interface NetAvailable {
140
+ /**
141
+ * Net balance amount, subtracting fees from platform-set pricing.
142
+ */
143
+ amount: number;
144
+
145
+ /**
146
+ * ID of the external account for this net balance (not expandable).
147
+ */
148
+ destination: string;
149
+
150
+ source_types?: NetAvailable.SourceTypes;
151
+ }
152
+
153
+ namespace NetAvailable {
154
+ interface SourceTypes {
155
+ /**
156
+ * Amount for bank account.
157
+ */
158
+ bank_account?: number;
159
+
160
+ /**
161
+ * Amount for card.
162
+ */
163
+ card?: number;
164
+
165
+ /**
166
+ * Amount for FPX.
167
+ */
168
+ fpx?: number;
169
+ }
170
+ }
171
+
134
172
  interface SourceTypes {
135
173
  /**
136
174
  * Amount for bank account.
@@ -1164,6 +1164,11 @@ declare module 'stripe' {
1164
1164
  */
1165
1165
  overcapture_supported: boolean;
1166
1166
 
1167
+ /**
1168
+ * EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
1169
+ */
1170
+ preferred_locales: Array<string> | null;
1171
+
1167
1172
  /**
1168
1173
  * How card details were read in this transaction.
1169
1174
  */
@@ -1531,7 +1531,7 @@ declare module 'stripe' {
1531
1531
 
1532
1532
  interface SavedPaymentMethodOptions {
1533
1533
  /**
1534
- * Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds to `allow_redisplay` on the payment method.
1534
+ * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
1535
1535
  */
1536
1536
  allow_redisplay_filters: Array<
1537
1537
  SavedPaymentMethodOptions.AllowRedisplayFilter
@@ -1825,7 +1825,7 @@ declare module 'stripe' {
1825
1825
 
1826
1826
  interface SavedPaymentMethodOptions {
1827
1827
  /**
1828
- * Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds to `allow_redisplay` on the payment method.
1828
+ * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
1829
1829
  */
1830
1830
  allow_redisplay_filters?: Array<
1831
1831
  SavedPaymentMethodOptions.AllowRedisplayFilter
@@ -580,6 +580,11 @@ declare module 'stripe' {
580
580
  */
581
581
  networks: CardPresent.Networks | null;
582
582
 
583
+ /**
584
+ * EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
585
+ */
586
+ preferred_locales: Array<string> | null;
587
+
583
588
  /**
584
589
  * How card details were read in this transaction.
585
590
  */
@@ -250,6 +250,8 @@ declare module 'stripe' {
250
250
  interface PaymentMethodDetails {
251
251
  card?: PaymentMethodDetails.Card;
252
252
 
253
+ klarna?: PaymentMethodDetails.Klarna;
254
+
253
255
  paypal?: PaymentMethodDetails.Paypal;
254
256
 
255
257
  /**
@@ -271,6 +273,13 @@ declare module 'stripe' {
271
273
  network_reason_code: string | null;
272
274
  }
273
275
 
276
+ interface Klarna {
277
+ /**
278
+ * The reason for the dispute as defined by Klarna
279
+ */
280
+ reason_code: string | null;
281
+ }
282
+
274
283
  interface Paypal {
275
284
  /**
276
285
  * The ID of the dispute in PayPal.
@@ -283,7 +292,7 @@ declare module 'stripe' {
283
292
  reason_code: string | null;
284
293
  }
285
294
 
286
- type Type = 'card' | 'paypal';
295
+ type Type = 'card' | 'klarna' | 'paypal';
287
296
  }
288
297
 
289
298
  type Status =
@@ -55,10 +55,20 @@ declare module 'stripe' {
55
55
  }
56
56
 
57
57
  interface FeatureListParams extends PaginationParams {
58
+ /**
59
+ * If set, filter results to only include features with the given archive status.
60
+ */
61
+ archived?: boolean;
62
+
58
63
  /**
59
64
  * Specifies which fields in the response should be expanded.
60
65
  */
61
66
  expand?: Array<string>;
67
+
68
+ /**
69
+ * If set, filter results to only include features with the given lookup_key.
70
+ */
71
+ lookup_key?: string;
62
72
  }
63
73
 
64
74
  class FeaturesResource {
@@ -63,7 +63,7 @@ declare module 'stripe' {
63
63
  /**
64
64
  * List of countries from which to collect accounts.
65
65
  */
66
- countries: Array<string>;
66
+ countries?: Array<string>;
67
67
  }
68
68
 
69
69
  type Permission =
@@ -119,7 +119,7 @@ declare module 'stripe' {
119
119
  application_fee_amount: number | null;
120
120
 
121
121
  /**
122
- * Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule.
122
+ * Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained.
123
123
  */
124
124
  attempt_count: number;
125
125
 
@@ -46,6 +46,11 @@ declare module 'stripe' {
46
46
  */
47
47
  livemode: boolean;
48
48
 
49
+ /**
50
+ * The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values.
51
+ */
52
+ loss_reason?: Dispute.LossReason;
53
+
49
54
  /**
50
55
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
51
56
  */
@@ -77,6 +82,8 @@ declare module 'stripe' {
77
82
 
78
83
  merchandise_not_as_described?: Evidence.MerchandiseNotAsDescribed;
79
84
 
85
+ no_valid_authorization?: Evidence.NoValidAuthorization;
86
+
80
87
  not_received?: Evidence.NotReceived;
81
88
 
82
89
  other?: Evidence.Other;
@@ -259,6 +266,18 @@ declare module 'stripe' {
259
266
  type ProductType = 'merchandise' | 'service';
260
267
  }
261
268
 
269
+ interface NoValidAuthorization {
270
+ /**
271
+ * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
272
+ */
273
+ additional_documentation: string | Stripe.File | null;
274
+
275
+ /**
276
+ * Explanation of why the cardholder is disputing this transaction.
277
+ */
278
+ explanation: string | null;
279
+ }
280
+
262
281
  interface Other {
263
282
  /**
264
283
  * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
@@ -290,6 +309,7 @@ declare module 'stripe' {
290
309
  | 'duplicate'
291
310
  | 'fraudulent'
292
311
  | 'merchandise_not_as_described'
312
+ | 'no_valid_authorization'
293
313
  | 'not_received'
294
314
  | 'other'
295
315
  | 'service_not_as_described';
@@ -322,6 +342,28 @@ declare module 'stripe' {
322
342
  }
323
343
  }
324
344
 
345
+ type LossReason =
346
+ | 'cardholder_authentication_issuer_liability'
347
+ | 'eci5_token_transaction_with_tavv'
348
+ | 'excess_disputes_in_timeframe'
349
+ | 'has_not_met_the_minimum_dispute_amount_requirements'
350
+ | 'invalid_duplicate_dispute'
351
+ | 'invalid_incorrect_amount_dispute'
352
+ | 'invalid_no_authorization'
353
+ | 'invalid_use_of_disputes'
354
+ | 'merchandise_delivered_or_shipped'
355
+ | 'merchandise_or_service_as_described'
356
+ | 'not_cancelled'
357
+ | 'other'
358
+ | 'refund_issued'
359
+ | 'submitted_beyond_allowable_time_limit'
360
+ | 'transaction_3ds_required'
361
+ | 'transaction_approved_after_prior_fraud_dispute'
362
+ | 'transaction_authorized'
363
+ | 'transaction_electronically_read'
364
+ | 'transaction_qualifies_for_visa_easy_payment_service'
365
+ | 'transaction_unattended';
366
+
325
367
  type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won';
326
368
 
327
369
  interface Treasury {
@@ -59,6 +59,13 @@ declare module 'stripe' {
59
59
  Evidence.MerchandiseNotAsDescribed
60
60
  >;
61
61
 
62
+ /**
63
+ * Evidence provided when `reason` is 'no_valid_authorization'.
64
+ */
65
+ no_valid_authorization?: Stripe.Emptyable<
66
+ Evidence.NoValidAuthorization
67
+ >;
68
+
62
69
  /**
63
70
  * Evidence provided when `reason` is 'not_received'.
64
71
  */
@@ -254,6 +261,18 @@ declare module 'stripe' {
254
261
  type ProductType = 'merchandise' | 'service';
255
262
  }
256
263
 
264
+ interface NoValidAuthorization {
265
+ /**
266
+ * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
267
+ */
268
+ additional_documentation?: Stripe.Emptyable<string>;
269
+
270
+ /**
271
+ * Explanation of why the cardholder is disputing this transaction.
272
+ */
273
+ explanation?: Stripe.Emptyable<string>;
274
+ }
275
+
257
276
  interface Other {
258
277
  /**
259
278
  * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
@@ -285,6 +304,7 @@ declare module 'stripe' {
285
304
  | 'duplicate'
286
305
  | 'fraudulent'
287
306
  | 'merchandise_not_as_described'
307
+ | 'no_valid_authorization'
288
308
  | 'not_received'
289
309
  | 'other'
290
310
  | 'service_not_as_described';
@@ -378,6 +398,13 @@ declare module 'stripe' {
378
398
  Evidence.MerchandiseNotAsDescribed
379
399
  >;
380
400
 
401
+ /**
402
+ * Evidence provided when `reason` is 'no_valid_authorization'.
403
+ */
404
+ no_valid_authorization?: Stripe.Emptyable<
405
+ Evidence.NoValidAuthorization
406
+ >;
407
+
381
408
  /**
382
409
  * Evidence provided when `reason` is 'not_received'.
383
410
  */
@@ -573,6 +600,18 @@ declare module 'stripe' {
573
600
  type ProductType = 'merchandise' | 'service';
574
601
  }
575
602
 
603
+ interface NoValidAuthorization {
604
+ /**
605
+ * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
606
+ */
607
+ additional_documentation?: Stripe.Emptyable<string>;
608
+
609
+ /**
610
+ * Explanation of why the cardholder is disputing this transaction.
611
+ */
612
+ explanation?: Stripe.Emptyable<string>;
613
+ }
614
+
576
615
  interface Other {
577
616
  /**
578
617
  * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.
@@ -604,6 +643,7 @@ declare module 'stripe' {
604
643
  | 'duplicate'
605
644
  | 'fraudulent'
606
645
  | 'merchandise_not_as_described'
646
+ | 'no_valid_authorization'
607
647
  | 'not_received'
608
648
  | 'other'
609
649
  | 'service_not_as_described';
@@ -1757,6 +1757,21 @@ declare module 'stripe' {
1757
1757
  * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
1758
1758
  */
1759
1759
  request_incremental_authorization_support: boolean | null;
1760
+
1761
+ routing?: CardPresent.Routing;
1762
+ }
1763
+
1764
+ namespace CardPresent {
1765
+ interface Routing {
1766
+ /**
1767
+ * Requested routing priority
1768
+ */
1769
+ requested_priority: Routing.RequestedPriority | null;
1770
+ }
1771
+
1772
+ namespace Routing {
1773
+ type RequestedPriority = 'domestic' | 'international';
1774
+ }
1760
1775
  }
1761
1776
 
1762
1777
  interface Cashapp {
@@ -1601,6 +1601,24 @@ declare module 'stripe' {
1601
1601
  * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
1602
1602
  */
1603
1603
  request_incremental_authorization_support?: boolean;
1604
+
1605
+ /**
1606
+ * Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
1607
+ */
1608
+ routing?: CardPresent.Routing;
1609
+ }
1610
+
1611
+ namespace CardPresent {
1612
+ interface Routing {
1613
+ /**
1614
+ * Routing requested priority
1615
+ */
1616
+ requested_priority?: Routing.RequestedPriority;
1617
+ }
1618
+
1619
+ namespace Routing {
1620
+ type RequestedPriority = 'domestic' | 'international';
1621
+ }
1604
1622
  }
1605
1623
 
1606
1624
  interface Cashapp {
@@ -3844,6 +3862,24 @@ declare module 'stripe' {
3844
3862
  * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
3845
3863
  */
3846
3864
  request_incremental_authorization_support?: boolean;
3865
+
3866
+ /**
3867
+ * Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3868
+ */
3869
+ routing?: CardPresent.Routing;
3870
+ }
3871
+
3872
+ namespace CardPresent {
3873
+ interface Routing {
3874
+ /**
3875
+ * Routing requested priority
3876
+ */
3877
+ requested_priority?: Routing.RequestedPriority;
3878
+ }
3879
+
3880
+ namespace Routing {
3881
+ type RequestedPriority = 'domestic' | 'international';
3882
+ }
3847
3883
  }
3848
3884
 
3849
3885
  interface Cashapp {
@@ -6237,6 +6273,24 @@ declare module 'stripe' {
6237
6273
  * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
6238
6274
  */
6239
6275
  request_incremental_authorization_support?: boolean;
6276
+
6277
+ /**
6278
+ * Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
6279
+ */
6280
+ routing?: CardPresent.Routing;
6281
+ }
6282
+
6283
+ namespace CardPresent {
6284
+ interface Routing {
6285
+ /**
6286
+ * Routing requested priority
6287
+ */
6288
+ requested_priority?: Routing.RequestedPriority;
6289
+ }
6290
+
6291
+ namespace Routing {
6292
+ type RequestedPriority = 'domestic' | 'international';
6293
+ }
6240
6294
  }
6241
6295
 
6242
6296
  interface Cashapp {
@@ -508,6 +508,11 @@ declare module 'stripe' {
508
508
  */
509
509
  networks: CardPresent.Networks | null;
510
510
 
511
+ /**
512
+ * EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
513
+ */
514
+ preferred_locales: Array<string> | null;
515
+
511
516
  /**
512
517
  * How card details were read in this transaction.
513
518
  */
@@ -28,6 +28,16 @@ declare module 'stripe' {
28
28
  */
29
29
  amount: number;
30
30
 
31
+ /**
32
+ * The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details.
33
+ */
34
+ application_fee: string | Stripe.ApplicationFee | null;
35
+
36
+ /**
37
+ * The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details.
38
+ */
39
+ application_fee_amount: number | null;
40
+
31
41
  /**
32
42
  * Date that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays.
33
43
  */
@@ -494,7 +494,7 @@ declare module 'stripe' {
494
494
  expand?: Array<string>;
495
495
 
496
496
  /**
497
- * Only return the price with these lookup_keys, if any exist.
497
+ * Only return the price with these lookup_keys, if any exist. You can specify up to 10 lookup_keys.
498
498
  */
499
499
  lookup_keys?: Array<string>;
500
500
 
@@ -104,7 +104,7 @@ declare module 'stripe' {
104
104
  shippable: boolean | null;
105
105
 
106
106
  /**
107
- * Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used.
107
+ * Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.
108
108
  */
109
109
  statement_descriptor?: string | null;
110
110
 
@@ -62,7 +62,7 @@ declare module 'stripe' {
62
62
  * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.
63
63
  *
64
64
  * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.
65
- * It must contain at least one letter.
65
+ * It must contain at least one letter. Only used for subscription payments.
66
66
  */
67
67
  statement_descriptor?: string;
68
68
 
@@ -320,7 +320,7 @@ declare module 'stripe' {
320
320
  * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.
321
321
  *
322
322
  * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.
323
- * It must contain at least one letter. May only be set if `type=service`.
323
+ * It must contain at least one letter. May only be set if `type=service`. Only used for subscription payments.
324
324
  */
325
325
  statement_descriptor?: string;
326
326
 
@@ -41,6 +41,8 @@ declare module 'stripe' {
41
41
 
42
42
  offline?: Configuration.Offline;
43
43
 
44
+ stripe_s700?: Configuration.StripeS700;
45
+
44
46
  tipping?: Configuration.Tipping;
45
47
 
46
48
  verifone_p400?: Configuration.VerifoneP400;
@@ -61,6 +63,13 @@ declare module 'stripe' {
61
63
  enabled: boolean | null;
62
64
  }
63
65
 
66
+ interface StripeS700 {
67
+ /**
68
+ * A File ID representing an image you would like displayed on the reader.
69
+ */
70
+ splashscreen?: string | Stripe.File;
71
+ }
72
+
64
73
  interface Tipping {
65
74
  aud?: Tipping.Aud;
66
75
 
@@ -24,6 +24,11 @@ declare module 'stripe' {
24
24
  */
25
25
  offline?: Stripe.Emptyable<ConfigurationCreateParams.Offline>;
26
26
 
27
+ /**
28
+ * An object containing device type specific settings for Stripe S700 readers
29
+ */
30
+ stripe_s700?: ConfigurationCreateParams.StripeS700;
31
+
27
32
  /**
28
33
  * Tipping configurations for readers supporting on-reader tips
29
34
  */
@@ -50,6 +55,13 @@ declare module 'stripe' {
50
55
  enabled: boolean;
51
56
  }
52
57
 
58
+ interface StripeS700 {
59
+ /**
60
+ * A File ID representing an image you would like displayed on the reader.
61
+ */
62
+ splashscreen?: Stripe.Emptyable<string>;
63
+ }
64
+
53
65
  interface Tipping {
54
66
  /**
55
67
  * Tipping configuration for AUD
@@ -400,6 +412,11 @@ declare module 'stripe' {
400
412
  */
401
413
  offline?: Stripe.Emptyable<ConfigurationUpdateParams.Offline>;
402
414
 
415
+ /**
416
+ * An object containing device type specific settings for Stripe S700 readers
417
+ */
418
+ stripe_s700?: Stripe.Emptyable<ConfigurationUpdateParams.StripeS700>;
419
+
403
420
  /**
404
421
  * Tipping configurations for readers supporting on-reader tips
405
422
  */
@@ -428,6 +445,13 @@ declare module 'stripe' {
428
445
  enabled: boolean;
429
446
  }
430
447
 
448
+ interface StripeS700 {
449
+ /**
450
+ * A File ID representing an image you would like displayed on the reader.
451
+ */
452
+ splashscreen?: Stripe.Emptyable<string>;
453
+ }
454
+
431
455
  interface Tipping {
432
456
  /**
433
457
  * Tipping configuration for AUD
@@ -482,7 +482,7 @@ declare module 'stripe' {
482
482
  payment_method?: string;
483
483
 
484
484
  /**
485
- * The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
485
+ * The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
486
486
  */
487
487
  routing_number?: string;
488
488
  }
@@ -109,7 +109,7 @@ declare module 'stripe' {
109
109
  /**
110
110
  * Details about network-specific tracking information if available.
111
111
  */
112
- tracking_details?: OutboundPayment.TrackingDetails | null;
112
+ tracking_details: OutboundPayment.TrackingDetails | null;
113
113
 
114
114
  /**
115
115
  * The Transaction associated with this object.
@@ -96,7 +96,7 @@ declare module 'stripe' {
96
96
  /**
97
97
  * Details about network-specific tracking information if available.
98
98
  */
99
- tracking_details?: OutboundTransfer.TrackingDetails | null;
99
+ tracking_details: OutboundTransfer.TrackingDetails | null;
100
100
 
101
101
  /**
102
102
  * The Transaction associated with this object.