stripe 17.7.0-beta.1 → 17.7.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 +120 -1064
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -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 +0 -45
- package/types/AccountSessionsResource.d.ts +0 -243
- package/types/Accounts.d.ts +1 -205
- package/types/AccountsResource.d.ts +2 -526
- package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +7 -2
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +1 -149
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +29 -302
- package/types/Checkout/SessionsResource.d.ts +30 -383
- package/types/ConfirmationTokens.d.ts +0 -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 +0 -7
- 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/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 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- 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 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +30 -648
- package/types/PaymentIntentsResource.d.ts +3848 -8060
- 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 +0 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- 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 +5 -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 +0 -29
- 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/Terminal/Readers.d.ts +0 -290
- 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/TokensResource.d.ts +1 -3
- 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 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- 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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -439,31 +412,11 @@ declare module 'stripe' {
|
|
|
439
412
|
*/
|
|
440
413
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
441
414
|
|
|
442
|
-
/**
|
|
443
|
-
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
444
|
-
*/
|
|
445
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
449
|
-
*/
|
|
450
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
451
|
-
|
|
452
415
|
/**
|
|
453
416
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
454
417
|
*/
|
|
455
418
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
456
419
|
|
|
457
|
-
/**
|
|
458
|
-
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
459
|
-
*/
|
|
460
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
464
|
-
*/
|
|
465
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
466
|
-
|
|
467
420
|
/**
|
|
468
421
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
469
422
|
*/
|
|
@@ -484,11 +437,6 @@ declare module 'stripe' {
|
|
|
484
437
|
*/
|
|
485
438
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
486
439
|
|
|
487
|
-
/**
|
|
488
|
-
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
489
|
-
*/
|
|
490
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
491
|
-
|
|
492
440
|
/**
|
|
493
441
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
494
442
|
*/
|
|
@@ -519,21 +467,6 @@ declare module 'stripe' {
|
|
|
519
467
|
*/
|
|
520
468
|
treasury?: Capabilities.Treasury;
|
|
521
469
|
|
|
522
|
-
/**
|
|
523
|
-
* The status of the treasury_evolve capability of the account.
|
|
524
|
-
*/
|
|
525
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* The status of the treasury_fifth_third capability of the account.
|
|
529
|
-
*/
|
|
530
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* The status of the treasury_goldman_sachs capability of the account.
|
|
534
|
-
*/
|
|
535
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
536
|
-
|
|
537
470
|
/**
|
|
538
471
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
539
472
|
*/
|
|
@@ -568,8 +501,6 @@ declare module 'stripe' {
|
|
|
568
501
|
|
|
569
502
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
570
503
|
|
|
571
|
-
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
572
|
-
|
|
573
504
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
574
505
|
|
|
575
506
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -596,14 +527,8 @@ declare module 'stripe' {
|
|
|
596
527
|
|
|
597
528
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
598
529
|
|
|
599
|
-
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
600
|
-
|
|
601
530
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
602
531
|
|
|
603
|
-
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
604
|
-
|
|
605
|
-
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
606
|
-
|
|
607
532
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
608
533
|
|
|
609
534
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -624,8 +549,6 @@ declare module 'stripe' {
|
|
|
624
549
|
|
|
625
550
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
626
551
|
|
|
627
|
-
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
628
|
-
|
|
629
552
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
630
553
|
|
|
631
554
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -644,16 +567,8 @@ declare module 'stripe' {
|
|
|
644
567
|
|
|
645
568
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
646
569
|
|
|
647
|
-
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
648
|
-
|
|
649
|
-
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
650
|
-
|
|
651
570
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
652
571
|
|
|
653
|
-
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
654
|
-
|
|
655
|
-
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
656
|
-
|
|
657
572
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
658
573
|
|
|
659
574
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -662,8 +577,6 @@ declare module 'stripe' {
|
|
|
662
577
|
|
|
663
578
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
664
579
|
|
|
665
|
-
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
666
|
-
|
|
667
580
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
668
581
|
|
|
669
582
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -676,12 +589,6 @@ declare module 'stripe' {
|
|
|
676
589
|
|
|
677
590
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
678
591
|
|
|
679
|
-
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
680
|
-
|
|
681
|
-
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
682
|
-
|
|
683
|
-
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
684
|
-
|
|
685
592
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
686
593
|
|
|
687
594
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -955,10 +862,6 @@ declare module 'stripe' {
|
|
|
955
862
|
}
|
|
956
863
|
|
|
957
864
|
interface Controller {
|
|
958
|
-
application?: Controller.Application;
|
|
959
|
-
|
|
960
|
-
dashboard?: Controller.Dashboard;
|
|
961
|
-
|
|
962
865
|
fees?: Controller.Fees;
|
|
963
866
|
|
|
964
867
|
/**
|
|
@@ -982,34 +885,6 @@ declare module 'stripe' {
|
|
|
982
885
|
}
|
|
983
886
|
|
|
984
887
|
namespace Controller {
|
|
985
|
-
interface Application {
|
|
986
|
-
/**
|
|
987
|
-
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
988
|
-
*/
|
|
989
|
-
loss_liable: boolean;
|
|
990
|
-
|
|
991
|
-
/**
|
|
992
|
-
* `true` if the Connect application is responsible for onboarding the account.
|
|
993
|
-
*/
|
|
994
|
-
onboarding_owner: boolean;
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
998
|
-
*/
|
|
999
|
-
pricing_controls: boolean;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
interface Dashboard {
|
|
1003
|
-
/**
|
|
1004
|
-
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1005
|
-
*/
|
|
1006
|
-
type: Dashboard.Type;
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
namespace Dashboard {
|
|
1010
|
-
type Type = 'express' | 'full' | 'none';
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
888
|
interface Fees {
|
|
1014
889
|
/**
|
|
1015
890
|
* 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).
|
|
@@ -1022,8 +897,7 @@ declare module 'stripe' {
|
|
|
1022
897
|
| 'account'
|
|
1023
898
|
| 'application'
|
|
1024
899
|
| 'application_custom'
|
|
1025
|
-
| 'application_express'
|
|
1026
|
-
| 'application_unified_accounts_beta';
|
|
900
|
+
| 'application_express';
|
|
1027
901
|
}
|
|
1028
902
|
|
|
1029
903
|
interface Losses {
|
|
@@ -1428,52 +1302,11 @@ declare module 'stripe' {
|
|
|
1428
1302
|
}
|
|
1429
1303
|
}
|
|
1430
1304
|
|
|
1431
|
-
interface RiskControls {
|
|
1432
|
-
charges: RiskControls.Charges;
|
|
1433
|
-
|
|
1434
|
-
payouts: RiskControls.Payouts;
|
|
1435
|
-
|
|
1436
|
-
/**
|
|
1437
|
-
* Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
|
1438
|
-
*/
|
|
1439
|
-
rejected_reason?: RiskControls.RejectedReason;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
namespace RiskControls {
|
|
1443
|
-
interface Charges {
|
|
1444
|
-
/**
|
|
1445
|
-
* Whether a pause of the risk control has been requested.
|
|
1446
|
-
*/
|
|
1447
|
-
pause_requested: boolean;
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
interface Payouts {
|
|
1451
|
-
/**
|
|
1452
|
-
* Whether a pause of the risk control has been requested.
|
|
1453
|
-
*/
|
|
1454
|
-
pause_requested: boolean;
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
type RejectedReason =
|
|
1458
|
-
| 'credit'
|
|
1459
|
-
| 'fraud'
|
|
1460
|
-
| 'fraud_no_intent_to_fulfill'
|
|
1461
|
-
| 'fraud_other'
|
|
1462
|
-
| 'fraud_payment_method_casher'
|
|
1463
|
-
| 'fraud_payment_method_tester'
|
|
1464
|
-
| 'other'
|
|
1465
|
-
| 'terms_of_service';
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
1305
|
interface Settings {
|
|
1469
1306
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1470
1307
|
|
|
1471
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1472
|
-
|
|
1473
1308
|
branding: Settings.Branding;
|
|
1474
1309
|
|
|
1475
|
-
capital?: Settings.Capital;
|
|
1476
|
-
|
|
1477
1310
|
card_issuing?: Settings.CardIssuing;
|
|
1478
1311
|
|
|
1479
1312
|
card_payments: Settings.CardPayments;
|
|
@@ -1488,8 +1321,6 @@ declare module 'stripe' {
|
|
|
1488
1321
|
|
|
1489
1322
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1490
1323
|
|
|
1491
|
-
tax_forms?: Settings.TaxForms;
|
|
1492
|
-
|
|
1493
1324
|
treasury?: Settings.Treasury;
|
|
1494
1325
|
}
|
|
1495
1326
|
|
|
@@ -1506,18 +1337,6 @@ declare module 'stripe' {
|
|
|
1506
1337
|
service_user_number: string | null;
|
|
1507
1338
|
}
|
|
1508
1339
|
|
|
1509
|
-
interface BankBcaOnboarding {
|
|
1510
|
-
/**
|
|
1511
|
-
* Bank BCA business account holder name.
|
|
1512
|
-
*/
|
|
1513
|
-
account_holder_name?: string;
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* Bank BCA business account number.
|
|
1517
|
-
*/
|
|
1518
|
-
business_account_number?: string;
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
1340
|
interface Branding {
|
|
1522
1341
|
/**
|
|
1523
1342
|
* (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.
|
|
@@ -1540,22 +1359,6 @@ declare module 'stripe' {
|
|
|
1540
1359
|
secondary_color: string | null;
|
|
1541
1360
|
}
|
|
1542
1361
|
|
|
1543
|
-
interface Capital {
|
|
1544
|
-
/**
|
|
1545
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1546
|
-
*/
|
|
1547
|
-
payout_destination?: {
|
|
1548
|
-
[key: string]: string;
|
|
1549
|
-
};
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1553
|
-
*/
|
|
1554
|
-
payout_destination_selector?: {
|
|
1555
|
-
[key: string]: Array<string>;
|
|
1556
|
-
};
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
1362
|
interface CardIssuing {
|
|
1560
1363
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1561
1364
|
}
|
|
@@ -1703,13 +1506,6 @@ declare module 'stripe' {
|
|
|
1703
1506
|
creditor_id?: string;
|
|
1704
1507
|
}
|
|
1705
1508
|
|
|
1706
|
-
interface TaxForms {
|
|
1707
|
-
/**
|
|
1708
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1709
|
-
*/
|
|
1710
|
-
consented_to_paperless_delivery: boolean;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
1509
|
interface Treasury {
|
|
1714
1510
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1715
1511
|
}
|