You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
+
interfaceRadarOptions{
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
interfaceShipping{
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
+
interfaceRadarOptions{
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.
Copy file name to clipboardExpand all lines: types/2020-08-27/Checkout/Sessions.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -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.
Copy file name to clipboardExpand all lines: types/2020-08-27/CreditNoteLineItems.d.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -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.
Copy file name to clipboardExpand all lines: types/2020-08-27/CreditNotes.d.ts
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -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.
Copy file name to clipboardExpand all lines: types/2020-08-27/Customers.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -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.
Copy file name to clipboardExpand all lines: types/2020-08-27/FeeRefunds.d.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ declare module 'stripe' {
49
49
50
50
interfaceFeeRefundCreateParams{
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.
0 commit comments