stripe 17.2.0 → 17.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +926 -109
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/Webhooks.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/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/cjs/resources.js +42 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/Webhooks.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/esm/resources.js +29 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +75 -5
- package/types/AccountSessionsResource.d.ts +354 -5
- package/types/Accounts.d.ts +211 -3
- package/types/AccountsResource.d.ts +584 -2
- package/types/Billing/CreditBalanceSummary.d.ts +4 -4
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
- package/types/Billing/CreditGrants.d.ts +11 -8
- package/types/Billing/CreditGrantsResource.d.ts +6 -6
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/BillingPortal/Configurations.d.ts +22 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +56 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +168 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +360 -5
- package/types/ConfirmationTokens.d.ts +157 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +24 -0
- package/types/CreditNotesResource.d.ts +54 -3
- package/types/CustomersResource.d.ts +27 -3
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +564 -2
- package/types/Events.d.ts +91 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/Forwarding/Requests.d.ts +5 -0
- package/types/Forwarding/RequestsResource.d.ts +5 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +31 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +139 -3
- package/types/InvoicesResource.d.ts +5488 -1799
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CardsResource.d.ts +1 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +85 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +697 -1
- package/types/PaymentIntentsResource.d.ts +7977 -3377
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +102 -2
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +157 -0
- package/types/PaymentMethodsResource.d.ts +195 -1
- package/types/Persons.d.ts +1 -1
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1601 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +4 -0
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +768 -6
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +87 -1
- package/types/SubscriptionsResource.d.ts +359 -4
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +33 -1
- package/types/Tax/CalculationsResource.d.ts +7 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Registrations.d.ts +82 -0
- package/types/Tax/RegistrationsResource.d.ts +109 -0
- package/types/Tax/Transactions.d.ts +8 -1
- package/types/TaxIds.d.ts +7 -1
- package/types/TaxIdsResource.d.ts +7 -1
- package/types/TaxRates.d.ts +25 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +145 -1
- package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +2 -2
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/UsageRecordSummaries.d.ts +1 -1
- package/types/V2/Billing/MeterEventAdjustments.d.ts +1 -1
- package/types/V2/Billing/MeterEventSessions.d.ts +1 -1
- package/types/V2/Billing/MeterEvents.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +66 -0
- package/types/index.d.ts +53 -0
package/types/Accounts.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ declare module 'stripe' {
|
|
|
40
40
|
capabilities?: Account.Capabilities;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Whether the account can
|
|
43
|
+
* Whether the account can process charges.
|
|
44
44
|
*/
|
|
45
45
|
charges_enabled: boolean;
|
|
46
46
|
|
|
@@ -85,6 +85,11 @@ declare module 'stripe' {
|
|
|
85
85
|
|
|
86
86
|
future_requirements?: Account.FutureRequirements;
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* The groups associated with the account.
|
|
90
|
+
*/
|
|
91
|
+
groups?: Account.Groups | null;
|
|
92
|
+
|
|
88
93
|
/**
|
|
89
94
|
* This is an object representing a person associated with a Stripe account.
|
|
90
95
|
*
|
|
@@ -100,12 +105,14 @@ declare module 'stripe' {
|
|
|
100
105
|
metadata?: Stripe.Metadata;
|
|
101
106
|
|
|
102
107
|
/**
|
|
103
|
-
* Whether
|
|
108
|
+
* Whether the funds in this account can be paid out.
|
|
104
109
|
*/
|
|
105
110
|
payouts_enabled: boolean;
|
|
106
111
|
|
|
107
112
|
requirements?: Account.Requirements;
|
|
108
113
|
|
|
114
|
+
risk_controls?: Account.RiskControls;
|
|
115
|
+
|
|
109
116
|
/**
|
|
110
117
|
* Options for customizing how the account functions within Stripe.
|
|
111
118
|
*/
|
|
@@ -227,6 +234,11 @@ declare module 'stripe' {
|
|
|
227
234
|
*/
|
|
228
235
|
afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments;
|
|
229
236
|
|
|
237
|
+
/**
|
|
238
|
+
* The status of the Alma capability of the account, or whether the account can directly process Alma payments.
|
|
239
|
+
*/
|
|
240
|
+
alma_payments?: Capabilities.AlmaPayments;
|
|
241
|
+
|
|
230
242
|
/**
|
|
231
243
|
* The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.
|
|
232
244
|
*/
|
|
@@ -302,6 +314,11 @@ declare module 'stripe' {
|
|
|
302
314
|
*/
|
|
303
315
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
304
316
|
|
|
317
|
+
/**
|
|
318
|
+
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
319
|
+
*/
|
|
320
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
321
|
+
|
|
305
322
|
/**
|
|
306
323
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
307
324
|
*/
|
|
@@ -327,6 +344,11 @@ declare module 'stripe' {
|
|
|
327
344
|
*/
|
|
328
345
|
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;
|
|
329
346
|
|
|
347
|
+
/**
|
|
348
|
+
* The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.
|
|
349
|
+
*/
|
|
350
|
+
kakao_pay_payments?: Capabilities.KakaoPayPayments;
|
|
351
|
+
|
|
330
352
|
/**
|
|
331
353
|
* The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
|
|
332
354
|
*/
|
|
@@ -337,6 +359,11 @@ declare module 'stripe' {
|
|
|
337
359
|
*/
|
|
338
360
|
konbini_payments?: Capabilities.KonbiniPayments;
|
|
339
361
|
|
|
362
|
+
/**
|
|
363
|
+
* The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.
|
|
364
|
+
*/
|
|
365
|
+
kr_card_payments?: Capabilities.KrCardPayments;
|
|
366
|
+
|
|
340
367
|
/**
|
|
341
368
|
* The status of the legacy payments capability of the account.
|
|
342
369
|
*/
|
|
@@ -347,6 +374,11 @@ declare module 'stripe' {
|
|
|
347
374
|
*/
|
|
348
375
|
link_payments?: Capabilities.LinkPayments;
|
|
349
376
|
|
|
377
|
+
/**
|
|
378
|
+
* The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
|
379
|
+
*/
|
|
380
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
381
|
+
|
|
350
382
|
/**
|
|
351
383
|
* The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
|
352
384
|
*/
|
|
@@ -362,6 +394,11 @@ declare module 'stripe' {
|
|
|
362
394
|
*/
|
|
363
395
|
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;
|
|
364
396
|
|
|
397
|
+
/**
|
|
398
|
+
* The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
|
|
399
|
+
*/
|
|
400
|
+
naver_pay_payments?: Capabilities.NaverPayPayments;
|
|
401
|
+
|
|
365
402
|
/**
|
|
366
403
|
* The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
|
|
367
404
|
*/
|
|
@@ -372,21 +409,51 @@ declare module 'stripe' {
|
|
|
372
409
|
*/
|
|
373
410
|
p24_payments?: Capabilities.P24Payments;
|
|
374
411
|
|
|
412
|
+
/**
|
|
413
|
+
* The status of the Payco capability of the account, or whether the account can directly process Payco payments.
|
|
414
|
+
*/
|
|
415
|
+
payco_payments?: Capabilities.PaycoPayments;
|
|
416
|
+
|
|
375
417
|
/**
|
|
376
418
|
* The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
|
377
419
|
*/
|
|
378
420
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
379
421
|
|
|
422
|
+
/**
|
|
423
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
424
|
+
*/
|
|
425
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
429
|
+
*/
|
|
430
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
431
|
+
|
|
380
432
|
/**
|
|
381
433
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
382
434
|
*/
|
|
383
435
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
384
436
|
|
|
437
|
+
/**
|
|
438
|
+
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
439
|
+
*/
|
|
440
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
444
|
+
*/
|
|
445
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
446
|
+
|
|
385
447
|
/**
|
|
386
448
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
387
449
|
*/
|
|
388
450
|
revolut_pay_payments?: Capabilities.RevolutPayPayments;
|
|
389
451
|
|
|
452
|
+
/**
|
|
453
|
+
* The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
|
454
|
+
*/
|
|
455
|
+
samsung_pay_payments?: Capabilities.SamsungPayPayments;
|
|
456
|
+
|
|
390
457
|
/**
|
|
391
458
|
* The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
|
|
392
459
|
*/
|
|
@@ -397,6 +464,11 @@ declare module 'stripe' {
|
|
|
397
464
|
*/
|
|
398
465
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
399
466
|
|
|
467
|
+
/**
|
|
468
|
+
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
469
|
+
*/
|
|
470
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
471
|
+
|
|
400
472
|
/**
|
|
401
473
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
402
474
|
*/
|
|
@@ -427,6 +499,21 @@ declare module 'stripe' {
|
|
|
427
499
|
*/
|
|
428
500
|
treasury?: Capabilities.Treasury;
|
|
429
501
|
|
|
502
|
+
/**
|
|
503
|
+
* The status of the treasury_evolve capability of the account.
|
|
504
|
+
*/
|
|
505
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* The status of the treasury_fifth_third capability of the account.
|
|
509
|
+
*/
|
|
510
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* The status of the treasury_goldman_sachs capability of the account.
|
|
514
|
+
*/
|
|
515
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
516
|
+
|
|
430
517
|
/**
|
|
431
518
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
432
519
|
*/
|
|
@@ -455,6 +542,8 @@ declare module 'stripe' {
|
|
|
455
542
|
|
|
456
543
|
type AfterpayClearpayPayments = 'active' | 'inactive' | 'pending';
|
|
457
544
|
|
|
545
|
+
type AlmaPayments = 'active' | 'inactive' | 'pending';
|
|
546
|
+
|
|
458
547
|
type AmazonPayPayments = 'active' | 'inactive' | 'pending';
|
|
459
548
|
|
|
460
549
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -485,6 +574,8 @@ declare module 'stripe' {
|
|
|
485
574
|
|
|
486
575
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
487
576
|
|
|
577
|
+
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
578
|
+
|
|
488
579
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
489
580
|
|
|
490
581
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -495,34 +586,56 @@ declare module 'stripe' {
|
|
|
495
586
|
|
|
496
587
|
type JpBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
497
588
|
|
|
589
|
+
type KakaoPayPayments = 'active' | 'inactive' | 'pending';
|
|
590
|
+
|
|
498
591
|
type KlarnaPayments = 'active' | 'inactive' | 'pending';
|
|
499
592
|
|
|
500
593
|
type KonbiniPayments = 'active' | 'inactive' | 'pending';
|
|
501
594
|
|
|
595
|
+
type KrCardPayments = 'active' | 'inactive' | 'pending';
|
|
596
|
+
|
|
502
597
|
type LegacyPayments = 'active' | 'inactive' | 'pending';
|
|
503
598
|
|
|
504
599
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
505
600
|
|
|
601
|
+
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
602
|
+
|
|
506
603
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
507
604
|
|
|
508
605
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
509
606
|
|
|
510
607
|
type MxBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
511
608
|
|
|
609
|
+
type NaverPayPayments = 'active' | 'inactive' | 'pending';
|
|
610
|
+
|
|
512
611
|
type OxxoPayments = 'active' | 'inactive' | 'pending';
|
|
513
612
|
|
|
514
613
|
type P24Payments = 'active' | 'inactive' | 'pending';
|
|
515
614
|
|
|
615
|
+
type PaycoPayments = 'active' | 'inactive' | 'pending';
|
|
616
|
+
|
|
516
617
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
517
618
|
|
|
619
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
620
|
+
|
|
621
|
+
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
622
|
+
|
|
518
623
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
519
624
|
|
|
625
|
+
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
626
|
+
|
|
627
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
628
|
+
|
|
520
629
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
521
630
|
|
|
631
|
+
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
632
|
+
|
|
522
633
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
523
634
|
|
|
524
635
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
525
636
|
|
|
637
|
+
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
638
|
+
|
|
526
639
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
527
640
|
|
|
528
641
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -535,6 +648,12 @@ declare module 'stripe' {
|
|
|
535
648
|
|
|
536
649
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
537
650
|
|
|
651
|
+
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
652
|
+
|
|
653
|
+
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
654
|
+
|
|
655
|
+
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
656
|
+
|
|
538
657
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
539
658
|
|
|
540
659
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -780,6 +899,10 @@ declare module 'stripe' {
|
|
|
780
899
|
}
|
|
781
900
|
|
|
782
901
|
interface Controller {
|
|
902
|
+
application?: Controller.Application;
|
|
903
|
+
|
|
904
|
+
dashboard?: Controller.Dashboard;
|
|
905
|
+
|
|
783
906
|
fees?: Controller.Fees;
|
|
784
907
|
|
|
785
908
|
/**
|
|
@@ -803,6 +926,34 @@ declare module 'stripe' {
|
|
|
803
926
|
}
|
|
804
927
|
|
|
805
928
|
namespace Controller {
|
|
929
|
+
interface Application {
|
|
930
|
+
/**
|
|
931
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
932
|
+
*/
|
|
933
|
+
loss_liable: boolean;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
937
|
+
*/
|
|
938
|
+
onboarding_owner: boolean;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
942
|
+
*/
|
|
943
|
+
pricing_controls: boolean;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
interface Dashboard {
|
|
947
|
+
/**
|
|
948
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
949
|
+
*/
|
|
950
|
+
type: Dashboard.Type;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
namespace Dashboard {
|
|
954
|
+
type Type = 'express' | 'full' | 'none';
|
|
955
|
+
}
|
|
956
|
+
|
|
806
957
|
interface Fees {
|
|
807
958
|
/**
|
|
808
959
|
* 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 +966,8 @@ declare module 'stripe' {
|
|
|
815
966
|
| 'account'
|
|
816
967
|
| 'application'
|
|
817
968
|
| 'application_custom'
|
|
818
|
-
| 'application_express'
|
|
969
|
+
| 'application_express'
|
|
970
|
+
| 'application_unified_accounts_beta';
|
|
819
971
|
}
|
|
820
972
|
|
|
821
973
|
interface Losses {
|
|
@@ -1012,6 +1164,13 @@ declare module 'stripe' {
|
|
|
1012
1164
|
}
|
|
1013
1165
|
}
|
|
1014
1166
|
|
|
1167
|
+
interface Groups {
|
|
1168
|
+
/**
|
|
1169
|
+
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
|
1170
|
+
*/
|
|
1171
|
+
payments_pricing: string | null;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1015
1174
|
interface Requirements {
|
|
1016
1175
|
/**
|
|
1017
1176
|
* Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
|
|
@@ -1179,11 +1338,35 @@ declare module 'stripe' {
|
|
|
1179
1338
|
}
|
|
1180
1339
|
}
|
|
1181
1340
|
|
|
1341
|
+
interface RiskControls {
|
|
1342
|
+
charges: RiskControls.Charges;
|
|
1343
|
+
|
|
1344
|
+
payouts: RiskControls.Payouts;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
namespace RiskControls {
|
|
1348
|
+
interface Charges {
|
|
1349
|
+
/**
|
|
1350
|
+
* Whether a pause of the risk control has been requested.
|
|
1351
|
+
*/
|
|
1352
|
+
pause_requested: boolean;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
interface Payouts {
|
|
1356
|
+
/**
|
|
1357
|
+
* Whether a pause of the risk control has been requested.
|
|
1358
|
+
*/
|
|
1359
|
+
pause_requested: boolean;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1182
1363
|
interface Settings {
|
|
1183
1364
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1184
1365
|
|
|
1185
1366
|
branding: Settings.Branding;
|
|
1186
1367
|
|
|
1368
|
+
capital?: Settings.Capital;
|
|
1369
|
+
|
|
1187
1370
|
card_issuing?: Settings.CardIssuing;
|
|
1188
1371
|
|
|
1189
1372
|
card_payments: Settings.CardPayments;
|
|
@@ -1198,6 +1381,8 @@ declare module 'stripe' {
|
|
|
1198
1381
|
|
|
1199
1382
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1200
1383
|
|
|
1384
|
+
tax_forms?: Settings.TaxForms;
|
|
1385
|
+
|
|
1201
1386
|
treasury?: Settings.Treasury;
|
|
1202
1387
|
}
|
|
1203
1388
|
|
|
@@ -1236,6 +1421,22 @@ declare module 'stripe' {
|
|
|
1236
1421
|
secondary_color: string | null;
|
|
1237
1422
|
}
|
|
1238
1423
|
|
|
1424
|
+
interface Capital {
|
|
1425
|
+
/**
|
|
1426
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1427
|
+
*/
|
|
1428
|
+
payout_destination?: {
|
|
1429
|
+
[key: string]: string;
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1434
|
+
*/
|
|
1435
|
+
payout_destination_selector?: {
|
|
1436
|
+
[key: string]: Array<string>;
|
|
1437
|
+
};
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1239
1440
|
interface CardIssuing {
|
|
1240
1441
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1241
1442
|
}
|
|
@@ -1383,6 +1584,13 @@ declare module 'stripe' {
|
|
|
1383
1584
|
creditor_id?: string;
|
|
1384
1585
|
}
|
|
1385
1586
|
|
|
1587
|
+
interface TaxForms {
|
|
1588
|
+
/**
|
|
1589
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1590
|
+
*/
|
|
1591
|
+
consented_to_paperless_delivery: boolean;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1386
1594
|
interface Treasury {
|
|
1387
1595
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1388
1596
|
}
|