stripe 9.5.0 → 9.6.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,17 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 9.6.0 - 2022-06-01
4
+ * [#1439](https://github.com/stripe/stripe-node/pull/1439) API Updates
5
+ * Add support for `radar_options` on `ChargeCreateParams`, `Charge`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
6
+ * Add support for `account_holder_name`, `account_number`, `account_type`, `bank_code`, `bank_name`, `branch_code`, and `branch_name` on `FundingInstructions.bank_transfer.financial_addresses[].zengin` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin`
7
+ * Add support for new values `en-AU` and `en-NZ` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
8
+ * Change type of `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type` and `PaymentIntent.payment_method_options.customer_balance.bank_transfer.type` from `enum` to `literal('jp_bank_transfer')`
9
+ * This is technically breaking in Typescript, but now accurately represents the behavior that was allowed by the server. We haven't historically treated breaking Typescript changes as requiring a major.
10
+ * Change `PaymentIntent.next_action.display_bank_transfer_instructions.hosted_instructions_url` to be required
11
+ * Add support for `network` on `SetupIntent.payment_method_options.card`
12
+ * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `TerminalReaderListParams.device_type`
13
+
14
+
3
15
  ## 9.5.0 - 2022-05-26
4
16
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
5
17
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 9.5.0
1
+ 9.6.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "9.5.0",
3
+ "version": "9.6.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -172,6 +172,11 @@ declare module 'stripe' {
172
172
  */
173
173
  payment_method_details: Charge.PaymentMethodDetails | null;
174
174
 
175
+ /**
176
+ * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
177
+ */
178
+ radar_options?: Charge.RadarOptions;
179
+
175
180
  /**
176
181
  * This is the email address that the receipt for this charge was sent to.
177
182
  */
@@ -1450,7 +1455,7 @@ declare module 'stripe' {
1450
1455
 
1451
1456
  /**
1452
1457
  * Preferred language of the Klarna authorization page that the customer is redirected to.
1453
- * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, or `en-FR`
1458
+ * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `en-AU`, or `en-NZ`
1454
1459
  */
1455
1460
  preferred_locale: string | null;
1456
1461
  }
@@ -1715,6 +1720,13 @@ declare module 'stripe' {
1715
1720
  }
1716
1721
  }
1717
1722
 
1723
+ interface RadarOptions {
1724
+ /**
1725
+ * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1726
+ */
1727
+ session?: string;
1728
+ }
1729
+
1718
1730
  interface Shipping {
1719
1731
  address?: Stripe.Address;
1720
1732
 
@@ -1763,7 +1775,7 @@ declare module 'stripe' {
1763
1775
  application_fee?: number;
1764
1776
 
1765
1777
  /**
1766
- * A fee in %s that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees).
1778
+ * A fee in cents (or local equivalent) that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees).
1767
1779
  */
1768
1780
  application_fee_amount?: number;
1769
1781
 
@@ -1804,6 +1816,11 @@ declare module 'stripe' {
1804
1816
  */
1805
1817
  on_behalf_of?: string;
1806
1818
 
1819
+ /**
1820
+ * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1821
+ */
1822
+ radar_options?: ChargeCreateParams.RadarOptions;
1823
+
1807
1824
  /**
1808
1825
  * The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
1809
1826
  */
@@ -1853,6 +1870,13 @@ declare module 'stripe' {
1853
1870
  amount?: number;
1854
1871
  }
1855
1872
 
1873
+ interface RadarOptions {
1874
+ /**
1875
+ * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1876
+ */
1877
+ session?: string;
1878
+ }
1879
+
1856
1880
  interface Shipping {
1857
1881
  /**
1858
1882
  * Shipping address.
@@ -1361,12 +1361,12 @@ declare module 'stripe' {
1361
1361
  tax_behavior?: PriceData.TaxBehavior;
1362
1362
 
1363
1363
  /**
1364
- * A non-negative integer in %s representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
1364
+ * A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
1365
1365
  */
1366
1366
  unit_amount?: number;
1367
1367
 
1368
1368
  /**
1369
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
1369
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
1370
1370
  */
1371
1371
  unit_amount_decimal?: string;
1372
1372
  }
@@ -124,12 +124,12 @@ declare module 'stripe' {
124
124
  invoice: string;
125
125
 
126
126
  /**
127
- * The integer amount in %s representing the total amount of the credit note.
127
+ * The integer amount in cents (or local equivalent) representing the total amount of the credit note.
128
128
  */
129
129
  amount?: number;
130
130
 
131
131
  /**
132
- * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
132
+ * The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
133
133
  */
134
134
  credit_amount?: number;
135
135
 
@@ -154,7 +154,7 @@ declare module 'stripe' {
154
154
  metadata?: Stripe.MetadataParam;
155
155
 
156
156
  /**
157
- * The integer amount in %s representing the amount that is credited outside of Stripe.
157
+ * The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.
158
158
  */
159
159
  out_of_band_amount?: number;
160
160
 
@@ -169,7 +169,7 @@ declare module 'stripe' {
169
169
  refund?: string;
170
170
 
171
171
  /**
172
- * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
172
+ * The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
173
173
  */
174
174
  refund_amount?: number;
175
175
  }
@@ -207,12 +207,12 @@ declare module 'stripe' {
207
207
  type: Line.Type;
208
208
 
209
209
  /**
210
- * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
210
+ * The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
211
211
  */
212
212
  unit_amount?: number;
213
213
 
214
214
  /**
215
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
215
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
216
216
  */
217
217
  unit_amount_decimal?: string;
218
218
  }
@@ -183,12 +183,12 @@ declare module 'stripe' {
183
183
  invoice: string;
184
184
 
185
185
  /**
186
- * The integer amount in %s representing the total amount of the credit note.
186
+ * The integer amount in cents (or local equivalent) representing the total amount of the credit note.
187
187
  */
188
188
  amount?: number;
189
189
 
190
190
  /**
191
- * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
191
+ * The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
192
192
  */
193
193
  credit_amount?: number;
194
194
 
@@ -213,7 +213,7 @@ declare module 'stripe' {
213
213
  metadata?: Stripe.MetadataParam;
214
214
 
215
215
  /**
216
- * The integer amount in %s representing the amount that is credited outside of Stripe.
216
+ * The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.
217
217
  */
218
218
  out_of_band_amount?: number;
219
219
 
@@ -228,7 +228,7 @@ declare module 'stripe' {
228
228
  refund?: string;
229
229
 
230
230
  /**
231
- * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
231
+ * The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
232
232
  */
233
233
  refund_amount?: number;
234
234
  }
@@ -266,12 +266,12 @@ declare module 'stripe' {
266
266
  type: Line.Type;
267
267
 
268
268
  /**
269
- * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
269
+ * The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
270
270
  */
271
271
  unit_amount?: number;
272
272
 
273
273
  /**
274
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
274
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
275
275
  */
276
276
  unit_amount_decimal?: string;
277
277
  }
@@ -335,12 +335,12 @@ declare module 'stripe' {
335
335
  invoice: string;
336
336
 
337
337
  /**
338
- * The integer amount in %s representing the total amount of the credit note.
338
+ * The integer amount in cents (or local equivalent) representing the total amount of the credit note.
339
339
  */
340
340
  amount?: number;
341
341
 
342
342
  /**
343
- * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
343
+ * The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.
344
344
  */
345
345
  credit_amount?: number;
346
346
 
@@ -365,7 +365,7 @@ declare module 'stripe' {
365
365
  metadata?: Stripe.MetadataParam;
366
366
 
367
367
  /**
368
- * The integer amount in %s representing the amount that is credited outside of Stripe.
368
+ * The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.
369
369
  */
370
370
  out_of_band_amount?: number;
371
371
 
@@ -380,7 +380,7 @@ declare module 'stripe' {
380
380
  refund?: string;
381
381
 
382
382
  /**
383
- * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
383
+ * The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.
384
384
  */
385
385
  refund_amount?: number;
386
386
  }
@@ -418,12 +418,12 @@ declare module 'stripe' {
418
418
  type: Line.Type;
419
419
 
420
420
  /**
421
- * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
421
+ * The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
422
422
  */
423
423
  unit_amount?: number;
424
424
 
425
425
  /**
426
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
426
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
427
427
  */
428
428
  unit_amount_decimal?: string;
429
429
  }
@@ -87,7 +87,7 @@ declare module 'stripe' {
87
87
 
88
88
  interface CustomerBalanceTransactionCreateParams {
89
89
  /**
90
- * The integer amount in **%s** to apply to the customer's credit balance.
90
+ * The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance.
91
91
  */
92
92
  amount: number;
93
93
 
@@ -278,7 +278,7 @@ declare module 'stripe' {
278
278
  address?: Stripe.Emptyable<Stripe.AddressParam>;
279
279
 
280
280
  /**
281
- * An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
281
+ * An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
282
282
  */
283
283
  balance?: number;
284
284
 
@@ -543,7 +543,7 @@ declare module 'stripe' {
543
543
  address?: Stripe.Emptyable<Stripe.AddressParam>;
544
544
 
545
545
  /**
546
- * An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
546
+ * An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
547
547
  */
548
548
  balance?: number;
549
549
 
@@ -49,7 +49,7 @@ declare module 'stripe' {
49
49
 
50
50
  interface FeeRefundCreateParams {
51
51
  /**
52
- * A positive integer, in _%s_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee.
52
+ * A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee.
53
53
  */
54
54
  amount?: number;
55
55
 
@@ -70,7 +70,42 @@ declare module 'stripe' {
70
70
 
71
71
  type Type = 'iban' | 'zengin';
72
72
 
73
- interface Zengin {}
73
+ interface Zengin {
74
+ /**
75
+ * The account holder name
76
+ */
77
+ account_holder_name: string | null;
78
+
79
+ /**
80
+ * The account number
81
+ */
82
+ account_number: string | null;
83
+
84
+ /**
85
+ * The bank account type. In Japan, this can only be `futsu` or `toza`.
86
+ */
87
+ account_type: string | null;
88
+
89
+ /**
90
+ * The bank code of the account
91
+ */
92
+ bank_code: string | null;
93
+
94
+ /**
95
+ * The bank name of the account
96
+ */
97
+ bank_name: string | null;
98
+
99
+ /**
100
+ * The branch code of the account
101
+ */
102
+ branch_code: string | null;
103
+
104
+ /**
105
+ * The branch name of the account
106
+ */
107
+ branch_name: string | null;
108
+ }
74
109
  }
75
110
 
76
111
  type Type = 'eu_bank_transfer' | 'jp_bank_transfer';
@@ -162,7 +162,7 @@ declare module 'stripe' {
162
162
  customer: string;
163
163
 
164
164
  /**
165
- * The integer amount in %s of the charge to be applied to the upcoming invoice. Passing in a negative `amount` will reduce the `amount_due` on the invoice.
165
+ * The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. Passing in a negative `amount` will reduce the `amount_due` on the invoice.
166
166
  */
167
167
  amount?: number;
168
168
 
@@ -232,12 +232,12 @@ declare module 'stripe' {
232
232
  tax_rates?: Array<string>;
233
233
 
234
234
  /**
235
- * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This `unit_amount` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount` will reduce the `amount_due` on the invoice.
235
+ * The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount` will reduce the `amount_due` on the invoice.
236
236
  */
237
237
  unit_amount?: number;
238
238
 
239
239
  /**
240
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
240
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
241
241
  */
242
242
  unit_amount_decimal?: string;
243
243
  }
@@ -284,12 +284,12 @@ declare module 'stripe' {
284
284
  tax_behavior?: PriceData.TaxBehavior;
285
285
 
286
286
  /**
287
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
287
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
288
288
  */
289
289
  unit_amount?: number;
290
290
 
291
291
  /**
292
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
292
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
293
293
  */
294
294
  unit_amount_decimal?: string;
295
295
  }
@@ -308,7 +308,7 @@ declare module 'stripe' {
308
308
 
309
309
  interface InvoiceItemUpdateParams {
310
310
  /**
311
- * The integer amount in %s of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.
311
+ * The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.
312
312
  */
313
313
  amount?: number;
314
314
 
@@ -363,12 +363,12 @@ declare module 'stripe' {
363
363
  tax_rates?: Stripe.Emptyable<Array<string>>;
364
364
 
365
365
  /**
366
- * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
366
+ * The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
367
367
  */
368
368
  unit_amount?: number;
369
369
 
370
370
  /**
371
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
371
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
372
372
  */
373
373
  unit_amount_decimal?: string;
374
374
  }
@@ -415,12 +415,12 @@ declare module 'stripe' {
415
415
  tax_behavior?: PriceData.TaxBehavior;
416
416
 
417
417
  /**
418
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
418
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
419
419
  */
420
420
  unit_amount?: number;
421
421
 
422
422
  /**
423
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
423
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
424
424
  */
425
425
  unit_amount_decimal?: string;
426
426
  }
@@ -448,7 +448,7 @@ declare module 'stripe' {
448
448
 
449
449
  interface InvoiceItem {
450
450
  /**
451
- * The integer amount in %s of previewed invoice item.
451
+ * The integer amount in cents (or local equivalent) of previewed invoice item.
452
452
  */
453
453
  amount?: number;
454
454
 
@@ -508,12 +508,12 @@ declare module 'stripe' {
508
508
  tax_rates?: Stripe.Emptyable<Array<string>>;
509
509
 
510
510
  /**
511
- * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
511
+ * The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
512
512
  */
513
513
  unit_amount?: number;
514
514
 
515
515
  /**
516
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
516
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
517
517
  */
518
518
  unit_amount_decimal?: string;
519
519
  }
@@ -560,12 +560,12 @@ declare module 'stripe' {
560
560
  tax_behavior?: PriceData.TaxBehavior;
561
561
 
562
562
  /**
563
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
563
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
564
564
  */
565
565
  unit_amount?: number;
566
566
 
567
567
  /**
568
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
568
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
569
569
  */
570
570
  unit_amount_decimal?: string;
571
571
  }
@@ -661,12 +661,12 @@ declare module 'stripe' {
661
661
  tax_behavior?: PriceData.TaxBehavior;
662
662
 
663
663
  /**
664
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
664
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
665
665
  */
666
666
  unit_amount?: number;
667
667
 
668
668
  /**
669
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
669
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
670
670
  */
671
671
  unit_amount_decimal?: string;
672
672
  }
@@ -697,7 +697,7 @@ declare module 'stripe' {
697
697
  namespace CustomerBalance {
698
698
  interface BankTransfer {
699
699
  /**
700
- * The bank transfer type that can be used for funding. Permitted values include: `us_bank_account`, `eu_bank_account`, `id_bank_account`, `gb_bank_account`, `jp_bank_account`, `mx_bank_account`, `eu_bank_transfer`, `gb_bank_transfer`, `id_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
700
+ * The bank transfer type that can be used for funding. Permitted values include: `jp_bank_transfer`.
701
701
  */
702
702
  type: string | null;
703
703
  }
@@ -879,7 +879,7 @@ declare module 'stripe' {
879
879
  account_tax_ids?: Stripe.Emptyable<Array<string>>;
880
880
 
881
881
  /**
882
- * A fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
882
+ * A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
883
883
  */
884
884
  application_fee_amount?: number;
885
885
 
@@ -1139,7 +1139,7 @@ declare module 'stripe' {
1139
1139
  namespace CustomerBalance {
1140
1140
  interface BankTransfer {
1141
1141
  /**
1142
- * The bank transfer type that can be used for funding. Permitted values include: `us_bank_account`, `eu_bank_account`, `id_bank_account`, `gb_bank_account`, `jp_bank_account`, `mx_bank_account`, `eu_bank_transfer`, `gb_bank_transfer`, `id_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1142
+ * The bank transfer type that can be used for funding. Permitted values include: `jp_bank_transfer`.
1143
1143
  */
1144
1144
  type?: string;
1145
1145
  }
@@ -1235,7 +1235,7 @@ declare module 'stripe' {
1235
1235
  account_tax_ids?: Stripe.Emptyable<Array<string>>;
1236
1236
 
1237
1237
  /**
1238
- * A fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
1238
+ * A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
1239
1239
  */
1240
1240
  application_fee_amount?: number;
1241
1241
 
@@ -1480,7 +1480,7 @@ declare module 'stripe' {
1480
1480
  namespace CustomerBalance {
1481
1481
  interface BankTransfer {
1482
1482
  /**
1483
- * The bank transfer type that can be used for funding. Permitted values include: `us_bank_account`, `eu_bank_account`, `id_bank_account`, `gb_bank_account`, `jp_bank_account`, `mx_bank_account`, `eu_bank_transfer`, `gb_bank_transfer`, `id_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1483
+ * The bank transfer type that can be used for funding. Permitted values include: `jp_bank_transfer`.
1484
1484
  */
1485
1485
  type?: string;
1486
1486
  }
@@ -1910,7 +1910,7 @@ declare module 'stripe' {
1910
1910
 
1911
1911
  interface InvoiceItem {
1912
1912
  /**
1913
- * The integer amount in %s of previewed invoice item.
1913
+ * The integer amount in cents (or local equivalent) of previewed invoice item.
1914
1914
  */
1915
1915
  amount?: number;
1916
1916
 
@@ -1970,12 +1970,12 @@ declare module 'stripe' {
1970
1970
  tax_rates?: Stripe.Emptyable<Array<string>>;
1971
1971
 
1972
1972
  /**
1973
- * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
1973
+ * The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.
1974
1974
  */
1975
1975
  unit_amount?: number;
1976
1976
 
1977
1977
  /**
1978
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
1978
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
1979
1979
  */
1980
1980
  unit_amount_decimal?: string;
1981
1981
  }
@@ -2022,12 +2022,12 @@ declare module 'stripe' {
2022
2022
  tax_behavior?: PriceData.TaxBehavior;
2023
2023
 
2024
2024
  /**
2025
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
2025
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
2026
2026
  */
2027
2027
  unit_amount?: number;
2028
2028
 
2029
2029
  /**
2030
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
2030
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
2031
2031
  */
2032
2032
  unit_amount_decimal?: string;
2033
2033
  }
@@ -2123,12 +2123,12 @@ declare module 'stripe' {
2123
2123
  tax_behavior?: PriceData.TaxBehavior;
2124
2124
 
2125
2125
  /**
2126
- * A positive integer in %s (or 0 for a free price) representing how much to charge.
2126
+ * A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
2127
2127
  */
2128
2128
  unit_amount?: number;
2129
2129
 
2130
2130
  /**
2131
- * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
2131
+ * Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
2132
2132
  */
2133
2133
  unit_amount_decimal?: string;
2134
2134
  }