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.
Files changed (186) hide show
  1. package/CHANGELOG.md +132 -996
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -8
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources.js +10 -48
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/apiVersion.js +1 -1
  14. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  15. package/esm/resources/Invoices.js +0 -17
  16. package/esm/resources/PaymentIntents.js +0 -8
  17. package/esm/resources/Quotes.js +0 -32
  18. package/esm/resources/SubscriptionSchedules.js +0 -4
  19. package/esm/resources/Terminal/Readers.js +0 -12
  20. package/esm/resources.js +0 -33
  21. package/esm/stripe.core.js +1 -1
  22. package/package.json +1 -1
  23. package/types/AccountLinksResource.d.ts +1 -5
  24. package/types/AccountSessions.d.ts +5 -50
  25. package/types/AccountSessionsResource.d.ts +5 -360
  26. package/types/Accounts.d.ts +5 -194
  27. package/types/AccountsResource.d.ts +0 -520
  28. package/types/Billing/CreditBalanceTransactions.d.ts +20 -1
  29. package/types/Capabilities.d.ts +2 -2
  30. package/types/Cards.d.ts +14 -0
  31. package/types/Charges.d.ts +10 -136
  32. package/types/ChargesResource.d.ts +0 -1294
  33. package/types/Checkout/Sessions.d.ts +25 -323
  34. package/types/Checkout/SessionsResource.d.ts +5 -445
  35. package/types/ConfirmationTokens.d.ts +7 -99
  36. package/types/Coupons.d.ts +1 -1
  37. package/types/CouponsResource.d.ts +1 -1
  38. package/types/CreditNotes.d.ts +0 -21
  39. package/types/CreditNotesResource.d.ts +0 -51
  40. package/types/CustomersResource.d.ts +42 -11
  41. package/types/Disputes.d.ts +22 -0
  42. package/types/DisputesResource.d.ts +12 -0
  43. package/types/EventTypes.d.ts +0 -596
  44. package/types/Events.d.ts +0 -93
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/Forwarding/Requests.d.ts +2 -1
  50. package/types/Forwarding/RequestsResource.d.ts +2 -1
  51. package/types/InvoiceItems.d.ts +0 -5
  52. package/types/InvoiceItemsResource.d.ts +0 -98
  53. package/types/InvoiceLineItems.d.ts +1 -28
  54. package/types/Invoices.d.ts +23 -139
  55. package/types/InvoicesResource.d.ts +1907 -5535
  56. package/types/Issuing/Authorizations.d.ts +5 -0
  57. package/types/Issuing/CardholdersResource.d.ts +1 -2
  58. package/types/Issuing/Transactions.d.ts +5 -2
  59. package/types/Issuing/TransactionsResource.d.ts +0 -5
  60. package/types/LineItems.d.ts +0 -32
  61. package/types/Mandates.d.ts +0 -77
  62. package/types/PaymentIntents.d.ts +1 -644
  63. package/types/PaymentIntentsResource.d.ts +3768 -8055
  64. package/types/PaymentLinks.d.ts +0 -6
  65. package/types/PaymentLinksResource.d.ts +0 -12
  66. package/types/PaymentMethodConfigurations.d.ts +0 -180
  67. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  68. package/types/PaymentMethods.d.ts +7 -99
  69. package/types/PaymentMethodsResource.d.ts +0 -133
  70. package/types/Payouts.d.ts +1 -1
  71. package/types/Persons.d.ts +2 -2
  72. package/types/Prices.d.ts +0 -22
  73. package/types/PricesResource.d.ts +0 -22
  74. package/types/Products.d.ts +0 -39
  75. package/types/ProductsResource.d.ts +0 -36
  76. package/types/Quotes.d.ts +1 -591
  77. package/types/QuotesResource.d.ts +199 -2531
  78. package/types/Refunds.d.ts +0 -14
  79. package/types/SetupAttempts.d.ts +0 -38
  80. package/types/SetupIntents.d.ts +1 -111
  81. package/types/SetupIntentsResource.d.ts +3 -645
  82. package/types/Sources.d.ts +7 -23
  83. package/types/SubscriptionItems.d.ts +0 -21
  84. package/types/SubscriptionItemsResource.d.ts +0 -109
  85. package/types/SubscriptionSchedules.d.ts +0 -200
  86. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  87. package/types/Subscriptions.d.ts +1 -91
  88. package/types/SubscriptionsResource.d.ts +2 -369
  89. package/types/Tax/Calculations.d.ts +21 -2
  90. package/types/Tax/CalculationsResource.d.ts +21 -2
  91. package/types/Tax/Registrations.d.ts +189 -0
  92. package/types/Tax/RegistrationsResource.d.ts +252 -0
  93. package/types/Tax/Transactions.d.ts +21 -2
  94. package/types/TaxIds.d.ts +21 -2
  95. package/types/TaxIdsResource.d.ts +21 -2
  96. package/types/Terminal/Readers.d.ts +0 -278
  97. package/types/Terminal/ReadersResource.d.ts +0 -215
  98. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  99. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  100. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  101. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  102. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  103. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  104. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  105. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  106. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  107. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  108. package/types/WebhookEndpointsResource.d.ts +2 -71
  109. package/types/index.d.ts +0 -62
  110. package/types/lib.d.ts +1 -1
  111. package/types/test/typescriptTest.ts +3 -3
  112. package/cjs/resources/AccountNotices.js +0 -21
  113. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  114. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  115. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  116. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  117. package/cjs/resources/GiftCards/Cards.js +0 -23
  118. package/cjs/resources/GiftCards/Transactions.js +0 -33
  119. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  120. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  121. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  122. package/cjs/resources/Margins.js +0 -22
  123. package/cjs/resources/Orders.js +0 -24
  124. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  125. package/cjs/resources/PaymentRecords.js +0 -29
  126. package/cjs/resources/Tax/Associations.js +0 -9
  127. package/cjs/resources/Tax/Forms.js +0 -20
  128. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  129. package/esm/resources/AccountNotices.js +0 -18
  130. package/esm/resources/Capital/FinancingOffers.js +0 -18
  131. package/esm/resources/Capital/FinancingSummary.js +0 -9
  132. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  133. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  134. package/esm/resources/GiftCards/Cards.js +0 -20
  135. package/esm/resources/GiftCards/Transactions.js +0 -30
  136. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  137. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  138. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  139. package/esm/resources/Margins.js +0 -19
  140. package/esm/resources/Orders.js +0 -21
  141. package/esm/resources/PaymentAttemptRecords.js +0 -14
  142. package/esm/resources/PaymentRecords.js +0 -26
  143. package/esm/resources/Tax/Associations.js +0 -6
  144. package/esm/resources/Tax/Forms.js +0 -17
  145. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  146. package/types/AccountNotices.d.ts +0 -113
  147. package/types/AccountNoticesResource.d.ts +0 -98
  148. package/types/Billing/MeterErrorReports.d.ts +0 -106
  149. package/types/Capital/FinancingOffers.d.ts +0 -188
  150. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  151. package/types/Capital/FinancingSummary.d.ts +0 -106
  152. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  153. package/types/Capital/FinancingTransactions.d.ts +0 -135
  154. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  155. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  156. package/types/FinancialConnections/Institutions.d.ts +0 -93
  157. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  158. package/types/GiftCards/Cards.d.ts +0 -118
  159. package/types/GiftCards/CardsResource.d.ts +0 -159
  160. package/types/GiftCards/Transactions.d.ts +0 -129
  161. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  162. package/types/InvoicePayments.d.ts +0 -113
  163. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  164. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  165. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  166. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  167. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  168. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  169. package/types/Issuing/Settlements.d.ts +0 -103
  170. package/types/Margins.d.ts +0 -56
  171. package/types/MarginsResource.d.ts +0 -114
  172. package/types/Orders.d.ts +0 -1160
  173. package/types/OrdersResource.d.ts +0 -2923
  174. package/types/PaymentAttemptRecords.d.ts +0 -242
  175. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  176. package/types/PaymentRecords.d.ts +0 -259
  177. package/types/PaymentRecordsResource.d.ts +0 -455
  178. package/types/QuoteLines.d.ts +0 -634
  179. package/types/QuotePreviewInvoices.d.ts +0 -1634
  180. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  181. package/types/Tax/Associations.d.ts +0 -126
  182. package/types/Tax/AssociationsResource.d.ts +0 -29
  183. package/types/Tax/Forms.d.ts +0 -220
  184. package/types/Tax/FormsResource.d.ts +0 -107
  185. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  186. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -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: BusinessProfile.AnnualRevenue | null;
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: number | null;
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 that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
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 that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
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
  }