stripe 17.5.0 → 17.6.0-beta.2

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.
Files changed (181) hide show
  1. package/CHANGELOG.md +1052 -109
  2. package/README.md +24 -16
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/AccountNotices.js +21 -0
  6. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  7. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  8. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  9. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  10. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  11. package/cjs/resources/GiftCards/Cards.js +23 -0
  12. package/cjs/resources/GiftCards/Transactions.js +33 -0
  13. package/cjs/resources/Invoices.js +17 -0
  14. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  15. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  16. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  17. package/cjs/resources/Margins.js +22 -0
  18. package/cjs/resources/Orders.js +24 -0
  19. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  20. package/cjs/resources/PaymentIntents.js +8 -0
  21. package/cjs/resources/PaymentRecords.js +29 -0
  22. package/cjs/resources/Quotes.js +32 -0
  23. package/cjs/resources/SubscriptionSchedules.js +4 -0
  24. package/cjs/resources/Tax/Associations.js +9 -0
  25. package/cjs/resources/Tax/Forms.js +20 -0
  26. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  27. package/cjs/resources/Terminal/Readers.js +12 -0
  28. package/cjs/resources/Treasury/FinancialAccounts.js +4 -0
  29. package/cjs/resources.js +48 -10
  30. package/cjs/stripe.core.js +1 -1
  31. package/esm/apiVersion.js +1 -1
  32. package/esm/resources/AccountNotices.js +18 -0
  33. package/esm/resources/Capital/FinancingOffers.js +18 -0
  34. package/esm/resources/Capital/FinancingSummary.js +9 -0
  35. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  36. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  37. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  38. package/esm/resources/GiftCards/Cards.js +20 -0
  39. package/esm/resources/GiftCards/Transactions.js +30 -0
  40. package/esm/resources/Invoices.js +17 -0
  41. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  42. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  43. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  44. package/esm/resources/Margins.js +19 -0
  45. package/esm/resources/Orders.js +21 -0
  46. package/esm/resources/PaymentAttemptRecords.js +14 -0
  47. package/esm/resources/PaymentIntents.js +8 -0
  48. package/esm/resources/PaymentRecords.js +26 -0
  49. package/esm/resources/Quotes.js +32 -0
  50. package/esm/resources/SubscriptionSchedules.js +4 -0
  51. package/esm/resources/Tax/Associations.js +6 -0
  52. package/esm/resources/Tax/Forms.js +17 -0
  53. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  54. package/esm/resources/Terminal/Readers.js +12 -0
  55. package/esm/resources/Treasury/FinancialAccounts.js +4 -0
  56. package/esm/resources.js +33 -0
  57. package/esm/stripe.core.js +1 -1
  58. package/package.json +3 -15
  59. package/types/AccountLinksResource.d.ts +5 -1
  60. package/types/AccountNotices.d.ts +113 -0
  61. package/types/AccountNoticesResource.d.ts +98 -0
  62. package/types/AccountSessions.d.ts +175 -0
  63. package/types/AccountSessionsResource.d.ts +376 -0
  64. package/types/Accounts.d.ts +225 -1
  65. package/types/AccountsResource.d.ts +628 -0
  66. package/types/Billing/CreditBalanceTransactions.d.ts +1 -1
  67. package/types/Billing/MeterErrorReports.d.ts +106 -0
  68. package/types/BillingPortal/ConfigurationsResource.d.ts +2 -2
  69. package/types/Capital/FinancingOffers.d.ts +188 -0
  70. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  71. package/types/Capital/FinancingSummary.d.ts +106 -0
  72. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  73. package/types/Capital/FinancingTransactions.d.ts +135 -0
  74. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  75. package/types/Cards.d.ts +6 -1
  76. package/types/Charges.d.ts +159 -2
  77. package/types/ChargesResource.d.ts +1294 -0
  78. package/types/Checkout/Sessions.d.ts +359 -5
  79. package/types/Checkout/SessionsResource.d.ts +456 -5
  80. package/types/ConfirmationTokens.d.ts +110 -1
  81. package/types/Coupons.d.ts +1 -1
  82. package/types/CouponsResource.d.ts +1 -1
  83. package/types/CreditNoteLineItems.d.ts +1 -1
  84. package/types/CreditNotes.d.ts +22 -1
  85. package/types/CreditNotesResource.d.ts +51 -0
  86. package/types/CustomersResource.d.ts +8 -0
  87. package/types/EventTypes.d.ts +596 -0
  88. package/types/Events.d.ts +93 -0
  89. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  90. package/types/FinancialConnections/Accounts.d.ts +29 -1
  91. package/types/FinancialConnections/AccountsResource.d.ts +35 -3
  92. package/types/FinancialConnections/Institutions.d.ts +93 -0
  93. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  94. package/types/FinancialConnections/Sessions.d.ts +49 -1
  95. package/types/FinancialConnections/SessionsResource.d.ts +38 -1
  96. package/types/FinancialConnections/TransactionsResource.d.ts +1 -1
  97. package/types/GiftCards/Cards.d.ts +118 -0
  98. package/types/GiftCards/CardsResource.d.ts +159 -0
  99. package/types/GiftCards/Transactions.d.ts +129 -0
  100. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  101. package/types/InvoiceItems.d.ts +5 -0
  102. package/types/InvoiceItemsResource.d.ts +98 -0
  103. package/types/InvoiceLineItems.d.ts +29 -2
  104. package/types/InvoicePayments.d.ts +113 -0
  105. package/types/Invoices.d.ts +143 -3
  106. package/types/InvoicesResource.d.ts +4618 -933
  107. package/types/Issuing/Authorizations.d.ts +2 -1
  108. package/types/Issuing/CardholdersResource.d.ts +2 -1
  109. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  110. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  111. package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
  112. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  113. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  114. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  115. package/types/Issuing/Settlements.d.ts +103 -0
  116. package/types/Issuing/Transactions.d.ts +3 -1
  117. package/types/Issuing/TransactionsResource.d.ts +5 -0
  118. package/types/LineItems.d.ts +32 -0
  119. package/types/Mandates.d.ts +77 -0
  120. package/types/Margins.d.ts +56 -0
  121. package/types/MarginsResource.d.ts +114 -0
  122. package/types/Orders.d.ts +1179 -0
  123. package/types/OrdersResource.d.ts +2961 -0
  124. package/types/PaymentAttemptRecords.d.ts +242 -0
  125. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  126. package/types/PaymentIntents.d.ts +653 -1
  127. package/types/PaymentIntentsResource.d.ts +8018 -3686
  128. package/types/PaymentLinks.d.ts +8 -0
  129. package/types/PaymentLinksResource.d.ts +30 -0
  130. package/types/PaymentMethodConfigurations.d.ts +216 -0
  131. package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
  132. package/types/PaymentMethods.d.ts +110 -1
  133. package/types/PaymentMethodsResource.d.ts +149 -0
  134. package/types/PaymentRecords.d.ts +242 -0
  135. package/types/PaymentRecordsResource.d.ts +455 -0
  136. package/types/Prices.d.ts +22 -0
  137. package/types/PricesResource.d.ts +22 -0
  138. package/types/Products.d.ts +39 -0
  139. package/types/ProductsResource.d.ts +36 -0
  140. package/types/QuoteLines.d.ts +634 -0
  141. package/types/QuotePreviewInvoices.d.ts +1658 -0
  142. package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
  143. package/types/Quotes.d.ts +591 -1
  144. package/types/QuotesResource.d.ts +2526 -194
  145. package/types/Refunds.d.ts +14 -0
  146. package/types/SetupAttempts.d.ts +43 -0
  147. package/types/SetupIntents.d.ts +116 -1
  148. package/types/SetupIntentsResource.d.ts +669 -3
  149. package/types/Sources.d.ts +29 -0
  150. package/types/SubscriptionItems.d.ts +21 -0
  151. package/types/SubscriptionItemsResource.d.ts +109 -0
  152. package/types/SubscriptionSchedules.d.ts +200 -0
  153. package/types/SubscriptionSchedulesResource.d.ts +1234 -16
  154. package/types/Subscriptions.d.ts +91 -1
  155. package/types/SubscriptionsResource.d.ts +369 -2
  156. package/types/Tax/Associations.d.ts +126 -0
  157. package/types/Tax/AssociationsResource.d.ts +29 -0
  158. package/types/Tax/Forms.d.ts +220 -0
  159. package/types/Tax/FormsResource.d.ts +107 -0
  160. package/types/Terminal/Configurations.d.ts +19 -0
  161. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  162. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  163. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  164. package/types/Terminal/Readers.d.ts +310 -0
  165. package/types/Terminal/ReadersResource.d.ts +215 -0
  166. package/types/TestHelpers/ConfirmationTokensResource.d.ts +112 -0
  167. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  168. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  169. package/types/TokensResource.d.ts +30 -0
  170. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  171. package/types/Treasury/FinancialAccounts.d.ts +12 -0
  172. package/types/Treasury/FinancialAccountsResource.d.ts +121 -0
  173. package/types/Treasury/OutboundTransfers.d.ts +43 -1
  174. package/types/Treasury/OutboundTransfersResource.d.ts +43 -0
  175. package/types/Treasury/ReceivedCredits.d.ts +36 -0
  176. package/types/Treasury/ReceivedCreditsResource.d.ts +1 -0
  177. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  178. package/types/WebhookEndpointsResource.d.ts +72 -1
  179. package/types/index.d.ts +62 -0
  180. package/types/lib.d.ts +1 -1
  181. package/types/test/typescriptTest.ts +3 -3
@@ -111,6 +111,8 @@ declare module 'stripe' {
111
111
 
112
112
  requirements?: Account.Requirements;
113
113
 
114
+ risk_controls?: Account.RiskControls;
115
+
114
116
  /**
115
117
  * Options for customizing how the account functions within Stripe.
116
118
  */
@@ -247,6 +249,11 @@ declare module 'stripe' {
247
249
  */
248
250
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
249
251
 
252
+ /**
253
+ * The status of the automatic_indirect_tax capability of the account.
254
+ */
255
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
256
+
250
257
  /**
251
258
  * The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
252
259
  */
@@ -312,11 +319,26 @@ declare module 'stripe' {
312
319
  */
313
320
  giropay_payments?: Capabilities.GiropayPayments;
314
321
 
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
+
315
327
  /**
316
328
  * The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
317
329
  */
318
330
  grabpay_payments?: Capabilities.GrabpayPayments;
319
331
 
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
+
320
342
  /**
321
343
  * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
322
344
  */
@@ -367,6 +389,11 @@ declare module 'stripe' {
367
389
  */
368
390
  link_payments?: Capabilities.LinkPayments;
369
391
 
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
+
370
397
  /**
371
398
  * The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
372
399
  */
@@ -397,6 +424,11 @@ declare module 'stripe' {
397
424
  */
398
425
  p24_payments?: Capabilities.P24Payments;
399
426
 
427
+ /**
428
+ * The status of the pay_by_bank payments capability of the account, or whether the account can directly process pay_by_bank charges.
429
+ */
430
+ pay_by_bank_payments?: Capabilities.PayByBankPayments;
431
+
400
432
  /**
401
433
  * The status of the Payco capability of the account, or whether the account can directly process Payco payments.
402
434
  */
@@ -407,11 +439,31 @@ declare module 'stripe' {
407
439
  */
408
440
  paynow_payments?: Capabilities.PaynowPayments;
409
441
 
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
+
410
452
  /**
411
453
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
412
454
  */
413
455
  promptpay_payments?: Capabilities.PromptpayPayments;
414
456
 
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
+
415
467
  /**
416
468
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
417
469
  */
@@ -432,6 +484,11 @@ declare module 'stripe' {
432
484
  */
433
485
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
434
486
 
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
+
435
492
  /**
436
493
  * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
437
494
  */
@@ -462,6 +519,21 @@ declare module 'stripe' {
462
519
  */
463
520
  treasury?: Capabilities.Treasury;
464
521
 
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
+
465
537
  /**
466
538
  * The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
467
539
  */
@@ -496,6 +568,8 @@ declare module 'stripe' {
496
568
 
497
569
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
498
570
 
571
+ type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
572
+
499
573
  type BacsDebitPayments = 'active' | 'inactive' | 'pending';
500
574
 
501
575
  type BancontactPayments = 'active' | 'inactive' | 'pending';
@@ -522,8 +596,14 @@ declare module 'stripe' {
522
596
 
523
597
  type GiropayPayments = 'active' | 'inactive' | 'pending';
524
598
 
599
+ type GopayPayments = 'active' | 'inactive' | 'pending';
600
+
525
601
  type GrabpayPayments = 'active' | 'inactive' | 'pending';
526
602
 
603
+ type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
604
+
605
+ type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
606
+
527
607
  type IdealPayments = 'active' | 'inactive' | 'pending';
528
608
 
529
609
  type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
@@ -544,6 +624,8 @@ declare module 'stripe' {
544
624
 
545
625
  type LinkPayments = 'active' | 'inactive' | 'pending';
546
626
 
627
+ type MbWayPayments = 'active' | 'inactive' | 'pending';
628
+
547
629
  type MobilepayPayments = 'active' | 'inactive' | 'pending';
548
630
 
549
631
  type MultibancoPayments = 'active' | 'inactive' | 'pending';
@@ -556,12 +638,22 @@ declare module 'stripe' {
556
638
 
557
639
  type P24Payments = 'active' | 'inactive' | 'pending';
558
640
 
641
+ type PayByBankPayments = 'active' | 'inactive' | 'pending';
642
+
559
643
  type PaycoPayments = 'active' | 'inactive' | 'pending';
560
644
 
561
645
  type PaynowPayments = 'active' | 'inactive' | 'pending';
562
646
 
647
+ type PaypalPayments = 'active' | 'inactive' | 'pending';
648
+
649
+ type PaytoPayments = 'active' | 'inactive' | 'pending';
650
+
563
651
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
564
652
 
653
+ type QrisPayments = 'active' | 'inactive' | 'pending';
654
+
655
+ type RechnungPayments = 'active' | 'inactive' | 'pending';
656
+
565
657
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
566
658
 
567
659
  type SamsungPayPayments = 'active' | 'inactive' | 'pending';
@@ -570,6 +662,8 @@ declare module 'stripe' {
570
662
 
571
663
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
572
664
 
665
+ type ShopeepayPayments = 'active' | 'inactive' | 'pending';
666
+
573
667
  type SofortPayments = 'active' | 'inactive' | 'pending';
574
668
 
575
669
  type SwishPayments = 'active' | 'inactive' | 'pending';
@@ -582,6 +676,12 @@ declare module 'stripe' {
582
676
 
583
677
  type Treasury = 'active' | 'inactive' | 'pending';
584
678
 
679
+ type TreasuryEvolve = 'active' | 'inactive' | 'pending';
680
+
681
+ type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
682
+
683
+ type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
684
+
585
685
  type TwintPayments = 'active' | 'inactive' | 'pending';
586
686
 
587
687
  type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
@@ -609,6 +709,11 @@ declare module 'stripe' {
609
709
  */
610
710
  directors_provided?: boolean;
611
711
 
712
+ /**
713
+ * This hash is used to attest that the director information provided to Stripe is both current and correct.
714
+ */
715
+ directorship_declaration?: Company.DirectorshipDeclaration | null;
716
+
612
717
  /**
613
718
  * Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided.
614
719
  */
@@ -649,6 +754,8 @@ declare module 'stripe' {
649
754
  */
650
755
  ownership_declaration?: Company.OwnershipDeclaration | null;
651
756
 
757
+ ownership_exemption_reason?: Company.OwnershipExemptionReason;
758
+
652
759
  /**
653
760
  * The company's phone number (used for verification).
654
761
  */
@@ -755,6 +862,23 @@ declare module 'stripe' {
755
862
  town: string | null;
756
863
  }
757
864
 
865
+ interface DirectorshipDeclaration {
866
+ /**
867
+ * The Unix timestamp marking when the directorship declaration attestation was made.
868
+ */
869
+ date: number | null;
870
+
871
+ /**
872
+ * The IP address from which the directorship declaration attestation was made.
873
+ */
874
+ ip: string | null;
875
+
876
+ /**
877
+ * The user-agent string from the browser where the directorship declaration attestation was made.
878
+ */
879
+ user_agent: string | null;
880
+ }
881
+
758
882
  interface OwnershipDeclaration {
759
883
  /**
760
884
  * The Unix timestamp marking when the beneficial owner attestation was made.
@@ -772,6 +896,10 @@ declare module 'stripe' {
772
896
  user_agent: string | null;
773
897
  }
774
898
 
899
+ type OwnershipExemptionReason =
900
+ | 'qualified_entity_exceeds_ownership_threshold'
901
+ | 'qualifies_as_financial_institution';
902
+
775
903
  type Structure =
776
904
  | 'free_zone_establishment'
777
905
  | 'free_zone_llc'
@@ -827,6 +955,10 @@ declare module 'stripe' {
827
955
  }
828
956
 
829
957
  interface Controller {
958
+ application?: Controller.Application;
959
+
960
+ dashboard?: Controller.Dashboard;
961
+
830
962
  fees?: Controller.Fees;
831
963
 
832
964
  /**
@@ -850,6 +982,34 @@ declare module 'stripe' {
850
982
  }
851
983
 
852
984
  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
+
853
1013
  interface Fees {
854
1014
  /**
855
1015
  * 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).
@@ -862,7 +1022,8 @@ declare module 'stripe' {
862
1022
  | 'account'
863
1023
  | 'application'
864
1024
  | 'application_custom'
865
- | 'application_express';
1025
+ | 'application_express'
1026
+ | 'application_unified_accounts_beta';
866
1027
  }
867
1028
 
868
1029
  interface Losses {
@@ -1267,11 +1428,37 @@ declare module 'stripe' {
1267
1428
  }
1268
1429
  }
1269
1430
 
1431
+ interface RiskControls {
1432
+ charges: RiskControls.Charges;
1433
+
1434
+ payouts: RiskControls.Payouts;
1435
+ }
1436
+
1437
+ namespace RiskControls {
1438
+ interface Charges {
1439
+ /**
1440
+ * Whether a pause of the risk control has been requested.
1441
+ */
1442
+ pause_requested: boolean;
1443
+ }
1444
+
1445
+ interface Payouts {
1446
+ /**
1447
+ * Whether a pause of the risk control has been requested.
1448
+ */
1449
+ pause_requested: boolean;
1450
+ }
1451
+ }
1452
+
1270
1453
  interface Settings {
1271
1454
  bacs_debit_payments?: Settings.BacsDebitPayments;
1272
1455
 
1456
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
1457
+
1273
1458
  branding: Settings.Branding;
1274
1459
 
1460
+ capital?: Settings.Capital;
1461
+
1275
1462
  card_issuing?: Settings.CardIssuing;
1276
1463
 
1277
1464
  card_payments: Settings.CardPayments;
@@ -1286,6 +1473,8 @@ declare module 'stripe' {
1286
1473
 
1287
1474
  sepa_debit_payments?: Settings.SepaDebitPayments;
1288
1475
 
1476
+ tax_forms?: Settings.TaxForms;
1477
+
1289
1478
  treasury?: Settings.Treasury;
1290
1479
  }
1291
1480
 
@@ -1302,6 +1491,18 @@ declare module 'stripe' {
1302
1491
  service_user_number: string | null;
1303
1492
  }
1304
1493
 
1494
+ interface BankBcaOnboarding {
1495
+ /**
1496
+ * Bank BCA business account holder name.
1497
+ */
1498
+ account_holder_name?: string;
1499
+
1500
+ /**
1501
+ * Bank BCA business account number.
1502
+ */
1503
+ business_account_number?: string;
1504
+ }
1505
+
1305
1506
  interface Branding {
1306
1507
  /**
1307
1508
  * (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.
@@ -1324,6 +1525,22 @@ declare module 'stripe' {
1324
1525
  secondary_color: string | null;
1325
1526
  }
1326
1527
 
1528
+ interface Capital {
1529
+ /**
1530
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1531
+ */
1532
+ payout_destination?: {
1533
+ [key: string]: string;
1534
+ };
1535
+
1536
+ /**
1537
+ * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1538
+ */
1539
+ payout_destination_selector?: {
1540
+ [key: string]: Array<string>;
1541
+ };
1542
+ }
1543
+
1327
1544
  interface CardIssuing {
1328
1545
  tos_acceptance?: CardIssuing.TosAcceptance;
1329
1546
  }
@@ -1471,6 +1688,13 @@ declare module 'stripe' {
1471
1688
  creditor_id?: string;
1472
1689
  }
1473
1690
 
1691
+ interface TaxForms {
1692
+ /**
1693
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1694
+ */
1695
+ consented_to_paperless_delivery: boolean;
1696
+ }
1697
+
1474
1698
  interface Treasury {
1475
1699
  tos_acceptance?: Treasury.TosAcceptance;
1476
1700
  }