stripe 17.2.1 → 17.3.0-beta.1
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 +925 -114
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/cjs/resources.js +42 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/esm/resources.js +29 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +75 -5
- package/types/AccountSessionsResource.d.ts +354 -5
- package/types/Accounts.d.ts +211 -3
- package/types/AccountsResource.d.ts +584 -2
- package/types/Billing/CreditBalanceSummary.d.ts +4 -4
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
- package/types/Billing/CreditGrants.d.ts +11 -8
- package/types/Billing/CreditGrantsResource.d.ts +6 -6
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/BillingPortal/Configurations.d.ts +22 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +56 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +168 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +360 -5
- package/types/ConfirmationTokens.d.ts +157 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +24 -0
- package/types/CreditNotesResource.d.ts +54 -3
- package/types/CustomersResource.d.ts +27 -3
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +564 -2
- package/types/Events.d.ts +91 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/Forwarding/Requests.d.ts +5 -0
- package/types/Forwarding/RequestsResource.d.ts +5 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +31 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +139 -3
- package/types/InvoicesResource.d.ts +5488 -1799
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CardsResource.d.ts +1 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +85 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +697 -1
- package/types/PaymentIntentsResource.d.ts +7977 -3377
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +102 -2
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +157 -0
- package/types/PaymentMethodsResource.d.ts +195 -1
- package/types/Persons.d.ts +1 -1
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1601 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +4 -0
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +768 -6
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +87 -1
- package/types/SubscriptionsResource.d.ts +359 -4
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +33 -1
- package/types/Tax/CalculationsResource.d.ts +7 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Registrations.d.ts +82 -0
- package/types/Tax/RegistrationsResource.d.ts +109 -0
- package/types/Tax/Transactions.d.ts +8 -1
- package/types/TaxIds.d.ts +7 -1
- package/types/TaxIdsResource.d.ts +7 -1
- package/types/TaxRates.d.ts +25 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +145 -1
- package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +2 -2
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/UsageRecordSummaries.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +66 -0
- package/types/index.d.ts +53 -0
|
@@ -31,16 +31,66 @@ declare module 'stripe' {
|
|
|
31
31
|
*/
|
|
32
32
|
account_onboarding?: Components.AccountOnboarding;
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Configuration for the app install component.
|
|
36
|
+
*/
|
|
37
|
+
app_install?: Components.AppInstall;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Configuration for the app viewport component.
|
|
41
|
+
*/
|
|
42
|
+
app_viewport?: Components.AppViewport;
|
|
43
|
+
|
|
34
44
|
/**
|
|
35
45
|
* Configuration for the balances embedded component.
|
|
36
46
|
*/
|
|
37
47
|
balances?: Components.Balances;
|
|
38
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Configuration for the capital financing embedded component.
|
|
51
|
+
*/
|
|
52
|
+
capital_financing?: Components.CapitalFinancing;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Configuration for the capital financing application embedded component.
|
|
56
|
+
*/
|
|
57
|
+
capital_financing_application?: Components.CapitalFinancingApplication;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Configuration for the capital financing promotion embedded component.
|
|
61
|
+
*/
|
|
62
|
+
capital_financing_promotion?: Components.CapitalFinancingPromotion;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Configuration for the capital overview embedded component.
|
|
66
|
+
*/
|
|
67
|
+
capital_overview?: Components.CapitalOverview;
|
|
68
|
+
|
|
39
69
|
/**
|
|
40
70
|
* Configuration for the documents embedded component.
|
|
41
71
|
*/
|
|
42
72
|
documents?: Components.Documents;
|
|
43
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Configuration for the financial account component.
|
|
76
|
+
*/
|
|
77
|
+
financial_account?: Components.FinancialAccount;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Configuration for the financial account transactions component.
|
|
81
|
+
*/
|
|
82
|
+
financial_account_transactions?: Components.FinancialAccountTransactions;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Configuration for the issuing card component.
|
|
86
|
+
*/
|
|
87
|
+
issuing_card?: Components.IssuingCard;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Configuration for the issuing cards list component.
|
|
91
|
+
*/
|
|
92
|
+
issuing_cards_list?: Components.IssuingCardsList;
|
|
93
|
+
|
|
44
94
|
/**
|
|
45
95
|
* Configuration for the notification banner embedded component.
|
|
46
96
|
*/
|
|
@@ -51,6 +101,11 @@ declare module 'stripe' {
|
|
|
51
101
|
*/
|
|
52
102
|
payment_details?: Components.PaymentDetails;
|
|
53
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Configuration for the payment method settings embedded component.
|
|
106
|
+
*/
|
|
107
|
+
payment_method_settings?: Components.PaymentMethodSettings;
|
|
108
|
+
|
|
54
109
|
/**
|
|
55
110
|
* Configuration for the payments embedded component.
|
|
56
111
|
*/
|
|
@@ -66,6 +121,13 @@ declare module 'stripe' {
|
|
|
66
121
|
*/
|
|
67
122
|
payouts_list?: Components.PayoutsList;
|
|
68
123
|
|
|
124
|
+
recipients?: Components.Recipients;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Configuration for the reporting chart embedded component.
|
|
128
|
+
*/
|
|
129
|
+
reporting_chart?: Components.ReportingChart;
|
|
130
|
+
|
|
69
131
|
/**
|
|
70
132
|
* Configuration for the tax registrations embedded component.
|
|
71
133
|
*/
|
|
@@ -93,7 +155,12 @@ declare module 'stripe' {
|
|
|
93
155
|
namespace AccountManagement {
|
|
94
156
|
interface Features {
|
|
95
157
|
/**
|
|
96
|
-
*
|
|
158
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
159
|
+
*/
|
|
160
|
+
disable_stripe_user_authentication?: boolean;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
97
164
|
*/
|
|
98
165
|
external_account_collection?: boolean;
|
|
99
166
|
}
|
|
@@ -114,12 +181,59 @@ declare module 'stripe' {
|
|
|
114
181
|
namespace AccountOnboarding {
|
|
115
182
|
interface Features {
|
|
116
183
|
/**
|
|
117
|
-
*
|
|
184
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
185
|
+
*/
|
|
186
|
+
disable_stripe_user_authentication?: boolean;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
118
190
|
*/
|
|
119
191
|
external_account_collection?: boolean;
|
|
120
192
|
}
|
|
121
193
|
}
|
|
122
194
|
|
|
195
|
+
interface AppInstall {
|
|
196
|
+
/**
|
|
197
|
+
* Whether the embedded component is enabled.
|
|
198
|
+
*/
|
|
199
|
+
enabled: boolean;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The list of features enabled in the embedded component.
|
|
203
|
+
*/
|
|
204
|
+
features?: AppInstall.Features;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
namespace AppInstall {
|
|
208
|
+
interface Features {
|
|
209
|
+
/**
|
|
210
|
+
* List of apps allowed to be enabled for this account session.
|
|
211
|
+
*/
|
|
212
|
+
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
interface AppViewport {
|
|
217
|
+
/**
|
|
218
|
+
* Whether the embedded component is enabled.
|
|
219
|
+
*/
|
|
220
|
+
enabled: boolean;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* The list of features enabled in the embedded component.
|
|
224
|
+
*/
|
|
225
|
+
features?: AppViewport.Features;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
namespace AppViewport {
|
|
229
|
+
interface Features {
|
|
230
|
+
/**
|
|
231
|
+
* List of apps allowed to be enabled for this account session.
|
|
232
|
+
*/
|
|
233
|
+
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
123
237
|
interface Balances {
|
|
124
238
|
/**
|
|
125
239
|
* Whether the embedded component is enabled.
|
|
@@ -134,13 +248,18 @@ declare module 'stripe' {
|
|
|
134
248
|
|
|
135
249
|
namespace Balances {
|
|
136
250
|
interface Features {
|
|
251
|
+
/**
|
|
252
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
253
|
+
*/
|
|
254
|
+
disable_stripe_user_authentication?: boolean;
|
|
255
|
+
|
|
137
256
|
/**
|
|
138
257
|
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
|
|
139
258
|
*/
|
|
140
259
|
edit_payout_schedule?: boolean;
|
|
141
260
|
|
|
142
261
|
/**
|
|
143
|
-
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for
|
|
262
|
+
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
144
263
|
*/
|
|
145
264
|
external_account_collection?: boolean;
|
|
146
265
|
|
|
@@ -156,6 +275,70 @@ declare module 'stripe' {
|
|
|
156
275
|
}
|
|
157
276
|
}
|
|
158
277
|
|
|
278
|
+
interface CapitalFinancing {
|
|
279
|
+
/**
|
|
280
|
+
* Whether the embedded component is enabled.
|
|
281
|
+
*/
|
|
282
|
+
enabled: boolean;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* The list of features enabled in the embedded component.
|
|
286
|
+
*/
|
|
287
|
+
features?: CapitalFinancing.Features;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
namespace CapitalFinancing {
|
|
291
|
+
interface Features {}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
interface CapitalFinancingApplication {
|
|
295
|
+
/**
|
|
296
|
+
* Whether the embedded component is enabled.
|
|
297
|
+
*/
|
|
298
|
+
enabled: boolean;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* The list of features enabled in the embedded component.
|
|
302
|
+
*/
|
|
303
|
+
features?: CapitalFinancingApplication.Features;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
namespace CapitalFinancingApplication {
|
|
307
|
+
interface Features {}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
interface CapitalFinancingPromotion {
|
|
311
|
+
/**
|
|
312
|
+
* Whether the embedded component is enabled.
|
|
313
|
+
*/
|
|
314
|
+
enabled: boolean;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* The list of features enabled in the embedded component.
|
|
318
|
+
*/
|
|
319
|
+
features?: CapitalFinancingPromotion.Features;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
namespace CapitalFinancingPromotion {
|
|
323
|
+
interface Features {}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
interface CapitalOverview {
|
|
327
|
+
/**
|
|
328
|
+
* Whether the embedded component is enabled.
|
|
329
|
+
*/
|
|
330
|
+
enabled: boolean;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The list of features enabled in the embedded component.
|
|
334
|
+
*/
|
|
335
|
+
features?: CapitalOverview.Features;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
namespace CapitalOverview {
|
|
339
|
+
interface Features {}
|
|
340
|
+
}
|
|
341
|
+
|
|
159
342
|
interface Documents {
|
|
160
343
|
/**
|
|
161
344
|
* Whether the embedded component is enabled.
|
|
@@ -172,6 +355,114 @@ declare module 'stripe' {
|
|
|
172
355
|
interface Features {}
|
|
173
356
|
}
|
|
174
357
|
|
|
358
|
+
interface FinancialAccount {
|
|
359
|
+
/**
|
|
360
|
+
* Whether the embedded component is enabled.
|
|
361
|
+
*/
|
|
362
|
+
enabled: boolean;
|
|
363
|
+
|
|
364
|
+
features?: FinancialAccount.Features;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
namespace FinancialAccount {
|
|
368
|
+
interface Features {
|
|
369
|
+
/**
|
|
370
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
371
|
+
*/
|
|
372
|
+
disable_stripe_user_authentication?: boolean;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Whether to allow external accounts to be linked for money transfer.
|
|
376
|
+
*/
|
|
377
|
+
external_account_collection?: boolean;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Whether to allow money movement features.
|
|
381
|
+
*/
|
|
382
|
+
money_movement?: boolean;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Whether to allow sending money.
|
|
386
|
+
*/
|
|
387
|
+
send_money?: boolean;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Whether to allow transferring balance.
|
|
391
|
+
*/
|
|
392
|
+
transfer_balance?: boolean;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
interface FinancialAccountTransactions {
|
|
397
|
+
/**
|
|
398
|
+
* Whether the embedded component is enabled.
|
|
399
|
+
*/
|
|
400
|
+
enabled: boolean;
|
|
401
|
+
|
|
402
|
+
features?: FinancialAccountTransactions.Features;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
namespace FinancialAccountTransactions {
|
|
406
|
+
interface Features {
|
|
407
|
+
/**
|
|
408
|
+
* Whether to allow card spend dispute management features.
|
|
409
|
+
*/
|
|
410
|
+
card_spend_dispute_management?: boolean;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
interface IssuingCard {
|
|
415
|
+
/**
|
|
416
|
+
* Whether the embedded component is enabled.
|
|
417
|
+
*/
|
|
418
|
+
enabled: boolean;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* The list of features enabled in the embedded component.
|
|
422
|
+
*/
|
|
423
|
+
features?: IssuingCard.Features;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
namespace IssuingCard {
|
|
427
|
+
interface Features {}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
interface IssuingCardsList {
|
|
431
|
+
/**
|
|
432
|
+
* Whether the embedded component is enabled.
|
|
433
|
+
*/
|
|
434
|
+
enabled: boolean;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* The list of features enabled in the embedded component.
|
|
438
|
+
*/
|
|
439
|
+
features?: IssuingCardsList.Features;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
namespace IssuingCardsList {
|
|
443
|
+
interface Features {
|
|
444
|
+
/**
|
|
445
|
+
* Whether to allow card management features.
|
|
446
|
+
*/
|
|
447
|
+
card_management?: boolean;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Whether to allow card spend dispute management features.
|
|
451
|
+
*/
|
|
452
|
+
card_spend_dispute_management?: boolean;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Whether to allow cardholder management features.
|
|
456
|
+
*/
|
|
457
|
+
cardholder_management?: boolean;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Whether to allow spend control management features.
|
|
461
|
+
*/
|
|
462
|
+
spend_control_management?: boolean;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
175
466
|
interface NotificationBanner {
|
|
176
467
|
/**
|
|
177
468
|
* Whether the embedded component is enabled.
|
|
@@ -187,7 +478,12 @@ declare module 'stripe' {
|
|
|
187
478
|
namespace NotificationBanner {
|
|
188
479
|
interface Features {
|
|
189
480
|
/**
|
|
190
|
-
*
|
|
481
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
482
|
+
*/
|
|
483
|
+
disable_stripe_user_authentication?: boolean;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
191
487
|
*/
|
|
192
488
|
external_account_collection?: boolean;
|
|
193
489
|
}
|
|
@@ -229,6 +525,22 @@ declare module 'stripe' {
|
|
|
229
525
|
}
|
|
230
526
|
}
|
|
231
527
|
|
|
528
|
+
interface PaymentMethodSettings {
|
|
529
|
+
/**
|
|
530
|
+
* Whether the embedded component is enabled.
|
|
531
|
+
*/
|
|
532
|
+
enabled: boolean;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* The list of features enabled in the embedded component.
|
|
536
|
+
*/
|
|
537
|
+
features?: PaymentMethodSettings.Features;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
namespace PaymentMethodSettings {
|
|
541
|
+
interface Features {}
|
|
542
|
+
}
|
|
543
|
+
|
|
232
544
|
interface Payments {
|
|
233
545
|
/**
|
|
234
546
|
* Whether the embedded component is enabled.
|
|
@@ -279,13 +591,18 @@ declare module 'stripe' {
|
|
|
279
591
|
|
|
280
592
|
namespace Payouts {
|
|
281
593
|
interface Features {
|
|
594
|
+
/**
|
|
595
|
+
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
596
|
+
*/
|
|
597
|
+
disable_stripe_user_authentication?: boolean;
|
|
598
|
+
|
|
282
599
|
/**
|
|
283
600
|
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
|
|
284
601
|
*/
|
|
285
602
|
edit_payout_schedule?: boolean;
|
|
286
603
|
|
|
287
604
|
/**
|
|
288
|
-
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for
|
|
605
|
+
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
289
606
|
*/
|
|
290
607
|
external_account_collection?: boolean;
|
|
291
608
|
|
|
@@ -317,6 +634,38 @@ declare module 'stripe' {
|
|
|
317
634
|
interface Features {}
|
|
318
635
|
}
|
|
319
636
|
|
|
637
|
+
interface Recipients {
|
|
638
|
+
/**
|
|
639
|
+
* Whether the embedded component is enabled.
|
|
640
|
+
*/
|
|
641
|
+
enabled: boolean;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* The list of features enabled in the embedded component.
|
|
645
|
+
*/
|
|
646
|
+
features?: Recipients.Features;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
namespace Recipients {
|
|
650
|
+
interface Features {}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
interface ReportingChart {
|
|
654
|
+
/**
|
|
655
|
+
* Whether the embedded component is enabled.
|
|
656
|
+
*/
|
|
657
|
+
enabled: boolean;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* The list of features enabled in the embedded component.
|
|
661
|
+
*/
|
|
662
|
+
features?: ReportingChart.Features;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
namespace ReportingChart {
|
|
666
|
+
interface Features {}
|
|
667
|
+
}
|
|
668
|
+
|
|
320
669
|
interface TaxRegistrations {
|
|
321
670
|
/**
|
|
322
671
|
* Whether the embedded component is enabled.
|