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
Copy file name to clipboardExpand all lines: types/SetupIntents.d.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ declare module 'stripe' {
101
101
*
102
102
* Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
Copy file name to clipboardExpand all lines: types/V2/Billing/ServiceActions.d.ts
+2-26Lines changed: 2 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ declare module 'stripe' {
107
107
/**
108
108
* The monetary amount of the credit grant. Required if `type` is `monetary`.
109
109
*/
110
-
monetary?: Amount.Monetary;
110
+
monetary?: V2.Amount;
111
111
}
112
112
113
113
namespaceAmount{
@@ -128,18 +128,6 @@ declare module 'stripe' {
128
128
value: string;
129
129
}
130
130
131
-
interfaceMonetary{
132
-
/**
133
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
134
-
*/
135
-
value: number;
136
-
137
-
/**
138
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
139
-
*/
140
-
currency: string;
141
-
}
142
-
143
131
typeType='custom_pricing_unit'|'monetary';
144
132
}
145
133
@@ -221,7 +209,7 @@ declare module 'stripe' {
221
209
/**
222
210
* The monetary amount of the credit grant. Required if `type` is `monetary`.
223
211
*/
224
-
monetary?: Amount.Monetary;
212
+
monetary?: V2.Amount;
225
213
}
226
214
227
215
namespaceAmount{
@@ -242,18 +230,6 @@ declare module 'stripe' {
242
230
value: string;
243
231
}
244
232
245
-
interfaceMonetary{
246
-
/**
247
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
248
-
*/
249
-
value: number;
250
-
251
-
/**
252
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Copy file name to clipboardExpand all lines: types/V2/Billing/ServiceActionsResource.d.ts
+2-26Lines changed: 2 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ declare module 'stripe' {
84
84
/**
85
85
* The monetary amount of the credit grant. Required if `type` is `monetary`.
86
86
*/
87
-
monetary?: Amount.Monetary;
87
+
monetary?: V2.Amount;
88
88
}
89
89
90
90
namespaceAmount{
@@ -100,18 +100,6 @@ declare module 'stripe' {
100
100
value: string;
101
101
}
102
102
103
-
interfaceMonetary{
104
-
/**
105
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
106
-
*/
107
-
value: number;
108
-
109
-
/**
110
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
111
-
*/
112
-
currency: string;
113
-
}
114
-
115
103
typeType='custom_pricing_unit'|'monetary';
116
104
}
117
105
@@ -198,7 +186,7 @@ declare module 'stripe' {
198
186
/**
199
187
* The monetary amount of the credit grant. Required if `type` is `monetary`.
200
188
*/
201
-
monetary?: Amount.Monetary;
189
+
monetary?: V2.Amount;
202
190
}
203
191
204
192
namespaceAmount{
@@ -214,18 +202,6 @@ declare module 'stripe' {
214
202
value: string;
215
203
}
216
204
217
-
interfaceMonetary{
218
-
/**
219
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
220
-
*/
221
-
value: number;
222
-
223
-
/**
224
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Copy file name to clipboardExpand all lines: types/V2/Core/AccountTokensResource.d.ts
+2-30Lines changed: 2 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -468,28 +468,14 @@ declare module 'stripe' {
468
468
/**
469
469
* A non-negative integer representing the amount in the smallest currency unit.
470
470
*/
471
-
amount?: AnnualRevenue.Amount;
471
+
amount?: Amount;
472
472
473
473
/**
474
474
* The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
475
475
*/
476
476
fiscal_year_end?: string;
477
477
}
478
478
479
-
namespaceAnnualRevenue{
480
-
interfaceAmount{
481
-
/**
482
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
483
-
*/
484
-
value: number;
485
-
486
-
/**
487
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
488
-
*/
489
-
currency: string;
490
-
}
491
-
}
492
-
493
479
interfaceDocuments{
494
480
/**
495
481
* One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
@@ -818,21 +804,7 @@ declare module 'stripe' {
818
804
/**
819
805
* A non-negative integer representing the amount in the smallest currency unit.
820
806
*/
821
-
amount?: MonthlyEstimatedRevenue.Amount;
822
-
}
823
-
824
-
namespaceMonthlyEstimatedRevenue{
825
-
interfaceAmount{
826
-
/**
827
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
828
-
*/
829
-
value: number;
830
-
831
-
/**
832
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Copy file name to clipboardExpand all lines: types/V2/Core/Accounts.d.ts
+2-30Lines changed: 2 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -7287,28 +7287,14 @@ declare module 'stripe' {
7287
7287
/**
7288
7288
* Annual revenue amount in minor currency units (for example, '123' for 1.23 USD).
7289
7289
*/
7290
-
amount?: AnnualRevenue.Amount;
7290
+
amount?: Amount;
7291
7291
7292
7292
/**
7293
7293
* The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
7294
7294
*/
7295
7295
fiscal_year_end?: string;
7296
7296
}
7297
7297
7298
-
namespaceAnnualRevenue{
7299
-
interfaceAmount{
7300
-
/**
7301
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
7302
-
*/
7303
-
value: number;
7304
-
7305
-
/**
7306
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
7307
-
*/
7308
-
currency: string;
7309
-
}
7310
-
}
7311
-
7312
7298
interfaceDocuments{
7313
7299
/**
7314
7300
* One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
@@ -7632,21 +7618,7 @@ declare module 'stripe' {
7632
7618
/**
7633
7619
* Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD).
7634
7620
*/
7635
-
amount?: MonthlyEstimatedRevenue.Amount;
7636
-
}
7637
-
7638
-
namespaceMonthlyEstimatedRevenue{
7639
-
interfaceAmount{
7640
-
/**
7641
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
7642
-
*/
7643
-
value: number;
7644
-
7645
-
/**
7646
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
0 commit comments