stripe 17.5.0-beta.2 → 17.5.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 +132 -996
- package/README.md +33 -1
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- 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.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- 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.js +0 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +5 -50
- package/types/AccountSessionsResource.d.ts +5 -360
- package/types/Accounts.d.ts +5 -194
- package/types/AccountsResource.d.ts +0 -520
- package/types/Billing/CreditBalanceTransactions.d.ts +20 -1
- package/types/Capabilities.d.ts +2 -2
- package/types/Cards.d.ts +14 -0
- package/types/Charges.d.ts +10 -136
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +25 -323
- package/types/Checkout/SessionsResource.d.ts +5 -445
- package/types/ConfirmationTokens.d.ts +7 -99
- 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 +42 -11
- package/types/Disputes.d.ts +22 -0
- package/types/DisputesResource.d.ts +12 -0
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- 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/Forwarding/Requests.d.ts +2 -1
- package/types/Forwarding/RequestsResource.d.ts +2 -1
- 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 +23 -139
- package/types/InvoicesResource.d.ts +1907 -5535
- package/types/Issuing/Authorizations.d.ts +5 -0
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +5 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -644
- package/types/PaymentIntentsResource.d.ts +3768 -8055
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +7 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- package/types/Payouts.d.ts +1 -1
- package/types/Persons.d.ts +2 -2
- 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/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +7 -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 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Tax/Calculations.d.ts +21 -2
- package/types/Tax/CalculationsResource.d.ts +21 -2
- package/types/Tax/Registrations.d.ts +189 -0
- package/types/Tax/RegistrationsResource.d.ts +252 -0
- package/types/Tax/Transactions.d.ts +21 -2
- package/types/TaxIds.d.ts +21 -2
- package/types/TaxIdsResource.d.ts +21 -2
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- 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/WebhookEndpointsResource.d.ts +2 -71
- package/types/index.d.ts +0 -62
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- 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/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- 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/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- 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 -113
- 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/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.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 -1160
- package/types/OrdersResource.d.ts +0 -2923
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -259
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1634
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/Accounts.d.ts
CHANGED
|
@@ -111,8 +111,6 @@ declare module 'stripe' {
|
|
|
111
111
|
|
|
112
112
|
requirements?: Account.Requirements;
|
|
113
113
|
|
|
114
|
-
risk_controls?: Account.RiskControls;
|
|
115
|
-
|
|
116
114
|
/**
|
|
117
115
|
* Options for customizing how the account functions within Stripe.
|
|
118
116
|
*/
|
|
@@ -131,12 +129,12 @@ declare module 'stripe' {
|
|
|
131
129
|
/**
|
|
132
130
|
* The applicant's gross annual revenue for its preceding fiscal year.
|
|
133
131
|
*/
|
|
134
|
-
annual_revenue
|
|
132
|
+
annual_revenue?: BusinessProfile.AnnualRevenue | null;
|
|
135
133
|
|
|
136
134
|
/**
|
|
137
135
|
* An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
|
|
138
136
|
*/
|
|
139
|
-
estimated_worker_count
|
|
137
|
+
estimated_worker_count?: number | null;
|
|
140
138
|
|
|
141
139
|
/**
|
|
142
140
|
* [The merchant category code for the account](https://stripe.com/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
|
@@ -249,11 +247,6 @@ declare module 'stripe' {
|
|
|
249
247
|
*/
|
|
250
248
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
251
249
|
|
|
252
|
-
/**
|
|
253
|
-
* The status of the automatic_indirect_tax capability of the account.
|
|
254
|
-
*/
|
|
255
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
256
|
-
|
|
257
250
|
/**
|
|
258
251
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
259
252
|
*/
|
|
@@ -319,26 +312,11 @@ declare module 'stripe' {
|
|
|
319
312
|
*/
|
|
320
313
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
321
314
|
|
|
322
|
-
/**
|
|
323
|
-
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
324
|
-
*/
|
|
325
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
326
|
-
|
|
327
315
|
/**
|
|
328
316
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
329
317
|
*/
|
|
330
318
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
331
319
|
|
|
332
|
-
/**
|
|
333
|
-
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
334
|
-
*/
|
|
335
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* The status of Bank BCA onboarding of the account.
|
|
339
|
-
*/
|
|
340
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
341
|
-
|
|
342
320
|
/**
|
|
343
321
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
344
322
|
*/
|
|
@@ -389,11 +367,6 @@ declare module 'stripe' {
|
|
|
389
367
|
*/
|
|
390
368
|
link_payments?: Capabilities.LinkPayments;
|
|
391
369
|
|
|
392
|
-
/**
|
|
393
|
-
* The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
|
394
|
-
*/
|
|
395
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
396
|
-
|
|
397
370
|
/**
|
|
398
371
|
* The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
|
399
372
|
*/
|
|
@@ -434,31 +407,11 @@ declare module 'stripe' {
|
|
|
434
407
|
*/
|
|
435
408
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
436
409
|
|
|
437
|
-
/**
|
|
438
|
-
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
439
|
-
*/
|
|
440
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
444
|
-
*/
|
|
445
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
446
|
-
|
|
447
410
|
/**
|
|
448
411
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
449
412
|
*/
|
|
450
413
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
451
414
|
|
|
452
|
-
/**
|
|
453
|
-
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
454
|
-
*/
|
|
455
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
459
|
-
*/
|
|
460
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
461
|
-
|
|
462
415
|
/**
|
|
463
416
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
464
417
|
*/
|
|
@@ -479,11 +432,6 @@ declare module 'stripe' {
|
|
|
479
432
|
*/
|
|
480
433
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
481
434
|
|
|
482
|
-
/**
|
|
483
|
-
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
484
|
-
*/
|
|
485
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
486
|
-
|
|
487
435
|
/**
|
|
488
436
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
489
437
|
*/
|
|
@@ -514,21 +462,6 @@ declare module 'stripe' {
|
|
|
514
462
|
*/
|
|
515
463
|
treasury?: Capabilities.Treasury;
|
|
516
464
|
|
|
517
|
-
/**
|
|
518
|
-
* The status of the treasury_evolve capability of the account.
|
|
519
|
-
*/
|
|
520
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* The status of the treasury_fifth_third capability of the account.
|
|
524
|
-
*/
|
|
525
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* The status of the treasury_goldman_sachs capability of the account.
|
|
529
|
-
*/
|
|
530
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
531
|
-
|
|
532
465
|
/**
|
|
533
466
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
534
467
|
*/
|
|
@@ -563,8 +496,6 @@ declare module 'stripe' {
|
|
|
563
496
|
|
|
564
497
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
565
498
|
|
|
566
|
-
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
567
|
-
|
|
568
499
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
569
500
|
|
|
570
501
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -591,14 +522,8 @@ declare module 'stripe' {
|
|
|
591
522
|
|
|
592
523
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
593
524
|
|
|
594
|
-
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
595
|
-
|
|
596
525
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
597
526
|
|
|
598
|
-
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
599
|
-
|
|
600
|
-
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
601
|
-
|
|
602
527
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
603
528
|
|
|
604
529
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -619,8 +544,6 @@ declare module 'stripe' {
|
|
|
619
544
|
|
|
620
545
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
621
546
|
|
|
622
|
-
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
623
|
-
|
|
624
547
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
625
548
|
|
|
626
549
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -637,16 +560,8 @@ declare module 'stripe' {
|
|
|
637
560
|
|
|
638
561
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
639
562
|
|
|
640
|
-
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
641
|
-
|
|
642
|
-
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
643
|
-
|
|
644
563
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
645
564
|
|
|
646
|
-
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
647
|
-
|
|
648
|
-
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
649
|
-
|
|
650
565
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
651
566
|
|
|
652
567
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -655,8 +570,6 @@ declare module 'stripe' {
|
|
|
655
570
|
|
|
656
571
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
657
572
|
|
|
658
|
-
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
659
|
-
|
|
660
573
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
661
574
|
|
|
662
575
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -669,12 +582,6 @@ declare module 'stripe' {
|
|
|
669
582
|
|
|
670
583
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
671
584
|
|
|
672
|
-
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
673
|
-
|
|
674
|
-
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
675
|
-
|
|
676
|
-
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
677
|
-
|
|
678
585
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
679
586
|
|
|
680
587
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -920,10 +827,6 @@ declare module 'stripe' {
|
|
|
920
827
|
}
|
|
921
828
|
|
|
922
829
|
interface Controller {
|
|
923
|
-
application?: Controller.Application;
|
|
924
|
-
|
|
925
|
-
dashboard?: Controller.Dashboard;
|
|
926
|
-
|
|
927
830
|
fees?: Controller.Fees;
|
|
928
831
|
|
|
929
832
|
/**
|
|
@@ -947,34 +850,6 @@ declare module 'stripe' {
|
|
|
947
850
|
}
|
|
948
851
|
|
|
949
852
|
namespace Controller {
|
|
950
|
-
interface Application {
|
|
951
|
-
/**
|
|
952
|
-
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
953
|
-
*/
|
|
954
|
-
loss_liable: boolean;
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* `true` if the Connect application is responsible for onboarding the account.
|
|
958
|
-
*/
|
|
959
|
-
onboarding_owner: boolean;
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
963
|
-
*/
|
|
964
|
-
pricing_controls: boolean;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
interface Dashboard {
|
|
968
|
-
/**
|
|
969
|
-
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
970
|
-
*/
|
|
971
|
-
type: Dashboard.Type;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
namespace Dashboard {
|
|
975
|
-
type Type = 'express' | 'full' | 'none';
|
|
976
|
-
}
|
|
977
|
-
|
|
978
853
|
interface Fees {
|
|
979
854
|
/**
|
|
980
855
|
* 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).
|
|
@@ -987,8 +862,7 @@ declare module 'stripe' {
|
|
|
987
862
|
| 'account'
|
|
988
863
|
| 'application'
|
|
989
864
|
| 'application_custom'
|
|
990
|
-
| 'application_express'
|
|
991
|
-
| 'application_unified_accounts_beta';
|
|
865
|
+
| 'application_express';
|
|
992
866
|
}
|
|
993
867
|
|
|
994
868
|
interface Losses {
|
|
@@ -1045,7 +919,7 @@ declare module 'stripe' {
|
|
|
1045
919
|
errors: Array<FutureRequirements.Error> | null;
|
|
1046
920
|
|
|
1047
921
|
/**
|
|
1048
|
-
* Fields
|
|
922
|
+
* Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
|
|
1049
923
|
*/
|
|
1050
924
|
eventually_due: Array<string> | null;
|
|
1051
925
|
|
|
@@ -1236,7 +1110,7 @@ declare module 'stripe' {
|
|
|
1236
1110
|
errors: Array<Requirements.Error> | null;
|
|
1237
1111
|
|
|
1238
1112
|
/**
|
|
1239
|
-
* Fields
|
|
1113
|
+
* Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
|
|
1240
1114
|
*/
|
|
1241
1115
|
eventually_due: Array<string> | null;
|
|
1242
1116
|
|
|
@@ -1393,37 +1267,11 @@ declare module 'stripe' {
|
|
|
1393
1267
|
}
|
|
1394
1268
|
}
|
|
1395
1269
|
|
|
1396
|
-
interface RiskControls {
|
|
1397
|
-
charges: RiskControls.Charges;
|
|
1398
|
-
|
|
1399
|
-
payouts: RiskControls.Payouts;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
namespace RiskControls {
|
|
1403
|
-
interface Charges {
|
|
1404
|
-
/**
|
|
1405
|
-
* Whether a pause of the risk control has been requested.
|
|
1406
|
-
*/
|
|
1407
|
-
pause_requested: boolean;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
interface Payouts {
|
|
1411
|
-
/**
|
|
1412
|
-
* Whether a pause of the risk control has been requested.
|
|
1413
|
-
*/
|
|
1414
|
-
pause_requested: boolean;
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
1270
|
interface Settings {
|
|
1419
1271
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1420
1272
|
|
|
1421
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1422
|
-
|
|
1423
1273
|
branding: Settings.Branding;
|
|
1424
1274
|
|
|
1425
|
-
capital?: Settings.Capital;
|
|
1426
|
-
|
|
1427
1275
|
card_issuing?: Settings.CardIssuing;
|
|
1428
1276
|
|
|
1429
1277
|
card_payments: Settings.CardPayments;
|
|
@@ -1438,8 +1286,6 @@ declare module 'stripe' {
|
|
|
1438
1286
|
|
|
1439
1287
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1440
1288
|
|
|
1441
|
-
tax_forms?: Settings.TaxForms;
|
|
1442
|
-
|
|
1443
1289
|
treasury?: Settings.Treasury;
|
|
1444
1290
|
}
|
|
1445
1291
|
|
|
@@ -1456,18 +1302,6 @@ declare module 'stripe' {
|
|
|
1456
1302
|
service_user_number: string | null;
|
|
1457
1303
|
}
|
|
1458
1304
|
|
|
1459
|
-
interface BankBcaOnboarding {
|
|
1460
|
-
/**
|
|
1461
|
-
* Bank BCA business account holder name.
|
|
1462
|
-
*/
|
|
1463
|
-
account_holder_name?: string;
|
|
1464
|
-
|
|
1465
|
-
/**
|
|
1466
|
-
* Bank BCA business account number.
|
|
1467
|
-
*/
|
|
1468
|
-
business_account_number?: string;
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
1305
|
interface Branding {
|
|
1472
1306
|
/**
|
|
1473
1307
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -1490,22 +1324,6 @@ declare module 'stripe' {
|
|
|
1490
1324
|
secondary_color: string | null;
|
|
1491
1325
|
}
|
|
1492
1326
|
|
|
1493
|
-
interface Capital {
|
|
1494
|
-
/**
|
|
1495
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1496
|
-
*/
|
|
1497
|
-
payout_destination?: {
|
|
1498
|
-
[key: string]: string;
|
|
1499
|
-
};
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1503
|
-
*/
|
|
1504
|
-
payout_destination_selector?: {
|
|
1505
|
-
[key: string]: Array<string>;
|
|
1506
|
-
};
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
1327
|
interface CardIssuing {
|
|
1510
1328
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1511
1329
|
}
|
|
@@ -1653,13 +1471,6 @@ declare module 'stripe' {
|
|
|
1653
1471
|
creditor_id?: string;
|
|
1654
1472
|
}
|
|
1655
1473
|
|
|
1656
|
-
interface TaxForms {
|
|
1657
|
-
/**
|
|
1658
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1659
|
-
*/
|
|
1660
|
-
consented_to_paperless_delivery: boolean;
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
1474
|
interface Treasury {
|
|
1664
1475
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1665
1476
|
}
|