stripe 16.12.0 → 16.13.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 +850 -109
- package/README.md +33 -0
- package/VERSION +1 -1
- package/cjs/RequestSender.js +66 -5
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +2 -1
- package/cjs/multipart.js +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/OAuth.js +1 -1
- 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.js +42 -10
- package/cjs/stripe.core.js +6 -3
- package/cjs/utils.js +30 -3
- package/esm/RequestSender.js +67 -6
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +1 -0
- package/esm/multipart.js +2 -2
- 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/OAuth.js +2 -2
- 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.js +29 -0
- package/esm/stripe.core.js +6 -3
- package/esm/utils.js +27 -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 +45 -0
- package/types/AccountSessionsResource.d.ts +288 -0
- package/types/Accounts.d.ts +113 -1
- package/types/AccountsResource.d.ts +270 -0
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- 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 +71 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +296 -4
- package/types/Checkout/SessionsResource.d.ts +351 -5
- package/types/ConfirmationTokens.d.ts +67 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +3 -0
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +545 -0
- package/types/Events.d.ts +90 -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/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 +22 -0
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +117 -1
- package/types/InvoicesResource.d.ts +5454 -1796
- package/types/Issuing/CardholdersResource.d.ts +2 -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 +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1084 -0
- package/types/OrdersResource.d.ts +2765 -0
- package/types/PaymentIntents.d.ts +503 -1
- package/types/PaymentIntentsResource.d.ts +7000 -3400
- package/types/PaymentLinks.d.ts +3 -0
- package/types/PaymentLinksResource.d.ts +6 -0
- package/types/PaymentMethodConfigurations.d.ts +36 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
- package/types/PaymentMethods.d.ts +67 -0
- package/types/PaymentMethodsResource.d.ts +88 -0
- 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 +1548 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +596 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/SetupAttempts.d.ts +10 -0
- package/types/SetupIntents.d.ts +111 -1
- package/types/SetupIntentsResource.d.ts +522 -3
- 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 +82 -1
- package/types/SubscriptionsResource.d.ts +347 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +133 -0
- package/types/Tax/FormsResource.d.ts +90 -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 +208 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +63 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +10 -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/WebhookEndpointsResource.d.ts +64 -0
- package/types/index.d.ts +72 -0
- package/types/lib.d.ts +12 -0
|
@@ -52,6 +52,12 @@ declare module 'stripe' {
|
|
|
52
52
|
|
|
53
53
|
balances: Components.Balances;
|
|
54
54
|
|
|
55
|
+
capital_financing?: Components.CapitalFinancing | null;
|
|
56
|
+
|
|
57
|
+
capital_financing_application?: Components.CapitalFinancingApplication | null;
|
|
58
|
+
|
|
59
|
+
capital_financing_promotion?: Components.CapitalFinancingPromotion | null;
|
|
60
|
+
|
|
55
61
|
documents: Components.Documents;
|
|
56
62
|
|
|
57
63
|
notification_banner: Components.NotificationBanner;
|
|
@@ -139,6 +145,45 @@ declare module 'stripe' {
|
|
|
139
145
|
}
|
|
140
146
|
}
|
|
141
147
|
|
|
148
|
+
interface CapitalFinancing {
|
|
149
|
+
/**
|
|
150
|
+
* Whether the embedded component is enabled.
|
|
151
|
+
*/
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
|
|
154
|
+
features: CapitalFinancing.Features;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
namespace CapitalFinancing {
|
|
158
|
+
interface Features {}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
interface CapitalFinancingApplication {
|
|
162
|
+
/**
|
|
163
|
+
* Whether the embedded component is enabled.
|
|
164
|
+
*/
|
|
165
|
+
enabled: boolean;
|
|
166
|
+
|
|
167
|
+
features: CapitalFinancingApplication.Features;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
namespace CapitalFinancingApplication {
|
|
171
|
+
interface Features {}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
interface CapitalFinancingPromotion {
|
|
175
|
+
/**
|
|
176
|
+
* Whether the embedded component is enabled.
|
|
177
|
+
*/
|
|
178
|
+
enabled: boolean;
|
|
179
|
+
|
|
180
|
+
features: CapitalFinancingPromotion.Features;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
namespace CapitalFinancingPromotion {
|
|
184
|
+
interface Features {}
|
|
185
|
+
}
|
|
186
|
+
|
|
142
187
|
interface Documents {
|
|
143
188
|
/**
|
|
144
189
|
* Whether the embedded component is enabled.
|
|
@@ -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,8 @@ declare module 'stripe' {
|
|
|
66
121
|
*/
|
|
67
122
|
payouts_list?: Components.PayoutsList;
|
|
68
123
|
|
|
124
|
+
recipients?: Components.Recipients;
|
|
125
|
+
|
|
69
126
|
/**
|
|
70
127
|
* Configuration for the tax registrations embedded component.
|
|
71
128
|
*/
|
|
@@ -120,6 +177,48 @@ declare module 'stripe' {
|
|
|
120
177
|
}
|
|
121
178
|
}
|
|
122
179
|
|
|
180
|
+
interface AppInstall {
|
|
181
|
+
/**
|
|
182
|
+
* Whether the embedded component is enabled.
|
|
183
|
+
*/
|
|
184
|
+
enabled: boolean;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The list of features enabled in the embedded component.
|
|
188
|
+
*/
|
|
189
|
+
features?: AppInstall.Features;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
namespace AppInstall {
|
|
193
|
+
interface Features {
|
|
194
|
+
/**
|
|
195
|
+
* List of apps allowed to be enabled for this account session.
|
|
196
|
+
*/
|
|
197
|
+
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface AppViewport {
|
|
202
|
+
/**
|
|
203
|
+
* Whether the embedded component is enabled.
|
|
204
|
+
*/
|
|
205
|
+
enabled: boolean;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The list of features enabled in the embedded component.
|
|
209
|
+
*/
|
|
210
|
+
features?: AppViewport.Features;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
namespace AppViewport {
|
|
214
|
+
interface Features {
|
|
215
|
+
/**
|
|
216
|
+
* List of apps allowed to be enabled for this account session.
|
|
217
|
+
*/
|
|
218
|
+
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
123
222
|
interface Balances {
|
|
124
223
|
/**
|
|
125
224
|
* Whether the embedded component is enabled.
|
|
@@ -156,6 +255,70 @@ declare module 'stripe' {
|
|
|
156
255
|
}
|
|
157
256
|
}
|
|
158
257
|
|
|
258
|
+
interface CapitalFinancing {
|
|
259
|
+
/**
|
|
260
|
+
* Whether the embedded component is enabled.
|
|
261
|
+
*/
|
|
262
|
+
enabled: boolean;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The list of features enabled in the embedded component.
|
|
266
|
+
*/
|
|
267
|
+
features?: CapitalFinancing.Features;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
namespace CapitalFinancing {
|
|
271
|
+
interface Features {}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
interface CapitalFinancingApplication {
|
|
275
|
+
/**
|
|
276
|
+
* Whether the embedded component is enabled.
|
|
277
|
+
*/
|
|
278
|
+
enabled: boolean;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* The list of features enabled in the embedded component.
|
|
282
|
+
*/
|
|
283
|
+
features?: CapitalFinancingApplication.Features;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
namespace CapitalFinancingApplication {
|
|
287
|
+
interface Features {}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
interface CapitalFinancingPromotion {
|
|
291
|
+
/**
|
|
292
|
+
* Whether the embedded component is enabled.
|
|
293
|
+
*/
|
|
294
|
+
enabled: boolean;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* The list of features enabled in the embedded component.
|
|
298
|
+
*/
|
|
299
|
+
features?: CapitalFinancingPromotion.Features;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
namespace CapitalFinancingPromotion {
|
|
303
|
+
interface Features {}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
interface CapitalOverview {
|
|
307
|
+
/**
|
|
308
|
+
* Whether the embedded component is enabled.
|
|
309
|
+
*/
|
|
310
|
+
enabled: boolean;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* The list of features enabled in the embedded component.
|
|
314
|
+
*/
|
|
315
|
+
features?: CapitalOverview.Features;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
namespace CapitalOverview {
|
|
319
|
+
interface Features {}
|
|
320
|
+
}
|
|
321
|
+
|
|
159
322
|
interface Documents {
|
|
160
323
|
/**
|
|
161
324
|
* Whether the embedded component is enabled.
|
|
@@ -172,6 +335,99 @@ declare module 'stripe' {
|
|
|
172
335
|
interface Features {}
|
|
173
336
|
}
|
|
174
337
|
|
|
338
|
+
interface FinancialAccount {
|
|
339
|
+
/**
|
|
340
|
+
* Whether the embedded component is enabled.
|
|
341
|
+
*/
|
|
342
|
+
enabled: boolean;
|
|
343
|
+
|
|
344
|
+
features?: FinancialAccount.Features;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
namespace FinancialAccount {
|
|
348
|
+
interface Features {
|
|
349
|
+
/**
|
|
350
|
+
* Whether to allow external accounts to be linked for money transfer.
|
|
351
|
+
*/
|
|
352
|
+
external_account_collection?: boolean;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Whether to allow money movement features.
|
|
356
|
+
*/
|
|
357
|
+
money_movement?: boolean;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Whether to allow sending money.
|
|
361
|
+
*/
|
|
362
|
+
send_money?: boolean;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Whether to allow transferring balance.
|
|
366
|
+
*/
|
|
367
|
+
transfer_balance?: boolean;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
interface FinancialAccountTransactions {
|
|
372
|
+
/**
|
|
373
|
+
* Whether the embedded component is enabled.
|
|
374
|
+
*/
|
|
375
|
+
enabled: boolean;
|
|
376
|
+
|
|
377
|
+
features?: FinancialAccountTransactions.Features;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
namespace FinancialAccountTransactions {
|
|
381
|
+
interface Features {
|
|
382
|
+
/**
|
|
383
|
+
* Whether to allow card spend dispute features.
|
|
384
|
+
*/
|
|
385
|
+
card_spend_dispute_management?: boolean;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
interface IssuingCard {
|
|
390
|
+
/**
|
|
391
|
+
* Whether the embedded component is enabled.
|
|
392
|
+
*/
|
|
393
|
+
enabled: boolean;
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* The list of features enabled in the embedded component.
|
|
397
|
+
*/
|
|
398
|
+
features?: IssuingCard.Features;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
namespace IssuingCard {
|
|
402
|
+
interface Features {}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
interface IssuingCardsList {
|
|
406
|
+
/**
|
|
407
|
+
* Whether the embedded component is enabled.
|
|
408
|
+
*/
|
|
409
|
+
enabled: boolean;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* The list of features enabled in the embedded component.
|
|
413
|
+
*/
|
|
414
|
+
features?: IssuingCardsList.Features;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
namespace IssuingCardsList {
|
|
418
|
+
interface Features {
|
|
419
|
+
/**
|
|
420
|
+
* Whether to allow card management features.
|
|
421
|
+
*/
|
|
422
|
+
card_management?: boolean;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Whether to allow cardholder management features.
|
|
426
|
+
*/
|
|
427
|
+
cardholder_management?: boolean;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
175
431
|
interface NotificationBanner {
|
|
176
432
|
/**
|
|
177
433
|
* Whether the embedded component is enabled.
|
|
@@ -229,6 +485,22 @@ declare module 'stripe' {
|
|
|
229
485
|
}
|
|
230
486
|
}
|
|
231
487
|
|
|
488
|
+
interface PaymentMethodSettings {
|
|
489
|
+
/**
|
|
490
|
+
* Whether the embedded component is enabled.
|
|
491
|
+
*/
|
|
492
|
+
enabled: boolean;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* The list of features enabled in the embedded component.
|
|
496
|
+
*/
|
|
497
|
+
features?: PaymentMethodSettings.Features;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
namespace PaymentMethodSettings {
|
|
501
|
+
interface Features {}
|
|
502
|
+
}
|
|
503
|
+
|
|
232
504
|
interface Payments {
|
|
233
505
|
/**
|
|
234
506
|
* Whether the embedded component is enabled.
|
|
@@ -317,6 +589,22 @@ declare module 'stripe' {
|
|
|
317
589
|
interface Features {}
|
|
318
590
|
}
|
|
319
591
|
|
|
592
|
+
interface Recipients {
|
|
593
|
+
/**
|
|
594
|
+
* Whether the embedded component is enabled.
|
|
595
|
+
*/
|
|
596
|
+
enabled: boolean;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The list of features enabled in the embedded component.
|
|
600
|
+
*/
|
|
601
|
+
features?: Recipients.Features;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
namespace Recipients {
|
|
605
|
+
interface Features {}
|
|
606
|
+
}
|
|
607
|
+
|
|
320
608
|
interface TaxRegistrations {
|
|
321
609
|
/**
|
|
322
610
|
* Whether the embedded component is enabled.
|
package/types/Accounts.d.ts
CHANGED
|
@@ -106,6 +106,8 @@ declare module 'stripe' {
|
|
|
106
106
|
|
|
107
107
|
requirements?: Account.Requirements;
|
|
108
108
|
|
|
109
|
+
risk_controls?: Account.RiskControls;
|
|
110
|
+
|
|
109
111
|
/**
|
|
110
112
|
* Options for customizing how the account functions within Stripe.
|
|
111
113
|
*/
|
|
@@ -347,6 +349,11 @@ declare module 'stripe' {
|
|
|
347
349
|
*/
|
|
348
350
|
link_payments?: Capabilities.LinkPayments;
|
|
349
351
|
|
|
352
|
+
/**
|
|
353
|
+
* The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
|
354
|
+
*/
|
|
355
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
356
|
+
|
|
350
357
|
/**
|
|
351
358
|
* The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
|
352
359
|
*/
|
|
@@ -377,11 +384,26 @@ declare module 'stripe' {
|
|
|
377
384
|
*/
|
|
378
385
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
379
386
|
|
|
387
|
+
/**
|
|
388
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
389
|
+
*/
|
|
390
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
394
|
+
*/
|
|
395
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
396
|
+
|
|
380
397
|
/**
|
|
381
398
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
382
399
|
*/
|
|
383
400
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
384
401
|
|
|
402
|
+
/**
|
|
403
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
404
|
+
*/
|
|
405
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
406
|
+
|
|
385
407
|
/**
|
|
386
408
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
387
409
|
*/
|
|
@@ -503,6 +525,8 @@ declare module 'stripe' {
|
|
|
503
525
|
|
|
504
526
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
505
527
|
|
|
528
|
+
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
529
|
+
|
|
506
530
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
507
531
|
|
|
508
532
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -515,8 +539,14 @@ declare module 'stripe' {
|
|
|
515
539
|
|
|
516
540
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
517
541
|
|
|
542
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
543
|
+
|
|
544
|
+
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
545
|
+
|
|
518
546
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
519
547
|
|
|
548
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
549
|
+
|
|
520
550
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
521
551
|
|
|
522
552
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -780,6 +810,10 @@ declare module 'stripe' {
|
|
|
780
810
|
}
|
|
781
811
|
|
|
782
812
|
interface Controller {
|
|
813
|
+
application?: Controller.Application;
|
|
814
|
+
|
|
815
|
+
dashboard?: Controller.Dashboard;
|
|
816
|
+
|
|
783
817
|
fees?: Controller.Fees;
|
|
784
818
|
|
|
785
819
|
/**
|
|
@@ -803,6 +837,34 @@ declare module 'stripe' {
|
|
|
803
837
|
}
|
|
804
838
|
|
|
805
839
|
namespace Controller {
|
|
840
|
+
interface Application {
|
|
841
|
+
/**
|
|
842
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
843
|
+
*/
|
|
844
|
+
loss_liable: boolean;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
848
|
+
*/
|
|
849
|
+
onboarding_owner: boolean;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
853
|
+
*/
|
|
854
|
+
pricing_controls: boolean;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
interface Dashboard {
|
|
858
|
+
/**
|
|
859
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
860
|
+
*/
|
|
861
|
+
type: Dashboard.Type;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
namespace Dashboard {
|
|
865
|
+
type Type = 'express' | 'full' | 'none';
|
|
866
|
+
}
|
|
867
|
+
|
|
806
868
|
interface Fees {
|
|
807
869
|
/**
|
|
808
870
|
* A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -815,7 +877,8 @@ declare module 'stripe' {
|
|
|
815
877
|
| 'account'
|
|
816
878
|
| 'application'
|
|
817
879
|
| 'application_custom'
|
|
818
|
-
| 'application_express'
|
|
880
|
+
| 'application_express'
|
|
881
|
+
| 'application_unified_accounts_beta';
|
|
819
882
|
}
|
|
820
883
|
|
|
821
884
|
interface Losses {
|
|
@@ -1179,11 +1242,35 @@ declare module 'stripe' {
|
|
|
1179
1242
|
}
|
|
1180
1243
|
}
|
|
1181
1244
|
|
|
1245
|
+
interface RiskControls {
|
|
1246
|
+
charges: RiskControls.Charges;
|
|
1247
|
+
|
|
1248
|
+
payouts: RiskControls.Payouts;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
namespace RiskControls {
|
|
1252
|
+
interface Charges {
|
|
1253
|
+
/**
|
|
1254
|
+
* Whether a pause of the risk control has been requested.
|
|
1255
|
+
*/
|
|
1256
|
+
pause_requested: boolean;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
interface Payouts {
|
|
1260
|
+
/**
|
|
1261
|
+
* Whether a pause of the risk control has been requested.
|
|
1262
|
+
*/
|
|
1263
|
+
pause_requested: boolean;
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1182
1267
|
interface Settings {
|
|
1183
1268
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1184
1269
|
|
|
1185
1270
|
branding: Settings.Branding;
|
|
1186
1271
|
|
|
1272
|
+
capital?: Settings.Capital;
|
|
1273
|
+
|
|
1187
1274
|
card_issuing?: Settings.CardIssuing;
|
|
1188
1275
|
|
|
1189
1276
|
card_payments: Settings.CardPayments;
|
|
@@ -1198,6 +1285,8 @@ declare module 'stripe' {
|
|
|
1198
1285
|
|
|
1199
1286
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1200
1287
|
|
|
1288
|
+
tax_forms?: Settings.TaxForms;
|
|
1289
|
+
|
|
1201
1290
|
treasury?: Settings.Treasury;
|
|
1202
1291
|
}
|
|
1203
1292
|
|
|
@@ -1236,6 +1325,22 @@ declare module 'stripe' {
|
|
|
1236
1325
|
secondary_color: string | null;
|
|
1237
1326
|
}
|
|
1238
1327
|
|
|
1328
|
+
interface Capital {
|
|
1329
|
+
/**
|
|
1330
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1331
|
+
*/
|
|
1332
|
+
payout_destination?: {
|
|
1333
|
+
[key: string]: string;
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1338
|
+
*/
|
|
1339
|
+
payout_destination_selector?: {
|
|
1340
|
+
[key: string]: Array<string>;
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1239
1344
|
interface CardIssuing {
|
|
1240
1345
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1241
1346
|
}
|
|
@@ -1383,6 +1488,13 @@ declare module 'stripe' {
|
|
|
1383
1488
|
creditor_id?: string;
|
|
1384
1489
|
}
|
|
1385
1490
|
|
|
1491
|
+
interface TaxForms {
|
|
1492
|
+
/**
|
|
1493
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1494
|
+
*/
|
|
1495
|
+
consented_to_paperless_delivery: boolean;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1386
1498
|
interface Treasury {
|
|
1387
1499
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1388
1500
|
}
|