stripe 17.2.0-beta.1 → 17.2.0
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 +115 -873
- package/README.md +7 -6
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/V2/Core/Events.js +50 -7
- package/cjs/resources.js +10 -42
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/V2/Core/Events.js +50 -7
- package/esm/resources.js +0 -29
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -309
- package/types/Accounts.d.ts +1 -113
- package/types/AccountsResource.d.ts +0 -270
- package/types/Charges.d.ts +0 -71
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -296
- package/types/Checkout/SessionsResource.d.ts +5 -351
- package/types/ConfirmationTokens.d.ts +0 -67
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -3
- package/types/Disputes.d.ts +0 -152
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -545
- package/types/Events.d.ts +0 -90
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -123
- package/types/InvoicesResource.d.ts +1835 -5493
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -503
- package/types/PaymentIntentsResource.d.ts +3464 -7064
- package/types/PaymentLinks.d.ts +0 -3
- package/types/PaymentLinksResource.d.ts +0 -6
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -67
- package/types/PaymentMethodsResource.d.ts +0 -88
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/SetupAttempts.d.ts +0 -10
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -522
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +3 -1
- package/types/WebhookEndpointsResource.d.ts +0 -64
- package/types/index.d.ts +0 -53
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1084
- package/types/OrdersResource.d.ts +0 -2765
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1586
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/Accounts.d.ts
CHANGED
|
@@ -106,8 +106,6 @@ declare module 'stripe' {
|
|
|
106
106
|
|
|
107
107
|
requirements?: Account.Requirements;
|
|
108
108
|
|
|
109
|
-
risk_controls?: Account.RiskControls;
|
|
110
|
-
|
|
111
109
|
/**
|
|
112
110
|
* Options for customizing how the account functions within Stripe.
|
|
113
111
|
*/
|
|
@@ -349,11 +347,6 @@ declare module 'stripe' {
|
|
|
349
347
|
*/
|
|
350
348
|
link_payments?: Capabilities.LinkPayments;
|
|
351
349
|
|
|
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
|
-
|
|
357
350
|
/**
|
|
358
351
|
* The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
|
359
352
|
*/
|
|
@@ -384,26 +377,11 @@ declare module 'stripe' {
|
|
|
384
377
|
*/
|
|
385
378
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
386
379
|
|
|
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
|
-
|
|
397
380
|
/**
|
|
398
381
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
399
382
|
*/
|
|
400
383
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
401
384
|
|
|
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
|
-
|
|
407
385
|
/**
|
|
408
386
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
409
387
|
*/
|
|
@@ -525,8 +503,6 @@ declare module 'stripe' {
|
|
|
525
503
|
|
|
526
504
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
527
505
|
|
|
528
|
-
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
529
|
-
|
|
530
506
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
531
507
|
|
|
532
508
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -539,14 +515,8 @@ declare module 'stripe' {
|
|
|
539
515
|
|
|
540
516
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
541
517
|
|
|
542
|
-
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
543
|
-
|
|
544
|
-
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
545
|
-
|
|
546
518
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
547
519
|
|
|
548
|
-
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
549
|
-
|
|
550
520
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
551
521
|
|
|
552
522
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -810,10 +780,6 @@ declare module 'stripe' {
|
|
|
810
780
|
}
|
|
811
781
|
|
|
812
782
|
interface Controller {
|
|
813
|
-
application?: Controller.Application;
|
|
814
|
-
|
|
815
|
-
dashboard?: Controller.Dashboard;
|
|
816
|
-
|
|
817
783
|
fees?: Controller.Fees;
|
|
818
784
|
|
|
819
785
|
/**
|
|
@@ -837,34 +803,6 @@ declare module 'stripe' {
|
|
|
837
803
|
}
|
|
838
804
|
|
|
839
805
|
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
|
-
|
|
868
806
|
interface Fees {
|
|
869
807
|
/**
|
|
870
808
|
* 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).
|
|
@@ -877,8 +815,7 @@ declare module 'stripe' {
|
|
|
877
815
|
| 'account'
|
|
878
816
|
| 'application'
|
|
879
817
|
| 'application_custom'
|
|
880
|
-
| 'application_express'
|
|
881
|
-
| 'application_unified_accounts_beta';
|
|
818
|
+
| 'application_express';
|
|
882
819
|
}
|
|
883
820
|
|
|
884
821
|
interface Losses {
|
|
@@ -1242,35 +1179,11 @@ declare module 'stripe' {
|
|
|
1242
1179
|
}
|
|
1243
1180
|
}
|
|
1244
1181
|
|
|
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
|
-
|
|
1267
1182
|
interface Settings {
|
|
1268
1183
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1269
1184
|
|
|
1270
1185
|
branding: Settings.Branding;
|
|
1271
1186
|
|
|
1272
|
-
capital?: Settings.Capital;
|
|
1273
|
-
|
|
1274
1187
|
card_issuing?: Settings.CardIssuing;
|
|
1275
1188
|
|
|
1276
1189
|
card_payments: Settings.CardPayments;
|
|
@@ -1285,8 +1198,6 @@ declare module 'stripe' {
|
|
|
1285
1198
|
|
|
1286
1199
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1287
1200
|
|
|
1288
|
-
tax_forms?: Settings.TaxForms;
|
|
1289
|
-
|
|
1290
1201
|
treasury?: Settings.Treasury;
|
|
1291
1202
|
}
|
|
1292
1203
|
|
|
@@ -1325,22 +1236,6 @@ declare module 'stripe' {
|
|
|
1325
1236
|
secondary_color: string | null;
|
|
1326
1237
|
}
|
|
1327
1238
|
|
|
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
|
-
|
|
1344
1239
|
interface CardIssuing {
|
|
1345
1240
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1346
1241
|
}
|
|
@@ -1488,13 +1383,6 @@ declare module 'stripe' {
|
|
|
1488
1383
|
creditor_id?: string;
|
|
1489
1384
|
}
|
|
1490
1385
|
|
|
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
|
-
|
|
1498
1386
|
interface Treasury {
|
|
1499
1387
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1500
1388
|
}
|
|
@@ -82,11 +82,6 @@ declare module 'stripe' {
|
|
|
82
82
|
*/
|
|
83
83
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
87
|
-
*/
|
|
88
|
-
risk_controls?: AccountCreateParams.RiskControls;
|
|
89
|
-
|
|
90
85
|
/**
|
|
91
86
|
* Options for customizing how the account functions within Stripe.
|
|
92
87
|
*/
|
|
@@ -334,11 +329,6 @@ declare module 'stripe' {
|
|
|
334
329
|
*/
|
|
335
330
|
link_payments?: Capabilities.LinkPayments;
|
|
336
331
|
|
|
337
|
-
/**
|
|
338
|
-
* The mb_way_payments capability.
|
|
339
|
-
*/
|
|
340
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
341
|
-
|
|
342
332
|
/**
|
|
343
333
|
* The mobilepay_payments capability.
|
|
344
334
|
*/
|
|
@@ -369,26 +359,11 @@ declare module 'stripe' {
|
|
|
369
359
|
*/
|
|
370
360
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
371
361
|
|
|
372
|
-
/**
|
|
373
|
-
* The paypal_payments capability.
|
|
374
|
-
*/
|
|
375
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* The payto_payments capability.
|
|
379
|
-
*/
|
|
380
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
381
|
-
|
|
382
362
|
/**
|
|
383
363
|
* The promptpay_payments capability.
|
|
384
364
|
*/
|
|
385
365
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
386
366
|
|
|
387
|
-
/**
|
|
388
|
-
* The rechnung_payments capability.
|
|
389
|
-
*/
|
|
390
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
391
|
-
|
|
392
367
|
/**
|
|
393
368
|
* The revolut_pay_payments capability.
|
|
394
369
|
*/
|
|
@@ -645,13 +620,6 @@ declare module 'stripe' {
|
|
|
645
620
|
requested?: boolean;
|
|
646
621
|
}
|
|
647
622
|
|
|
648
|
-
interface MbWayPayments {
|
|
649
|
-
/**
|
|
650
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
651
|
-
*/
|
|
652
|
-
requested?: boolean;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
623
|
interface MobilepayPayments {
|
|
656
624
|
/**
|
|
657
625
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -694,20 +662,6 @@ declare module 'stripe' {
|
|
|
694
662
|
requested?: boolean;
|
|
695
663
|
}
|
|
696
664
|
|
|
697
|
-
interface PaypalPayments {
|
|
698
|
-
/**
|
|
699
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
700
|
-
*/
|
|
701
|
-
requested?: boolean;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
interface PaytoPayments {
|
|
705
|
-
/**
|
|
706
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
707
|
-
*/
|
|
708
|
-
requested?: boolean;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
665
|
interface PromptpayPayments {
|
|
712
666
|
/**
|
|
713
667
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -715,13 +669,6 @@ declare module 'stripe' {
|
|
|
715
669
|
requested?: boolean;
|
|
716
670
|
}
|
|
717
671
|
|
|
718
|
-
interface RechnungPayments {
|
|
719
|
-
/**
|
|
720
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
721
|
-
*/
|
|
722
|
-
requested?: boolean;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
672
|
interface RevolutPayPayments {
|
|
726
673
|
/**
|
|
727
674
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -977,16 +924,6 @@ declare module 'stripe' {
|
|
|
977
924
|
}
|
|
978
925
|
|
|
979
926
|
interface Controller {
|
|
980
|
-
/**
|
|
981
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
982
|
-
*/
|
|
983
|
-
application?: Controller.Application;
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* Properties of the account's dashboard.
|
|
987
|
-
*/
|
|
988
|
-
dashboard?: Controller.Dashboard;
|
|
989
|
-
|
|
990
927
|
/**
|
|
991
928
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
992
929
|
*/
|
|
@@ -1009,34 +946,6 @@ declare module 'stripe' {
|
|
|
1009
946
|
}
|
|
1010
947
|
|
|
1011
948
|
namespace Controller {
|
|
1012
|
-
interface Application {
|
|
1013
|
-
/**
|
|
1014
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1015
|
-
*/
|
|
1016
|
-
loss_liable: boolean;
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Whether the controller owns onboarding for this account.
|
|
1020
|
-
*/
|
|
1021
|
-
onboarding_owner?: boolean;
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Whether the controller has pricing controls for this account.
|
|
1025
|
-
*/
|
|
1026
|
-
pricing_controls?: boolean;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
interface Dashboard {
|
|
1030
|
-
/**
|
|
1031
|
-
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1032
|
-
*/
|
|
1033
|
-
type?: Dashboard.Type;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
namespace Dashboard {
|
|
1037
|
-
type Type = 'express' | 'full' | 'none';
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
949
|
interface Fees {
|
|
1041
950
|
/**
|
|
1042
951
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1401,36 +1310,6 @@ declare module 'stripe' {
|
|
|
1401
1310
|
}
|
|
1402
1311
|
}
|
|
1403
1312
|
|
|
1404
|
-
interface RiskControls {
|
|
1405
|
-
/**
|
|
1406
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1407
|
-
*/
|
|
1408
|
-
charges?: RiskControls.Charges;
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1412
|
-
*/
|
|
1413
|
-
payouts?: RiskControls.Payouts;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
namespace RiskControls {
|
|
1417
|
-
interface Charges {
|
|
1418
|
-
/**
|
|
1419
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1420
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1421
|
-
*/
|
|
1422
|
-
pause_requested?: boolean;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
interface Payouts {
|
|
1426
|
-
/**
|
|
1427
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1428
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1429
|
-
*/
|
|
1430
|
-
pause_requested?: boolean;
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
1313
|
interface Settings {
|
|
1435
1314
|
/**
|
|
1436
1315
|
* Settings specific to Bacs Direct Debit.
|
|
@@ -1442,11 +1321,6 @@ declare module 'stripe' {
|
|
|
1442
1321
|
*/
|
|
1443
1322
|
branding?: Settings.Branding;
|
|
1444
1323
|
|
|
1445
|
-
/**
|
|
1446
|
-
* Settings specific to the account's use of the Capital product.
|
|
1447
|
-
*/
|
|
1448
|
-
capital?: Settings.Capital;
|
|
1449
|
-
|
|
1450
1324
|
/**
|
|
1451
1325
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1452
1326
|
*/
|
|
@@ -1467,11 +1341,6 @@ declare module 'stripe' {
|
|
|
1467
1341
|
*/
|
|
1468
1342
|
payouts?: Settings.Payouts;
|
|
1469
1343
|
|
|
1470
|
-
/**
|
|
1471
|
-
* Settings specific to the account's tax forms.
|
|
1472
|
-
*/
|
|
1473
|
-
tax_forms?: Settings.TaxForms;
|
|
1474
|
-
|
|
1475
1344
|
/**
|
|
1476
1345
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1477
1346
|
*/
|
|
@@ -1508,22 +1377,6 @@ declare module 'stripe' {
|
|
|
1508
1377
|
secondary_color?: string;
|
|
1509
1378
|
}
|
|
1510
1379
|
|
|
1511
|
-
interface Capital {
|
|
1512
|
-
/**
|
|
1513
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1514
|
-
*/
|
|
1515
|
-
payout_destination?: {
|
|
1516
|
-
[key: string]: string;
|
|
1517
|
-
};
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1521
|
-
*/
|
|
1522
|
-
payout_destination_selector?: {
|
|
1523
|
-
[key: string]: Array<string>;
|
|
1524
|
-
};
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
1380
|
interface CardIssuing {
|
|
1528
1381
|
/**
|
|
1529
1382
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1657,13 +1510,6 @@ declare module 'stripe' {
|
|
|
1657
1510
|
}
|
|
1658
1511
|
}
|
|
1659
1512
|
|
|
1660
|
-
interface TaxForms {
|
|
1661
|
-
/**
|
|
1662
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1663
|
-
*/
|
|
1664
|
-
consented_to_paperless_delivery?: boolean;
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
1513
|
interface Treasury {
|
|
1668
1514
|
/**
|
|
1669
1515
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1798,11 +1644,6 @@ declare module 'stripe' {
|
|
|
1798
1644
|
*/
|
|
1799
1645
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1800
1646
|
|
|
1801
|
-
/**
|
|
1802
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1803
|
-
*/
|
|
1804
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
1805
|
-
|
|
1806
1647
|
/**
|
|
1807
1648
|
* Options for customizing how the account functions within Stripe.
|
|
1808
1649
|
*/
|
|
@@ -2083,11 +1924,6 @@ declare module 'stripe' {
|
|
|
2083
1924
|
*/
|
|
2084
1925
|
link_payments?: Capabilities.LinkPayments;
|
|
2085
1926
|
|
|
2086
|
-
/**
|
|
2087
|
-
* The mb_way_payments capability.
|
|
2088
|
-
*/
|
|
2089
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2090
|
-
|
|
2091
1927
|
/**
|
|
2092
1928
|
* The mobilepay_payments capability.
|
|
2093
1929
|
*/
|
|
@@ -2118,26 +1954,11 @@ declare module 'stripe' {
|
|
|
2118
1954
|
*/
|
|
2119
1955
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2120
1956
|
|
|
2121
|
-
/**
|
|
2122
|
-
* The paypal_payments capability.
|
|
2123
|
-
*/
|
|
2124
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2125
|
-
|
|
2126
|
-
/**
|
|
2127
|
-
* The payto_payments capability.
|
|
2128
|
-
*/
|
|
2129
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
2130
|
-
|
|
2131
1957
|
/**
|
|
2132
1958
|
* The promptpay_payments capability.
|
|
2133
1959
|
*/
|
|
2134
1960
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2135
1961
|
|
|
2136
|
-
/**
|
|
2137
|
-
* The rechnung_payments capability.
|
|
2138
|
-
*/
|
|
2139
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2140
|
-
|
|
2141
1962
|
/**
|
|
2142
1963
|
* The revolut_pay_payments capability.
|
|
2143
1964
|
*/
|
|
@@ -2394,13 +2215,6 @@ declare module 'stripe' {
|
|
|
2394
2215
|
requested?: boolean;
|
|
2395
2216
|
}
|
|
2396
2217
|
|
|
2397
|
-
interface MbWayPayments {
|
|
2398
|
-
/**
|
|
2399
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2400
|
-
*/
|
|
2401
|
-
requested?: boolean;
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
2218
|
interface MobilepayPayments {
|
|
2405
2219
|
/**
|
|
2406
2220
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2443,20 +2257,6 @@ declare module 'stripe' {
|
|
|
2443
2257
|
requested?: boolean;
|
|
2444
2258
|
}
|
|
2445
2259
|
|
|
2446
|
-
interface PaypalPayments {
|
|
2447
|
-
/**
|
|
2448
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2449
|
-
*/
|
|
2450
|
-
requested?: boolean;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
interface PaytoPayments {
|
|
2454
|
-
/**
|
|
2455
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2456
|
-
*/
|
|
2457
|
-
requested?: boolean;
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
2260
|
interface PromptpayPayments {
|
|
2461
2261
|
/**
|
|
2462
2262
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2464,13 +2264,6 @@ declare module 'stripe' {
|
|
|
2464
2264
|
requested?: boolean;
|
|
2465
2265
|
}
|
|
2466
2266
|
|
|
2467
|
-
interface RechnungPayments {
|
|
2468
|
-
/**
|
|
2469
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2470
|
-
*/
|
|
2471
|
-
requested?: boolean;
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
2267
|
interface RevolutPayPayments {
|
|
2475
2268
|
/**
|
|
2476
2269
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3059,36 +2852,6 @@ declare module 'stripe' {
|
|
|
3059
2852
|
}
|
|
3060
2853
|
}
|
|
3061
2854
|
|
|
3062
|
-
interface RiskControls {
|
|
3063
|
-
/**
|
|
3064
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3065
|
-
*/
|
|
3066
|
-
charges?: RiskControls.Charges;
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3070
|
-
*/
|
|
3071
|
-
payouts?: RiskControls.Payouts;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
namespace RiskControls {
|
|
3075
|
-
interface Charges {
|
|
3076
|
-
/**
|
|
3077
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3078
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3079
|
-
*/
|
|
3080
|
-
pause_requested?: boolean;
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
interface Payouts {
|
|
3084
|
-
/**
|
|
3085
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3086
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3087
|
-
*/
|
|
3088
|
-
pause_requested?: boolean;
|
|
3089
|
-
}
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
2855
|
interface Settings {
|
|
3093
2856
|
/**
|
|
3094
2857
|
* Settings specific to Bacs Direct Debit payments.
|
|
@@ -3100,11 +2863,6 @@ declare module 'stripe' {
|
|
|
3100
2863
|
*/
|
|
3101
2864
|
branding?: Settings.Branding;
|
|
3102
2865
|
|
|
3103
|
-
/**
|
|
3104
|
-
* Settings specific to the account's use of the Capital product.
|
|
3105
|
-
*/
|
|
3106
|
-
capital?: Settings.Capital;
|
|
3107
|
-
|
|
3108
2866
|
/**
|
|
3109
2867
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3110
2868
|
*/
|
|
@@ -3130,11 +2888,6 @@ declare module 'stripe' {
|
|
|
3130
2888
|
*/
|
|
3131
2889
|
payouts?: Settings.Payouts;
|
|
3132
2890
|
|
|
3133
|
-
/**
|
|
3134
|
-
* Settings specific to the account's tax forms.
|
|
3135
|
-
*/
|
|
3136
|
-
tax_forms?: Settings.TaxForms;
|
|
3137
|
-
|
|
3138
2891
|
/**
|
|
3139
2892
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3140
2893
|
*/
|
|
@@ -3171,22 +2924,6 @@ declare module 'stripe' {
|
|
|
3171
2924
|
secondary_color?: string;
|
|
3172
2925
|
}
|
|
3173
2926
|
|
|
3174
|
-
interface Capital {
|
|
3175
|
-
/**
|
|
3176
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3177
|
-
*/
|
|
3178
|
-
payout_destination?: {
|
|
3179
|
-
[key: string]: string;
|
|
3180
|
-
};
|
|
3181
|
-
|
|
3182
|
-
/**
|
|
3183
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3184
|
-
*/
|
|
3185
|
-
payout_destination_selector?: {
|
|
3186
|
-
[key: string]: Array<string>;
|
|
3187
|
-
};
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
2927
|
interface CardIssuing {
|
|
3191
2928
|
/**
|
|
3192
2929
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3327,13 +3064,6 @@ declare module 'stripe' {
|
|
|
3327
3064
|
}
|
|
3328
3065
|
}
|
|
3329
3066
|
|
|
3330
|
-
interface TaxForms {
|
|
3331
|
-
/**
|
|
3332
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3333
|
-
*/
|
|
3334
|
-
consented_to_paperless_delivery?: boolean;
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
3067
|
interface Treasury {
|
|
3338
3068
|
/**
|
|
3339
3069
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|