stripe 17.5.0-beta.3 → 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 (175) hide show
  1. package/CHANGELOG.md +131 -1005
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -8
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -355
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Charges.d.ts +0 -138
  27. package/types/ChargesResource.d.ts +0 -1294
  28. package/types/Checkout/Sessions.d.ts +6 -340
  29. package/types/Checkout/SessionsResource.d.ts +5 -445
  30. package/types/ConfirmationTokens.d.ts +0 -99
  31. package/types/Coupons.d.ts +1 -1
  32. package/types/CouponsResource.d.ts +1 -1
  33. package/types/CreditNotes.d.ts +0 -21
  34. package/types/CreditNotesResource.d.ts +0 -51
  35. package/types/CustomersResource.d.ts +4 -9
  36. package/types/Disputes.d.ts +2 -2
  37. package/types/DisputesResource.d.ts +2 -2
  38. package/types/EventTypes.d.ts +0 -596
  39. package/types/Events.d.ts +0 -93
  40. package/types/FinancialConnections/Accounts.d.ts +1 -29
  41. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  42. package/types/FinancialConnections/Sessions.d.ts +1 -49
  43. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +4 -138
  48. package/types/InvoicesResource.d.ts +1886 -5568
  49. package/types/Issuing/Authorizations.d.ts +0 -1
  50. package/types/Issuing/CardholdersResource.d.ts +1 -2
  51. package/types/Issuing/Transactions.d.ts +0 -2
  52. package/types/Issuing/TransactionsResource.d.ts +0 -5
  53. package/types/LineItems.d.ts +0 -32
  54. package/types/Mandates.d.ts +0 -77
  55. package/types/PaymentIntents.d.ts +1 -644
  56. package/types/PaymentIntentsResource.d.ts +3768 -8055
  57. package/types/PaymentLinks.d.ts +0 -6
  58. package/types/PaymentLinksResource.d.ts +0 -12
  59. package/types/PaymentMethodConfigurations.d.ts +0 -180
  60. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  61. package/types/PaymentMethods.d.ts +0 -99
  62. package/types/PaymentMethodsResource.d.ts +0 -133
  63. package/types/Prices.d.ts +0 -22
  64. package/types/PricesResource.d.ts +0 -22
  65. package/types/Products.d.ts +0 -39
  66. package/types/ProductsResource.d.ts +0 -36
  67. package/types/Quotes.d.ts +1 -591
  68. package/types/QuotesResource.d.ts +199 -2531
  69. package/types/Refunds.d.ts +0 -14
  70. package/types/SetupAttempts.d.ts +0 -38
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -645
  73. package/types/Sources.d.ts +0 -23
  74. package/types/SubscriptionItems.d.ts +0 -21
  75. package/types/SubscriptionItemsResource.d.ts +0 -109
  76. package/types/SubscriptionSchedules.d.ts +0 -200
  77. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  78. package/types/Subscriptions.d.ts +1 -91
  79. package/types/SubscriptionsResource.d.ts +2 -369
  80. package/types/Tax/Calculations.d.ts +2 -1
  81. package/types/Tax/CalculationsResource.d.ts +2 -1
  82. package/types/Tax/Registrations.d.ts +189 -0
  83. package/types/Tax/RegistrationsResource.d.ts +252 -0
  84. package/types/Tax/Transactions.d.ts +2 -1
  85. package/types/TaxIds.d.ts +2 -1
  86. package/types/TaxIdsResource.d.ts +2 -1
  87. package/types/Terminal/Readers.d.ts +0 -310
  88. package/types/Terminal/ReadersResource.d.ts +0 -215
  89. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  90. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  91. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  92. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  93. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  94. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  95. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  96. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  97. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  98. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  99. package/types/WebhookEndpointsResource.d.ts +0 -70
  100. package/types/index.d.ts +0 -62
  101. package/cjs/resources/AccountNotices.js +0 -21
  102. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  103. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  104. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  105. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  106. package/cjs/resources/GiftCards/Cards.js +0 -23
  107. package/cjs/resources/GiftCards/Transactions.js +0 -33
  108. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  109. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  110. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  114. package/cjs/resources/PaymentRecords.js +0 -29
  115. package/cjs/resources/Tax/Associations.js +0 -9
  116. package/cjs/resources/Tax/Forms.js +0 -20
  117. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  127. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  128. package/esm/resources/Margins.js +0 -19
  129. package/esm/resources/Orders.js +0 -21
  130. package/esm/resources/PaymentAttemptRecords.js +0 -14
  131. package/esm/resources/PaymentRecords.js +0 -26
  132. package/esm/resources/Tax/Associations.js +0 -6
  133. package/esm/resources/Tax/Forms.js +0 -17
  134. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  135. package/types/AccountNotices.d.ts +0 -113
  136. package/types/AccountNoticesResource.d.ts +0 -98
  137. package/types/Billing/MeterErrorReports.d.ts +0 -106
  138. package/types/Capital/FinancingOffers.d.ts +0 -188
  139. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  140. package/types/Capital/FinancingSummary.d.ts +0 -106
  141. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  142. package/types/Capital/FinancingTransactions.d.ts +0 -135
  143. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  144. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  145. package/types/FinancialConnections/Institutions.d.ts +0 -93
  146. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  147. package/types/GiftCards/Cards.d.ts +0 -118
  148. package/types/GiftCards/CardsResource.d.ts +0 -159
  149. package/types/GiftCards/Transactions.d.ts +0 -129
  150. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  151. package/types/InvoicePayments.d.ts +0 -113
  152. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  153. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  154. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  155. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  156. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  157. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  158. package/types/Issuing/Settlements.d.ts +0 -103
  159. package/types/Margins.d.ts +0 -56
  160. package/types/MarginsResource.d.ts +0 -114
  161. package/types/Orders.d.ts +0 -1178
  162. package/types/OrdersResource.d.ts +0 -2959
  163. package/types/PaymentAttemptRecords.d.ts +0 -242
  164. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  165. package/types/PaymentRecords.d.ts +0 -242
  166. package/types/PaymentRecordsResource.d.ts +0 -455
  167. package/types/QuoteLines.d.ts +0 -634
  168. package/types/QuotePreviewInvoices.d.ts +0 -1652
  169. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  170. package/types/Tax/Associations.d.ts +0 -126
  171. package/types/Tax/AssociationsResource.d.ts +0 -29
  172. package/types/Tax/Forms.d.ts +0 -220
  173. package/types/Tax/FormsResource.d.ts +0 -107
  174. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  175. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -129,21 +129,11 @@ declare module 'stripe' {
129
129
  */
130
130
  giropay?: PaymentMethodData.Giropay;
131
131
 
132
- /**
133
- * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
134
- */
135
- gopay?: PaymentMethodData.Gopay;
136
-
137
132
  /**
138
133
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
139
134
  */
140
135
  grabpay?: PaymentMethodData.Grabpay;
141
136
 
142
- /**
143
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
144
- */
145
- id_bank_transfer?: PaymentMethodData.IdBankTransfer;
146
-
147
137
  /**
148
138
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
149
139
  */
@@ -179,11 +169,6 @@ declare module 'stripe' {
179
169
  */
180
170
  link?: PaymentMethodData.Link;
181
171
 
182
- /**
183
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
184
- */
185
- mb_way?: PaymentMethodData.MbWay;
186
-
187
172
  /**
188
173
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
189
174
  */
@@ -229,11 +214,6 @@ declare module 'stripe' {
229
214
  */
230
215
  paypal?: PaymentMethodData.Paypal;
231
216
 
232
- /**
233
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
234
- */
235
- payto?: PaymentMethodData.Payto;
236
-
237
217
  /**
238
218
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
239
219
  */
@@ -244,21 +224,11 @@ declare module 'stripe' {
244
224
  */
245
225
  promptpay?: PaymentMethodData.Promptpay;
246
226
 
247
- /**
248
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
249
- */
250
- qris?: PaymentMethodData.Qris;
251
-
252
227
  /**
253
228
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
254
229
  */
255
230
  radar_options?: PaymentMethodData.RadarOptions;
256
231
 
257
- /**
258
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
259
- */
260
- rechnung?: PaymentMethodData.Rechnung;
261
-
262
232
  /**
263
233
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
264
234
  */
@@ -274,11 +244,6 @@ declare module 'stripe' {
274
244
  */
275
245
  sepa_debit?: PaymentMethodData.SepaDebit;
276
246
 
277
- /**
278
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
279
- */
280
- shopeepay?: PaymentMethodData.Shopeepay;
281
-
282
247
  /**
283
248
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
284
249
  */
@@ -487,21 +452,8 @@ declare module 'stripe' {
487
452
 
488
453
  interface Giropay {}
489
454
 
490
- interface Gopay {}
491
-
492
455
  interface Grabpay {}
493
456
 
494
- interface IdBankTransfer {
495
- /**
496
- * Bank where the account is held.
497
- */
498
- bank?: IdBankTransfer.Bank;
499
- }
500
-
501
- namespace IdBankTransfer {
502
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
503
- }
504
-
505
457
  interface Ideal {
506
458
  /**
507
459
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -565,8 +517,6 @@ declare module 'stripe' {
565
517
 
566
518
  interface Link {}
567
519
 
568
- interface MbWay {}
569
-
570
520
  interface Mobilepay {}
571
521
 
572
522
  interface Multibanco {}
@@ -627,29 +577,10 @@ declare module 'stripe' {
627
577
 
628
578
  interface Paypal {}
629
579
 
630
- interface Payto {
631
- /**
632
- * The account number for the bank account.
633
- */
634
- account_number?: string;
635
-
636
- /**
637
- * Bank-State-Branch number of the bank account.
638
- */
639
- bsb_number?: string;
640
-
641
- /**
642
- * The PayID alias for the bank account.
643
- */
644
- pay_id?: string;
645
- }
646
-
647
580
  interface Pix {}
648
581
 
649
582
  interface Promptpay {}
650
583
 
651
- interface Qris {}
652
-
653
584
  interface RadarOptions {
654
585
  /**
655
586
  * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -657,32 +588,6 @@ declare module 'stripe' {
657
588
  session?: string;
658
589
  }
659
590
 
660
- interface Rechnung {
661
- /**
662
- * Customer's date of birth
663
- */
664
- dob: Rechnung.Dob;
665
- }
666
-
667
- namespace Rechnung {
668
- interface Dob {
669
- /**
670
- * The day of birth, between 1 and 31.
671
- */
672
- day: number;
673
-
674
- /**
675
- * The month of birth, between 1 and 12.
676
- */
677
- month: number;
678
-
679
- /**
680
- * The four-digit year of birth.
681
- */
682
- year: number;
683
- }
684
- }
685
-
686
591
  interface RevolutPay {}
687
592
 
688
593
  interface SamsungPay {}
@@ -694,8 +599,6 @@ declare module 'stripe' {
694
599
  iban: string;
695
600
  }
696
601
 
697
- interface Shopeepay {}
698
-
699
602
  interface Sofort {
700
603
  /**
701
604
  * Two-letter ISO code representing the country the bank account is located in.
@@ -728,16 +631,13 @@ declare module 'stripe' {
728
631
  | 'eps'
729
632
  | 'fpx'
730
633
  | 'giropay'
731
- | 'gopay'
732
634
  | 'grabpay'
733
- | 'id_bank_transfer'
734
635
  | 'ideal'
735
636
  | 'kakao_pay'
736
637
  | 'klarna'
737
638
  | 'konbini'
738
639
  | 'kr_card'
739
640
  | 'link'
740
- | 'mb_way'
741
641
  | 'mobilepay'
742
642
  | 'multibanco'
743
643
  | 'naver_pay'
@@ -746,15 +646,11 @@ declare module 'stripe' {
746
646
  | 'payco'
747
647
  | 'paynow'
748
648
  | 'paypal'
749
- | 'payto'
750
649
  | 'pix'
751
650
  | 'promptpay'
752
- | 'qris'
753
- | 'rechnung'
754
651
  | 'revolut_pay'
755
652
  | 'samsung_pay'
756
653
  | 'sepa_debit'
757
- | 'shopeepay'
758
654
  | 'sofort'
759
655
  | 'swish'
760
656
  | 'twint'
@@ -39,11 +39,6 @@ declare module 'stripe' {
39
39
  * Initiating payment method details for the object.
40
40
  */
41
41
  initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
42
-
43
- /**
44
- * Details about the network used for the ReceivedCredit.
45
- */
46
- network_details?: ReceivedCreditCreateParams.NetworkDetails;
47
42
  }
48
43
 
49
44
  namespace ReceivedCreditCreateParams {
@@ -79,27 +74,6 @@ declare module 'stripe' {
79
74
  }
80
75
 
81
76
  type Network = 'ach' | 'us_domestic_wire';
82
-
83
- interface NetworkDetails {
84
- /**
85
- * Optional fields for `ach`.
86
- */
87
- ach?: NetworkDetails.Ach;
88
-
89
- /**
90
- * The type of flow that originated the ReceivedCredit.
91
- */
92
- type: 'ach';
93
- }
94
-
95
- namespace NetworkDetails {
96
- interface Ach {
97
- /**
98
- * ACH Addenda record
99
- */
100
- addenda?: string;
101
- }
102
- }
103
77
  }
104
78
  }
105
79
 
@@ -39,11 +39,6 @@ declare module 'stripe' {
39
39
  * Initiating payment method details for the object.
40
40
  */
41
41
  initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
42
-
43
- /**
44
- * Details about the network used for the ReceivedDebit.
45
- */
46
- network_details?: ReceivedDebitCreateParams.NetworkDetails;
47
42
  }
48
43
 
49
44
  namespace ReceivedDebitCreateParams {
@@ -77,27 +72,6 @@ declare module 'stripe' {
77
72
  routing_number?: string;
78
73
  }
79
74
  }
80
-
81
- interface NetworkDetails {
82
- /**
83
- * Optional fields for `ach`.
84
- */
85
- ach?: NetworkDetails.Ach;
86
-
87
- /**
88
- * The type of flow that originated the ReceivedDebit.
89
- */
90
- type: 'ach';
91
- }
92
-
93
- namespace NetworkDetails {
94
- interface Ach {
95
- /**
96
- * Addenda record data associated with this ReceivedDebit.
97
- */
98
- addenda?: string;
99
- }
100
- }
101
75
  }
102
76
  }
103
77
 
@@ -175,11 +175,6 @@ declare module 'stripe' {
175
175
 
176
176
  namespace FinancialAddresses {
177
177
  interface Aba {
178
- /**
179
- * Requested bank partner for this Financial Account
180
- */
181
- bank?: Aba.Bank;
182
-
183
178
  /**
184
179
  * Whether the FinancialAccount should have the Feature.
185
180
  */
@@ -197,8 +192,6 @@ declare module 'stripe' {
197
192
  }
198
193
 
199
194
  namespace Aba {
200
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
201
-
202
195
  type Status = 'active' | 'pending' | 'restricted';
203
196
 
204
197
  interface StatusDetail {
@@ -38,11 +38,6 @@ declare module 'stripe' {
38
38
  */
39
39
  created: number;
40
40
 
41
- /**
42
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
43
- */
44
- display_name?: string | null;
45
-
46
41
  /**
47
42
  * Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
48
43
  * Stripe or the platform can control Features via the requested field.
@@ -9,11 +9,6 @@ declare module 'stripe' {
9
9
  */
10
10
  supported_currencies: Array<string>;
11
11
 
12
- /**
13
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
14
- */
15
- display_name?: Stripe.Emptyable<string>;
16
-
17
12
  /**
18
13
  * Specifies which fields in the response should be expanded.
19
14
  */
@@ -97,20 +92,11 @@ declare module 'stripe' {
97
92
 
98
93
  namespace FinancialAddresses {
99
94
  interface Aba {
100
- /**
101
- * Requested bank partner
102
- */
103
- bank?: Aba.Bank;
104
-
105
95
  /**
106
96
  * Whether the FinancialAccount should have the Feature.
107
97
  */
108
98
  requested: boolean;
109
99
  }
110
-
111
- namespace Aba {
112
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
113
- }
114
100
  }
115
101
 
116
102
  interface InboundTransfers {
@@ -220,11 +206,6 @@ declare module 'stripe' {
220
206
  }
221
207
 
222
208
  interface FinancialAccountUpdateParams {
223
- /**
224
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
225
- */
226
- display_name?: Stripe.Emptyable<string>;
227
-
228
209
  /**
229
210
  * Specifies which fields in the response should be expanded.
230
211
  */
@@ -308,20 +289,11 @@ declare module 'stripe' {
308
289
 
309
290
  namespace FinancialAddresses {
310
291
  interface Aba {
311
- /**
312
- * Requested bank partner
313
- */
314
- bank?: Aba.Bank;
315
-
316
292
  /**
317
293
  * Whether the FinancialAccount should have the Feature.
318
294
  */
319
295
  requested: boolean;
320
296
  }
321
-
322
- namespace Aba {
323
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
324
- }
325
297
  }
326
298
 
327
299
  interface InboundTransfers {
@@ -508,20 +480,11 @@ declare module 'stripe' {
508
480
 
509
481
  namespace FinancialAddresses {
510
482
  interface Aba {
511
- /**
512
- * Requested bank partner
513
- */
514
- bank?: Aba.Bank;
515
-
516
483
  /**
517
484
  * Whether the FinancialAccount should have the Feature.
518
485
  */
519
486
  requested: boolean;
520
487
  }
521
-
522
- namespace Aba {
523
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
524
- }
525
488
  }
526
489
 
527
490
  interface InboundTransfers {
@@ -78,11 +78,6 @@ declare module 'stripe' {
78
78
  */
79
79
  metadata: Stripe.Metadata;
80
80
 
81
- /**
82
- * Details about the network used for the OutboundTransfer.
83
- */
84
- network_details?: OutboundTransfer.NetworkDetails | null;
85
-
86
81
  /**
87
82
  * Details about a returned OutboundTransfer. Only set when the status is `returned`.
88
83
  */
@@ -189,27 +184,6 @@ declare module 'stripe' {
189
184
  }
190
185
  }
191
186
 
192
- interface NetworkDetails {
193
- /**
194
- * Details about an ACH transaction.
195
- */
196
- ach?: NetworkDetails.Ach | null;
197
-
198
- /**
199
- * The type of flow that originated the OutboundTransfer.
200
- */
201
- type: 'ach';
202
- }
203
-
204
- namespace NetworkDetails {
205
- interface Ach {
206
- /**
207
- * ACH Addenda record
208
- */
209
- addenda: string | null;
210
- }
211
- }
212
-
213
187
  interface ReturnedDetails {
214
188
  /**
215
189
  * Reason for the return.
@@ -44,11 +44,6 @@ declare module 'stripe' {
44
44
  */
45
45
  metadata?: Stripe.MetadataParam;
46
46
 
47
- /**
48
- * Details about the network used for the OutboundTransfer.
49
- */
50
- network_details?: OutboundTransferCreateParams.NetworkDetails;
51
-
52
47
  /**
53
48
  * Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
54
49
  */
@@ -77,27 +72,6 @@ declare module 'stripe' {
77
72
  type Network = 'ach' | 'us_domestic_wire';
78
73
  }
79
74
  }
80
-
81
- interface NetworkDetails {
82
- /**
83
- * Optional fields for `ach`.
84
- */
85
- ach?: NetworkDetails.Ach;
86
-
87
- /**
88
- * The type of flow that originated the OutboundTransfer.
89
- */
90
- type: 'ach';
91
- }
92
-
93
- namespace NetworkDetails {
94
- interface Ach {
95
- /**
96
- * Addenda record data associated with this OutboundTransfer.
97
- */
98
- addenda?: string;
99
- }
100
- }
101
75
  }
102
76
 
103
77
  interface OutboundTransferRetrieveParams {
@@ -66,11 +66,6 @@ declare module 'stripe' {
66
66
  */
67
67
  network: ReceivedCredit.Network;
68
68
 
69
- /**
70
- * Details specific to the money movement rails.
71
- */
72
- network_details?: ReceivedCredit.NetworkDetails | null;
73
-
74
69
  /**
75
70
  * Details describing when a ReceivedCredit may be reversed.
76
71
  */
@@ -246,27 +241,6 @@ declare module 'stripe' {
246
241
 
247
242
  type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
248
243
 
249
- interface NetworkDetails {
250
- /**
251
- * Details about an ACH transaction.
252
- */
253
- ach?: NetworkDetails.Ach | null;
254
-
255
- /**
256
- * The type of flow that originated the ReceivedCredit.
257
- */
258
- type: 'ach';
259
- }
260
-
261
- namespace NetworkDetails {
262
- interface Ach {
263
- /**
264
- * ACH Addenda record
265
- */
266
- addenda: string | null;
267
- }
268
- }
269
-
270
244
  interface ReversalDetails {
271
245
  /**
272
246
  * Time before which a ReceivedCredit can be reversed.
@@ -66,11 +66,6 @@ declare module 'stripe' {
66
66
  */
67
67
  network: ReceivedDebit.Network;
68
68
 
69
- /**
70
- * Details specific to the money movement rails.
71
- */
72
- network_details?: ReceivedDebit.NetworkDetails | null;
73
-
74
69
  /**
75
70
  * Details describing when a ReceivedDebit might be reversed.
76
71
  */
@@ -195,36 +190,10 @@ declare module 'stripe' {
195
190
  * Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.
196
191
  */
197
192
  payout: string | null;
198
-
199
- /**
200
- * The ReceivedCredit that Capital withheld from
201
- */
202
- received_credit_capital_withholding?: string | null;
203
193
  }
204
194
 
205
195
  type Network = 'ach' | 'card' | 'stripe';
206
196
 
207
- interface NetworkDetails {
208
- /**
209
- * Details about an ACH transaction.
210
- */
211
- ach?: NetworkDetails.Ach | null;
212
-
213
- /**
214
- * The type of flow that originated the ReceivedDebit.
215
- */
216
- type: 'ach';
217
- }
218
-
219
- namespace NetworkDetails {
220
- interface Ach {
221
- /**
222
- * ACH Addenda record
223
- */
224
- addenda: string | null;
225
- }
226
- }
227
-
228
197
  interface ReversalDetails {
229
198
  /**
230
199
  * Time before which a ReceivedDebit can be reversed.