stripe 16.0.0 → 16.2.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 +761 -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/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +25 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -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/QuotePhases.js +22 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources.js +36 -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/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +25 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -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/QuotePhases.js +19 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources.js +22 -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 +110 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +15 -0
- package/types/AccountSessionsResource.d.ts +205 -0
- package/types/Accounts.d.ts +88 -1
- package/types/AccountsResource.d.ts +204 -0
- package/types/Billing/MetersResource.d.ts +6 -2
- package/types/Capabilities.d.ts +1 -1
- 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 +67 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +36 -1
- package/types/Checkout/SessionsResource.d.ts +15 -1
- package/types/ConfirmationTokens.d.ts +83 -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 +72 -0
- package/types/CustomerSessions.d.ts +48 -0
- package/types/CustomerSessionsResource.d.ts +48 -0
- package/types/CustomersResource.d.ts +2 -0
- package/types/Disputes.d.ts +167 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +426 -0
- package/types/Events.d.ts +83 -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/Sessions.d.ts +58 -1
- package/types/FinancialConnections/SessionsResource.d.ts +47 -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 +91 -0
- package/types/Invoices.d.ts +123 -1
- package/types/InvoicesResource.d.ts +6477 -2302
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/Cards.d.ts +34 -0
- package/types/Issuing/CardsResource.d.ts +125 -0
- package/types/Issuing/CreditUnderwritingRecords.d.ts +446 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1017 -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 +1057 -0
- package/types/OrdersResource.d.ts +2711 -0
- package/types/PaymentIntents.d.ts +476 -1
- package/types/PaymentIntentsResource.d.ts +6735 -3354
- package/types/PaymentLinks.d.ts +4 -1
- package/types/PaymentLinksResource.d.ts +8 -2
- package/types/PaymentMethods.d.ts +62 -0
- package/types/PaymentMethodsResource.d.ts +110 -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/QuotePhases.d.ts +198 -0
- package/types/QuotePhasesResource.d.ts +67 -0
- package/types/QuotePreviewInvoices.d.ts +1528 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
- package/types/Quotes.d.ts +578 -1
- package/types/QuotesResource.d.ts +3174 -265
- package/types/SetupAttempts.d.ts +8 -0
- package/types/SetupIntents.d.ts +117 -1
- package/types/SetupIntentsResource.d.ts +531 -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 +164 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +54 -1
- package/types/SubscriptionsResource.d.ts +369 -2
- package/types/Tax/Forms.d.ts +133 -0
- package/types/Tax/FormsResource.d.ts +90 -0
- package/types/Terminal/Configurations.d.ts +14 -0
- package/types/Terminal/ConfigurationsResource.d.ts +36 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +208 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +55 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -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 +50 -0
- package/types/index.d.ts +61 -0
- package/types/lib.d.ts +12 -0
|
@@ -36,11 +36,38 @@ declare module 'stripe' {
|
|
|
36
36
|
*/
|
|
37
37
|
balances?: Components.Balances;
|
|
38
38
|
|
|
39
|
+
capital_financing_promotion?: Components.CapitalFinancingPromotion;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Configuration for the capital overview embedded component.
|
|
43
|
+
*/
|
|
44
|
+
capital_overview?: Components.CapitalOverview;
|
|
45
|
+
|
|
39
46
|
/**
|
|
40
47
|
* Configuration for the documents embedded component.
|
|
41
48
|
*/
|
|
42
49
|
documents?: Components.Documents;
|
|
43
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Configuration for the financial account component.
|
|
53
|
+
*/
|
|
54
|
+
financial_account?: Components.FinancialAccount;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Configuration for the financial account transactions component.
|
|
58
|
+
*/
|
|
59
|
+
financial_account_transactions?: Components.FinancialAccountTransactions;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Configuration for the issuing card component.
|
|
63
|
+
*/
|
|
64
|
+
issuing_card?: Components.IssuingCard;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Configuration for the issuing cards list component.
|
|
68
|
+
*/
|
|
69
|
+
issuing_cards_list?: Components.IssuingCardsList;
|
|
70
|
+
|
|
44
71
|
/**
|
|
45
72
|
* Configuration for the notification banner embedded component.
|
|
46
73
|
*/
|
|
@@ -51,6 +78,11 @@ declare module 'stripe' {
|
|
|
51
78
|
*/
|
|
52
79
|
payment_details?: Components.PaymentDetails;
|
|
53
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Configuration for the payment method settings embedded component.
|
|
83
|
+
*/
|
|
84
|
+
payment_method_settings?: Components.PaymentMethodSettings;
|
|
85
|
+
|
|
54
86
|
/**
|
|
55
87
|
* Configuration for the payments embedded component.
|
|
56
88
|
*/
|
|
@@ -65,6 +97,16 @@ declare module 'stripe' {
|
|
|
65
97
|
* Configuration for the payouts list embedded component.
|
|
66
98
|
*/
|
|
67
99
|
payouts_list?: Components.PayoutsList;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Configuration for the tax registrations embedded component.
|
|
103
|
+
*/
|
|
104
|
+
tax_registrations?: Components.TaxRegistrations;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Configuration for the tax settings embedded component.
|
|
108
|
+
*/
|
|
109
|
+
tax_settings?: Components.TaxSettings;
|
|
68
110
|
}
|
|
69
111
|
|
|
70
112
|
namespace Components {
|
|
@@ -146,6 +188,38 @@ declare module 'stripe' {
|
|
|
146
188
|
}
|
|
147
189
|
}
|
|
148
190
|
|
|
191
|
+
interface CapitalFinancingPromotion {
|
|
192
|
+
/**
|
|
193
|
+
* Whether the embedded component is enabled.
|
|
194
|
+
*/
|
|
195
|
+
enabled: boolean;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The list of features enabled in the embedded component.
|
|
199
|
+
*/
|
|
200
|
+
features?: CapitalFinancingPromotion.Features;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
namespace CapitalFinancingPromotion {
|
|
204
|
+
interface Features {}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
interface CapitalOverview {
|
|
208
|
+
/**
|
|
209
|
+
* Whether the embedded component is enabled.
|
|
210
|
+
*/
|
|
211
|
+
enabled: boolean;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* The list of features enabled in the embedded component.
|
|
215
|
+
*/
|
|
216
|
+
features?: CapitalOverview.Features;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
namespace CapitalOverview {
|
|
220
|
+
interface Features {}
|
|
221
|
+
}
|
|
222
|
+
|
|
149
223
|
interface Documents {
|
|
150
224
|
/**
|
|
151
225
|
* Whether the embedded component is enabled.
|
|
@@ -162,6 +236,89 @@ declare module 'stripe' {
|
|
|
162
236
|
interface Features {}
|
|
163
237
|
}
|
|
164
238
|
|
|
239
|
+
interface FinancialAccount {
|
|
240
|
+
/**
|
|
241
|
+
* Whether the embedded component is enabled.
|
|
242
|
+
*/
|
|
243
|
+
enabled: boolean;
|
|
244
|
+
|
|
245
|
+
features?: FinancialAccount.Features;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
namespace FinancialAccount {
|
|
249
|
+
interface Features {
|
|
250
|
+
/**
|
|
251
|
+
* Whether to allow external accounts to be linked for money transfer.
|
|
252
|
+
*/
|
|
253
|
+
external_account_collection?: boolean;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Whether to allow money movement features.
|
|
257
|
+
*/
|
|
258
|
+
money_movement?: boolean;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
interface FinancialAccountTransactions {
|
|
263
|
+
/**
|
|
264
|
+
* Whether the embedded component is enabled.
|
|
265
|
+
*/
|
|
266
|
+
enabled: boolean;
|
|
267
|
+
|
|
268
|
+
features?: FinancialAccountTransactions.Features;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
namespace FinancialAccountTransactions {
|
|
272
|
+
interface Features {
|
|
273
|
+
/**
|
|
274
|
+
* Whether to allow card spend dispute features.
|
|
275
|
+
*/
|
|
276
|
+
card_spend_dispute_management?: boolean;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
interface IssuingCard {
|
|
281
|
+
/**
|
|
282
|
+
* Whether the embedded component is enabled.
|
|
283
|
+
*/
|
|
284
|
+
enabled: boolean;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The list of features enabled in the embedded component.
|
|
288
|
+
*/
|
|
289
|
+
features?: IssuingCard.Features;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
namespace IssuingCard {
|
|
293
|
+
interface Features {}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface IssuingCardsList {
|
|
297
|
+
/**
|
|
298
|
+
* Whether the embedded component is enabled.
|
|
299
|
+
*/
|
|
300
|
+
enabled: boolean;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The list of features enabled in the embedded component.
|
|
304
|
+
*/
|
|
305
|
+
features?: IssuingCardsList.Features;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
namespace IssuingCardsList {
|
|
309
|
+
interface Features {
|
|
310
|
+
/**
|
|
311
|
+
* Whether to allow card management features.
|
|
312
|
+
*/
|
|
313
|
+
card_management?: boolean;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Whether to allow cardholder management features.
|
|
317
|
+
*/
|
|
318
|
+
cardholder_management?: boolean;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
165
322
|
interface NotificationBanner {
|
|
166
323
|
/**
|
|
167
324
|
* Whether the embedded component is enabled.
|
|
@@ -219,6 +376,22 @@ declare module 'stripe' {
|
|
|
219
376
|
}
|
|
220
377
|
}
|
|
221
378
|
|
|
379
|
+
interface PaymentMethodSettings {
|
|
380
|
+
/**
|
|
381
|
+
* Whether the embedded component is enabled.
|
|
382
|
+
*/
|
|
383
|
+
enabled: boolean;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* The list of features enabled in the embedded component.
|
|
387
|
+
*/
|
|
388
|
+
features?: PaymentMethodSettings.Features;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
namespace PaymentMethodSettings {
|
|
392
|
+
interface Features {}
|
|
393
|
+
}
|
|
394
|
+
|
|
222
395
|
interface Payments {
|
|
223
396
|
/**
|
|
224
397
|
* Whether the embedded component is enabled.
|
|
@@ -306,6 +479,38 @@ declare module 'stripe' {
|
|
|
306
479
|
namespace PayoutsList {
|
|
307
480
|
interface Features {}
|
|
308
481
|
}
|
|
482
|
+
|
|
483
|
+
interface TaxRegistrations {
|
|
484
|
+
/**
|
|
485
|
+
* Whether the embedded component is enabled.
|
|
486
|
+
*/
|
|
487
|
+
enabled: boolean;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* The list of features enabled in the embedded component.
|
|
491
|
+
*/
|
|
492
|
+
features?: TaxRegistrations.Features;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
namespace TaxRegistrations {
|
|
496
|
+
interface Features {}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
interface TaxSettings {
|
|
500
|
+
/**
|
|
501
|
+
* Whether the embedded component is enabled.
|
|
502
|
+
*/
|
|
503
|
+
enabled: boolean;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* The list of features enabled in the embedded component.
|
|
507
|
+
*/
|
|
508
|
+
features?: TaxSettings.Features;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
namespace TaxSettings {
|
|
512
|
+
interface Features {}
|
|
513
|
+
}
|
|
309
514
|
}
|
|
310
515
|
}
|
|
311
516
|
|
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
|
*/
|
|
@@ -377,11 +379,26 @@ declare module 'stripe' {
|
|
|
377
379
|
*/
|
|
378
380
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
379
381
|
|
|
382
|
+
/**
|
|
383
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
384
|
+
*/
|
|
385
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
389
|
+
*/
|
|
390
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
391
|
+
|
|
380
392
|
/**
|
|
381
393
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
382
394
|
*/
|
|
383
395
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
384
396
|
|
|
397
|
+
/**
|
|
398
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
399
|
+
*/
|
|
400
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
401
|
+
|
|
385
402
|
/**
|
|
386
403
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
387
404
|
*/
|
|
@@ -515,8 +532,14 @@ declare module 'stripe' {
|
|
|
515
532
|
|
|
516
533
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
517
534
|
|
|
535
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
536
|
+
|
|
537
|
+
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
538
|
+
|
|
518
539
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
519
540
|
|
|
541
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
542
|
+
|
|
520
543
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
521
544
|
|
|
522
545
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -780,6 +803,10 @@ declare module 'stripe' {
|
|
|
780
803
|
}
|
|
781
804
|
|
|
782
805
|
interface Controller {
|
|
806
|
+
application?: Controller.Application;
|
|
807
|
+
|
|
808
|
+
dashboard?: Controller.Dashboard;
|
|
809
|
+
|
|
783
810
|
fees?: Controller.Fees;
|
|
784
811
|
|
|
785
812
|
/**
|
|
@@ -803,6 +830,34 @@ declare module 'stripe' {
|
|
|
803
830
|
}
|
|
804
831
|
|
|
805
832
|
namespace Controller {
|
|
833
|
+
interface Application {
|
|
834
|
+
/**
|
|
835
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
836
|
+
*/
|
|
837
|
+
loss_liable: boolean;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
841
|
+
*/
|
|
842
|
+
onboarding_owner: boolean;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
846
|
+
*/
|
|
847
|
+
pricing_controls: boolean;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
interface Dashboard {
|
|
851
|
+
/**
|
|
852
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
853
|
+
*/
|
|
854
|
+
type: Dashboard.Type;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
namespace Dashboard {
|
|
858
|
+
type Type = 'express' | 'full' | 'none';
|
|
859
|
+
}
|
|
860
|
+
|
|
806
861
|
interface Fees {
|
|
807
862
|
/**
|
|
808
863
|
* 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 +870,8 @@ declare module 'stripe' {
|
|
|
815
870
|
| 'account'
|
|
816
871
|
| 'application'
|
|
817
872
|
| 'application_custom'
|
|
818
|
-
| 'application_express'
|
|
873
|
+
| 'application_express'
|
|
874
|
+
| 'application_unified_accounts_beta';
|
|
819
875
|
}
|
|
820
876
|
|
|
821
877
|
interface Losses {
|
|
@@ -1177,6 +1233,28 @@ declare module 'stripe' {
|
|
|
1177
1233
|
}
|
|
1178
1234
|
}
|
|
1179
1235
|
|
|
1236
|
+
interface RiskControls {
|
|
1237
|
+
charges: RiskControls.Charges;
|
|
1238
|
+
|
|
1239
|
+
payouts: RiskControls.Payouts;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
namespace RiskControls {
|
|
1243
|
+
interface Charges {
|
|
1244
|
+
/**
|
|
1245
|
+
* Whether a pause of the risk control has been requested.
|
|
1246
|
+
*/
|
|
1247
|
+
pause_requested: boolean;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
interface Payouts {
|
|
1251
|
+
/**
|
|
1252
|
+
* Whether a pause of the risk control has been requested.
|
|
1253
|
+
*/
|
|
1254
|
+
pause_requested: boolean;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1180
1258
|
interface Settings {
|
|
1181
1259
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1182
1260
|
|
|
@@ -1196,6 +1274,8 @@ declare module 'stripe' {
|
|
|
1196
1274
|
|
|
1197
1275
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1198
1276
|
|
|
1277
|
+
tax_forms?: Settings.TaxForms;
|
|
1278
|
+
|
|
1199
1279
|
treasury?: Settings.Treasury;
|
|
1200
1280
|
}
|
|
1201
1281
|
|
|
@@ -1381,6 +1461,13 @@ declare module 'stripe' {
|
|
|
1381
1461
|
creditor_id?: string;
|
|
1382
1462
|
}
|
|
1383
1463
|
|
|
1464
|
+
interface TaxForms {
|
|
1465
|
+
/**
|
|
1466
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1467
|
+
*/
|
|
1468
|
+
consented_to_paperless_delivery: boolean;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1384
1471
|
interface Treasury {
|
|
1385
1472
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1386
1473
|
}
|