stripe 20.1.0-alpha.4 → 20.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +9 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/SharedPayment/GrantedTokens.js +12 -0
  7. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +16 -0
  8. package/cjs/resources/V2/Iam/ApiKeys.js +24 -0
  9. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +20 -0
  10. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +33 -0
  11. package/cjs/resources/V2/Tax/ManualRules.js +23 -0
  12. package/cjs/resources.js +15 -1
  13. package/cjs/stripe.core.js +1 -1
  14. package/esm/Error.js +7 -0
  15. package/esm/apiVersion.js +1 -1
  16. package/esm/resources/SharedPayment/GrantedTokens.js +9 -0
  17. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +13 -0
  18. package/esm/resources/V2/Iam/ApiKeys.js +21 -0
  19. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +17 -0
  20. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +30 -0
  21. package/esm/resources/V2/Tax/ManualRules.js +20 -0
  22. package/esm/resources.js +14 -0
  23. package/esm/stripe.core.js +1 -1
  24. package/package.json +1 -1
  25. package/types/AccountLinks.d.ts +1 -1
  26. package/types/AccountNotices.d.ts +6 -6
  27. package/types/AccountNoticesResource.d.ts +1 -1
  28. package/types/AccountSessions.d.ts +7 -7
  29. package/types/AccountSessionsResource.d.ts +21 -0
  30. package/types/Accounts.d.ts +25 -25
  31. package/types/AccountsResource.d.ts +107 -63
  32. package/types/ApplicationFeesResource.d.ts +2 -2
  33. package/types/Apps/Secrets.d.ts +1 -1
  34. package/types/Balance.d.ts +2 -2
  35. package/types/BalanceSettings.d.ts +1 -1
  36. package/types/BalanceTransactions.d.ts +1 -1
  37. package/types/BalanceTransfers.d.ts +3 -3
  38. package/types/BalanceTransfersResource.d.ts +1 -1
  39. package/types/BankAccounts.d.ts +10 -10
  40. package/types/Billing/Alerts.d.ts +2 -2
  41. package/types/Billing/CreditBalanceSummary.d.ts +3 -3
  42. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  43. package/types/Billing/CreditBalanceTransactions.d.ts +2 -2
  44. package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
  45. package/types/Billing/CreditGrants.d.ts +4 -4
  46. package/types/Billing/CreditGrantsResource.d.ts +3 -3
  47. package/types/Billing/MeterEvents.d.ts +1 -1
  48. package/types/Billing/MeterEventsResource.d.ts +1 -1
  49. package/types/BillingPortal/Configurations.d.ts +10 -3
  50. package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
  51. package/types/BillingPortal/Sessions.d.ts +7 -7
  52. package/types/BillingPortal/SessionsResource.d.ts +7 -7
  53. package/types/Capabilities.d.ts +16 -16
  54. package/types/Capital/FinancingOffers.d.ts +2 -2
  55. package/types/Capital/FinancingSummary.d.ts +7 -4
  56. package/types/Capital/FinancingSummaryResource.d.ts +1 -1
  57. package/types/Cards.d.ts +2 -2
  58. package/types/CashBalances.d.ts +3 -3
  59. package/types/Charges.d.ts +59 -27
  60. package/types/ChargesResource.d.ts +22 -22
  61. package/types/Checkout/Sessions.d.ts +18 -18
  62. package/types/Checkout/SessionsResource.d.ts +90 -60
  63. package/types/Climate/Orders.d.ts +1 -1
  64. package/types/Climate/OrdersResource.d.ts +2 -2
  65. package/types/ConfirmationTokens.d.ts +8 -6
  66. package/types/Coupons.d.ts +3 -3
  67. package/types/CouponsResource.d.ts +2 -2
  68. package/types/CreditNoteLineItems.d.ts +3 -0
  69. package/types/CreditNotes.d.ts +8 -5
  70. package/types/CreditNotesResource.d.ts +5 -5
  71. package/types/CustomerBalanceTransactions.d.ts +9 -6
  72. package/types/CustomerCashBalanceTransactions.d.ts +13 -10
  73. package/types/CustomerSessions.d.ts +1 -1
  74. package/types/Customers.d.ts +8 -5
  75. package/types/CustomersResource.d.ts +21 -16
  76. package/types/DelegatedCheckout/RequestedSessions.d.ts +83 -17
  77. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +102 -0
  78. package/types/Discounts.d.ts +6 -6
  79. package/types/Disputes.d.ts +3 -3
  80. package/types/DisputesResource.d.ts +1 -1
  81. package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
  82. package/types/Errors.d.ts +6 -0
  83. package/types/Events.d.ts +1 -1
  84. package/types/ExchangeRates.d.ts +2 -2
  85. package/types/ExternalAccountsResource.d.ts +4 -4
  86. package/types/FeeRefunds.d.ts +2 -2
  87. package/types/FileLinks.d.ts +1 -1
  88. package/types/FileLinksResource.d.ts +2 -2
  89. package/types/Files.d.ts +4 -4
  90. package/types/FilesResource.d.ts +3 -3
  91. package/types/FinancialConnections/Accounts.d.ts +3 -3
  92. package/types/FinancialConnections/AccountsResource.d.ts +3 -3
  93. package/types/FinancialConnections/Sessions.d.ts +2 -2
  94. package/types/FinancialConnections/SessionsResource.d.ts +3 -3
  95. package/types/Forwarding/Requests.d.ts +1 -1
  96. package/types/Forwarding/RequestsResource.d.ts +1 -1
  97. package/types/FundingInstructions.d.ts +2 -2
  98. package/types/Identity/BlocklistEntries.d.ts +1 -1
  99. package/types/Identity/VerificationReports.d.ts +8 -8
  100. package/types/Identity/VerificationSessions.d.ts +11 -11
  101. package/types/Identity/VerificationSessionsResource.d.ts +18 -12
  102. package/types/InvoiceItems.d.ts +12 -12
  103. package/types/InvoiceItemsResource.d.ts +16 -16
  104. package/types/InvoiceLineItems.d.ts +11 -8
  105. package/types/InvoicePayments.d.ts +1 -1
  106. package/types/InvoiceRenderingTemplates.d.ts +1 -1
  107. package/types/Invoices.d.ts +83 -33
  108. package/types/InvoicesResource.d.ts +237 -111
  109. package/types/Issuing/Authorizations.d.ts +20 -20
  110. package/types/Issuing/AuthorizationsResource.d.ts +4 -4
  111. package/types/Issuing/Cardholders.d.ts +13 -13
  112. package/types/Issuing/CardholdersResource.d.ts +21 -21
  113. package/types/Issuing/Cards.d.ts +20 -10
  114. package/types/Issuing/CardsResource.d.ts +46 -13
  115. package/types/Issuing/CreditUnderwritingRecords.d.ts +5 -5
  116. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +15 -15
  117. package/types/Issuing/Disputes.d.ts +7 -7
  118. package/types/Issuing/DisputesResource.d.ts +5 -5
  119. package/types/Issuing/FraudLiabilityDebits.d.ts +1 -1
  120. package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
  121. package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
  122. package/types/Issuing/Programs.d.ts +1 -1
  123. package/types/Issuing/ProgramsResource.d.ts +1 -1
  124. package/types/Issuing/Settlements.d.ts +2 -2
  125. package/types/Issuing/Tokens.d.ts +1 -1
  126. package/types/Issuing/Transactions.d.ts +13 -13
  127. package/types/Issuing/TransactionsResource.d.ts +1 -1
  128. package/types/LineItems.d.ts +3 -3
  129. package/types/LoginLinks.d.ts +1 -1
  130. package/types/MandatesResource.d.ts +1 -1
  131. package/types/Margins.d.ts +1 -1
  132. package/types/MarginsResource.d.ts +2 -2
  133. package/types/Orders.d.ts +11 -11
  134. package/types/OrdersResource.d.ts +24 -24
  135. package/types/PaymentAttemptRecords.d.ts +119 -18
  136. package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
  137. package/types/PaymentIntents.d.ts +72 -44
  138. package/types/PaymentIntentsResource.d.ts +172 -159
  139. package/types/PaymentLinks.d.ts +7 -7
  140. package/types/PaymentLinksResource.d.ts +42 -28
  141. package/types/PaymentMethodConfigurations.d.ts +4 -4
  142. package/types/PaymentMethodConfigurationsResource.d.ts +80 -80
  143. package/types/PaymentMethodDomains.d.ts +1 -1
  144. package/types/PaymentMethods.d.ts +10 -8
  145. package/types/PaymentMethodsResource.d.ts +7 -6
  146. package/types/PaymentRecords.d.ts +126 -18
  147. package/types/PaymentRecordsResource.d.ts +7 -7
  148. package/types/Payouts.d.ts +7 -7
  149. package/types/PayoutsResource.d.ts +3 -3
  150. package/types/Persons.d.ts +21 -21
  151. package/types/Plans.d.ts +5 -5
  152. package/types/PlansResource.d.ts +6 -6
  153. package/types/Prices.d.ts +6 -6
  154. package/types/PricesResource.d.ts +10 -10
  155. package/types/ProductCatalog/TrialOffers.d.ts +1 -1
  156. package/types/Products.d.ts +10 -10
  157. package/types/ProductsResource.d.ts +38 -14
  158. package/types/PromotionCodes.d.ts +5 -5
  159. package/types/PromotionCodesResource.d.ts +5 -5
  160. package/types/QuoteLines.d.ts +3 -3
  161. package/types/QuotePreviewInvoices.d.ts +81 -31
  162. package/types/QuotePreviewSubscriptionSchedules.d.ts +18 -18
  163. package/types/Quotes.d.ts +16 -16
  164. package/types/QuotesResource.d.ts +30 -30
  165. package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
  166. package/types/Radar/ValueListItems.d.ts +1 -1
  167. package/types/Radar/ValueLists.d.ts +2 -2
  168. package/types/Radar/ValueListsResource.d.ts +2 -2
  169. package/types/Refunds.d.ts +3 -3
  170. package/types/RefundsResource.d.ts +3 -3
  171. package/types/Reporting/ReportRuns.d.ts +3 -3
  172. package/types/Reporting/ReportRunsResource.d.ts +2 -2
  173. package/types/Reporting/ReportTypes.d.ts +3 -3
  174. package/types/Reviews.d.ts +1 -1
  175. package/types/SetupAttempts.d.ts +21 -18
  176. package/types/SetupIntents.d.ts +20 -19
  177. package/types/SetupIntentsResource.d.ts +47 -44
  178. package/types/SharedPayment/GrantedTokens.d.ts +102 -0
  179. package/types/SharedPayment/GrantedTokensResource.d.ts +29 -0
  180. package/types/ShippingRates.d.ts +3 -3
  181. package/types/ShippingRatesResource.d.ts +3 -3
  182. package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
  183. package/types/SourceMandateNotifications.d.ts +3 -3
  184. package/types/Sources.d.ts +5 -5
  185. package/types/SourcesResource.d.ts +2 -2
  186. package/types/SubscriptionItems.d.ts +7 -7
  187. package/types/SubscriptionItemsResource.d.ts +22 -22
  188. package/types/SubscriptionSchedules.d.ts +19 -19
  189. package/types/SubscriptionSchedulesResource.d.ts +61 -61
  190. package/types/Subscriptions.d.ts +61 -15
  191. package/types/SubscriptionsResource.d.ts +142 -58
  192. package/types/Tax/Associations.d.ts +3 -3
  193. package/types/Tax/AssociationsResource.d.ts +1 -1
  194. package/types/Tax/CalculationLineItems.d.ts +7 -7
  195. package/types/Tax/Calculations.d.ts +12 -12
  196. package/types/Tax/CalculationsResource.d.ts +7 -7
  197. package/types/Tax/Registrations.d.ts +3 -3
  198. package/types/Tax/Settings.d.ts +1 -1
  199. package/types/Tax/SettingsResource.d.ts +1 -1
  200. package/types/Tax/TransactionLineItems.d.ts +5 -5
  201. package/types/Tax/Transactions.d.ts +9 -9
  202. package/types/Tax/TransactionsResource.d.ts +10 -10
  203. package/types/TaxIds.d.ts +6 -6
  204. package/types/TaxIdsResource.d.ts +4 -4
  205. package/types/TaxRates.d.ts +1 -1
  206. package/types/TaxRatesResource.d.ts +2 -2
  207. package/types/Terminal/ConnectionTokens.d.ts +1 -1
  208. package/types/Terminal/Locations.d.ts +2 -2
  209. package/types/Terminal/LocationsResource.d.ts +3 -3
  210. package/types/Terminal/Readers.d.ts +10 -10
  211. package/types/Terminal/ReadersResource.d.ts +7 -7
  212. package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -4
  213. package/types/TestHelpers/CustomersResource.d.ts +2 -2
  214. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
  215. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
  216. package/types/TestHelpers/SharedPayment/GrantedTokensResource.d.ts +87 -0
  217. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -1
  218. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -1
  219. package/types/Tokens.d.ts +4 -4
  220. package/types/TokensResource.d.ts +17 -17
  221. package/types/Topups.d.ts +3 -3
  222. package/types/TopupsResource.d.ts +3 -3
  223. package/types/TransferReversals.d.ts +4 -4
  224. package/types/Transfers.d.ts +5 -5
  225. package/types/TransfersResource.d.ts +6 -6
  226. package/types/Treasury/CreditReversals.d.ts +3 -3
  227. package/types/Treasury/CreditReversalsResource.d.ts +1 -1
  228. package/types/Treasury/DebitReversals.d.ts +3 -3
  229. package/types/Treasury/DebitReversalsResource.d.ts +1 -1
  230. package/types/Treasury/FinancialAccounts.d.ts +1 -1
  231. package/types/Treasury/FinancialAccountsResource.d.ts +2 -2
  232. package/types/Treasury/InboundTransfers.d.ts +4 -4
  233. package/types/Treasury/InboundTransfersResource.d.ts +2 -2
  234. package/types/Treasury/OutboundPayments.d.ts +5 -5
  235. package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
  236. package/types/Treasury/OutboundTransfers.d.ts +4 -4
  237. package/types/Treasury/OutboundTransfersResource.d.ts +3 -3
  238. package/types/Treasury/ReceivedCredits.d.ts +9 -9
  239. package/types/Treasury/ReceivedDebits.d.ts +6 -6
  240. package/types/Treasury/TransactionEntries.d.ts +11 -11
  241. package/types/Treasury/Transactions.d.ts +11 -11
  242. package/types/V2/Billing/IntentActions.d.ts +141 -36
  243. package/types/V2/Billing/IntentsResource.d.ts +141 -42
  244. package/types/V2/Core/AccountLinks.d.ts +11 -11
  245. package/types/V2/Core/AccountLinksResource.d.ts +6 -6
  246. package/types/V2/Core/AccountPersons.d.ts +55 -10
  247. package/types/V2/Core/AccountTokensResource.d.ts +99 -10
  248. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
  249. package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
  250. package/types/V2/Core/Accounts.d.ts +298 -509
  251. package/types/V2/Core/AccountsResource.d.ts +256 -51
  252. package/types/V2/Core/ClaimableSandboxesResource.d.ts +1 -1
  253. package/types/V2/Core/EventTypes.d.ts +601 -0
  254. package/types/V2/Core/Vault/GbBankAccounts.d.ts +21 -0
  255. package/types/V2/Core/Vault/UsBankAccounts.d.ts +26 -0
  256. package/types/V2/Iam/ApiKeys.d.ts +154 -0
  257. package/types/V2/Iam/ApiKeysResource.d.ts +215 -0
  258. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +31 -1
  259. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +7 -0
  260. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -0
  261. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +7 -0
  262. package/types/V2/MoneyManagement/OutboundPayments.d.ts +7 -0
  263. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +7 -0
  264. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +2 -0
  265. package/types/V2/MoneyManagement/PayoutMethods.d.ts +26 -0
  266. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +2 -0
  267. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +10 -1
  268. package/types/V2/Payments/SettlementAllocationIntentSplits.d.ts +111 -0
  269. package/types/V2/Payments/SettlementAllocationIntents/SplitsResource.d.ts +126 -0
  270. package/types/V2/Payments/SettlementAllocationIntents.d.ts +122 -0
  271. package/types/V2/Payments/SettlementAllocationIntentsResource.d.ts +168 -0
  272. package/types/V2/Tax/ManualRules.d.ts +142 -0
  273. package/types/V2/Tax/ManualRulesResource.d.ts +292 -0
  274. package/types/WebhookEndpoints.d.ts +1 -1
  275. package/types/WebhookEndpointsResource.d.ts +4 -3
  276. package/types/apiVersion.d.ts +1 -1
  277. package/types/index.d.ts +24 -0
@@ -0,0 +1,292 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace Tax {
7
+ interface ManualRuleCreateParams {
8
+ /**
9
+ * Tax rates to be applied.
10
+ */
11
+ scheduled_tax_rates: Array<ManualRuleCreateParams.ScheduledTaxRate>;
12
+
13
+ /**
14
+ * Location where the rule applies.
15
+ */
16
+ location?: ManualRuleCreateParams.Location;
17
+
18
+ /**
19
+ * Products associated with the rule.
20
+ */
21
+ products?: Array<ManualRuleCreateParams.Product>;
22
+ }
23
+
24
+ namespace ManualRuleCreateParams {
25
+ interface Location {
26
+ /**
27
+ * Country ISO-3166.
28
+ */
29
+ country: string;
30
+
31
+ /**
32
+ * State ISO-3166.
33
+ */
34
+ state?: string;
35
+ }
36
+
37
+ interface Product {
38
+ /**
39
+ * The type of the product.
40
+ */
41
+ type: Product.Type;
42
+
43
+ /**
44
+ * The licensed item identifier.
45
+ */
46
+ licensed_item?: string;
47
+
48
+ /**
49
+ * The metered item identifier.
50
+ */
51
+ metered_item?: string;
52
+
53
+ /**
54
+ * The tax code for the product.
55
+ */
56
+ tax_code?: string;
57
+ }
58
+
59
+ namespace Product {
60
+ type Type = 'licensed_item' | 'metered_item' | 'tax_code';
61
+ }
62
+
63
+ interface ScheduledTaxRate {
64
+ /**
65
+ * The tax rates to be applied.
66
+ */
67
+ rates: Array<ScheduledTaxRate.Rate>;
68
+
69
+ /**
70
+ * The start time for the tax rate.
71
+ */
72
+ starts_at?: string;
73
+ }
74
+
75
+ namespace ScheduledTaxRate {
76
+ interface Rate {
77
+ /**
78
+ * Country of the tax rate.
79
+ */
80
+ country?: string;
81
+
82
+ /**
83
+ * Description of the tax rate.
84
+ */
85
+ description?: string;
86
+
87
+ /**
88
+ * Display name of the tax rate as it will be shown on the invoice.
89
+ */
90
+ display_name: string;
91
+
92
+ /**
93
+ * Jurisdiction of the tax rate should apply as it will be shown on the invoice.
94
+ */
95
+ jurisdiction?: string;
96
+
97
+ /**
98
+ * Percentage of the tax rate. Must be positive and maximum of 4 decimal points.
99
+ */
100
+ percentage: string;
101
+
102
+ /**
103
+ * State of the tax rate.
104
+ */
105
+ state?: string;
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ namespace Tax {
112
+ interface ManualRuleRetrieveParams {}
113
+ }
114
+
115
+ namespace Tax {
116
+ interface ManualRuleUpdateParams {
117
+ /**
118
+ * Tax rates to be applied.
119
+ */
120
+ scheduled_tax_rates: Array<ManualRuleUpdateParams.ScheduledTaxRate>;
121
+
122
+ /**
123
+ * Location where the rule applies.
124
+ */
125
+ location?: ManualRuleUpdateParams.Location;
126
+
127
+ /**
128
+ * Products associated with the rule.
129
+ */
130
+ products?: Array<ManualRuleUpdateParams.Product>;
131
+ }
132
+
133
+ namespace ManualRuleUpdateParams {
134
+ interface Location {
135
+ /**
136
+ * Country ISO-3166.
137
+ */
138
+ country: string;
139
+
140
+ /**
141
+ * State ISO-3166.
142
+ */
143
+ state?: string;
144
+ }
145
+
146
+ interface Product {
147
+ /**
148
+ * The type of the product.
149
+ */
150
+ type: Product.Type;
151
+
152
+ /**
153
+ * The licensed item identifier.
154
+ */
155
+ licensed_item?: string;
156
+
157
+ /**
158
+ * The metered item identifier.
159
+ */
160
+ metered_item?: string;
161
+
162
+ /**
163
+ * The tax code for the product.
164
+ */
165
+ tax_code?: string;
166
+ }
167
+
168
+ namespace Product {
169
+ type Type = 'licensed_item' | 'metered_item' | 'tax_code';
170
+ }
171
+
172
+ interface ScheduledTaxRate {
173
+ /**
174
+ * The tax rates to be applied.
175
+ */
176
+ rates: Array<ScheduledTaxRate.Rate>;
177
+
178
+ /**
179
+ * The start time for the tax rate.
180
+ */
181
+ starts_at?: string;
182
+ }
183
+
184
+ namespace ScheduledTaxRate {
185
+ interface Rate {
186
+ /**
187
+ * Country of the tax rate.
188
+ */
189
+ country?: string;
190
+
191
+ /**
192
+ * Description of the tax rate.
193
+ */
194
+ description?: string;
195
+
196
+ /**
197
+ * Display name of the tax rate as it will be shown on the invoice.
198
+ */
199
+ display_name: string;
200
+
201
+ /**
202
+ * Jurisdiction of the tax rate should apply as it will be shown on the invoice.
203
+ */
204
+ jurisdiction?: string;
205
+
206
+ /**
207
+ * Percentage of the tax rate. Must be positive and maximum of 4 decimal points.
208
+ */
209
+ percentage: string;
210
+
211
+ /**
212
+ * State of the tax rate.
213
+ */
214
+ state?: string;
215
+ }
216
+ }
217
+ }
218
+ }
219
+
220
+ namespace Tax {
221
+ interface ManualRuleListParams {
222
+ /**
223
+ * Optionally set the maximum number of results per page. Defaults to 20.
224
+ */
225
+ limit?: number;
226
+ }
227
+ }
228
+
229
+ namespace Tax {
230
+ interface ManualRuleDeactivateParams {}
231
+ }
232
+
233
+ namespace Tax {
234
+ class ManualRulesResource {
235
+ /**
236
+ * Creates a ManualRule object.
237
+ */
238
+ create(
239
+ params: ManualRuleCreateParams,
240
+ options?: RequestOptions
241
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
242
+
243
+ /**
244
+ * Retrieves a ManualRule object by ID.
245
+ */
246
+ retrieve(
247
+ id: string,
248
+ params?: ManualRuleRetrieveParams,
249
+ options?: RequestOptions
250
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
251
+ retrieve(
252
+ id: string,
253
+ options?: RequestOptions
254
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
255
+
256
+ /**
257
+ * Updates the Tax configuration for a ManualRule object.
258
+ */
259
+ update(
260
+ id: string,
261
+ params: ManualRuleUpdateParams,
262
+ options?: RequestOptions
263
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
264
+
265
+ /**
266
+ * List all ManualRule objects.
267
+ */
268
+ list(
269
+ params?: ManualRuleListParams,
270
+ options?: RequestOptions
271
+ ): ApiListPromise<Stripe.V2.Tax.ManualRule>;
272
+ list(
273
+ options?: RequestOptions
274
+ ): ApiListPromise<Stripe.V2.Tax.ManualRule>;
275
+
276
+ /**
277
+ * Deactivates a ManualRule object.
278
+ */
279
+ deactivate(
280
+ id: string,
281
+ params?: ManualRuleDeactivateParams,
282
+ options?: RequestOptions
283
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
284
+ deactivate(
285
+ id: string,
286
+ options?: RequestOptions
287
+ ): Promise<Stripe.Response<Stripe.V2.Tax.ManualRule>>;
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
@@ -78,7 +78,7 @@ declare module 'stripe' {
78
78
  livemode: boolean;
79
79
 
80
80
  /**
81
- * 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.
81
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
82
82
  */
83
83
  metadata: Stripe.Metadata;
84
84
 
@@ -34,7 +34,7 @@ declare module 'stripe' {
34
34
  expand?: Array<string>;
35
35
 
36
36
  /**
37
- * 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`.
37
+ * Set of [key-value pairs](https://docs.stripe.com/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`.
38
38
  */
39
39
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
40
40
  }
@@ -158,7 +158,8 @@ declare module 'stripe' {
158
158
  | '2025-08-27.basil'
159
159
  | '2025-09-30.clover'
160
160
  | '2025-10-29.clover'
161
- | '2025-11-17.clover';
161
+ | '2025-11-17.clover'
162
+ | '2025-12-15.clover';
162
163
 
163
164
  type EnabledEvent =
164
165
  | '*'
@@ -484,7 +485,7 @@ declare module 'stripe' {
484
485
  expand?: Array<string>;
485
486
 
486
487
  /**
487
- * 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`.
488
+ * Set of [key-value pairs](https://docs.stripe.com/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`.
488
489
  */
489
490
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
490
491
 
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec
2
2
 
3
- export const ApiVersion = '2025-11-17.preview';
3
+ export const ApiVersion = '2025-12-15.preview';
package/types/index.d.ts CHANGED
@@ -108,6 +108,7 @@
108
108
  ///<reference path='./ReviewsResource.d.ts' />
109
109
  ///<reference path='./SetupAttemptsResource.d.ts' />
110
110
  ///<reference path='./SetupIntentsResource.d.ts' />
111
+ ///<reference path='./SharedPayment/GrantedTokensResource.d.ts' />
111
112
  ///<reference path='./ShippingRatesResource.d.ts' />
112
113
  ///<reference path='./Sigma/ScheduledQueryRunsResource.d.ts' />
113
114
  ///<reference path='./SourcesResource.d.ts' />
@@ -137,6 +138,7 @@
137
138
  ///<reference path='./TestHelpers/Issuing/PersonalizationDesignsResource.d.ts' />
138
139
  ///<reference path='./TestHelpers/Issuing/TransactionsResource.d.ts' />
139
140
  ///<reference path='./TestHelpers/RefundsResource.d.ts' />
141
+ ///<reference path='./TestHelpers/SharedPayment/GrantedTokensResource.d.ts' />
140
142
  ///<reference path='./TestHelpers/Terminal/ReadersResource.d.ts' />
141
143
  ///<reference path='./TestHelpers/TestClocksResource.d.ts' />
142
144
  ///<reference path='./TestHelpers/Treasury/InboundTransfersResource.d.ts' />
@@ -195,6 +197,7 @@
195
197
  ///<reference path='./V2/Core/EventsResource.d.ts' />
196
198
  ///<reference path='./V2/Core/Vault/GbBankAccountsResource.d.ts' />
197
199
  ///<reference path='./V2/Core/Vault/UsBankAccountsResource.d.ts' />
200
+ ///<reference path='./V2/Iam/ApiKeysResource.d.ts' />
198
201
  ///<reference path='./V2/MoneyManagement/AdjustmentsResource.d.ts' />
199
202
  ///<reference path='./V2/MoneyManagement/CurrencyConversionsResource.d.ts' />
200
203
  ///<reference path='./V2/MoneyManagement/FinancialAccountsResource.d.ts' />
@@ -212,8 +215,11 @@
212
215
  ///<reference path='./V2/MoneyManagement/TransactionEntriesResource.d.ts' />
213
216
  ///<reference path='./V2/MoneyManagement/TransactionsResource.d.ts' />
214
217
  ///<reference path='./V2/Payments/OffSessionPaymentsResource.d.ts' />
218
+ ///<reference path='./V2/Payments/SettlementAllocationIntents/SplitsResource.d.ts' />
219
+ ///<reference path='./V2/Payments/SettlementAllocationIntentsResource.d.ts' />
215
220
  ///<reference path='./V2/Reporting/ReportRunsResource.d.ts' />
216
221
  ///<reference path='./V2/Reporting/ReportsResource.d.ts' />
222
+ ///<reference path='./V2/Tax/ManualRulesResource.d.ts' />
217
223
  ///<reference path='./V2/TestHelpers/FinancialAddressesResource.d.ts' />
218
224
  ///<reference path='./V2/TestHelpers/MoneyManagementResource.d.ts' />
219
225
  ///<reference path='./WebhookEndpointsResource.d.ts' />
@@ -349,6 +355,7 @@
349
355
  ///<reference path='./Reviews.d.ts' />
350
356
  ///<reference path='./SetupAttempts.d.ts' />
351
357
  ///<reference path='./SetupIntents.d.ts' />
358
+ ///<reference path='./SharedPayment/GrantedTokens.d.ts' />
352
359
  ///<reference path='./ShippingRates.d.ts' />
353
360
  ///<reference path='./Sigma/ScheduledQueryRuns.d.ts' />
354
361
  ///<reference path='./SourceMandateNotifications.d.ts' />
@@ -432,6 +439,7 @@
432
439
  ///<reference path='./V2/DeletedObject.d.ts' />
433
440
  ///<reference path='./V2/FinancialAddressCreditSimulations.d.ts' />
434
441
  ///<reference path='./V2/FinancialAddressGeneratedMicrodeposits.d.ts' />
442
+ ///<reference path='./V2/Iam/ApiKeys.d.ts' />
435
443
  ///<reference path='./V2/MoneyManagement/Adjustments.d.ts' />
436
444
  ///<reference path='./V2/MoneyManagement/CurrencyConversions.d.ts' />
437
445
  ///<reference path='./V2/MoneyManagement/FinancialAccounts.d.ts' />
@@ -449,8 +457,11 @@
449
457
  ///<reference path='./V2/MoneyManagement/TransactionEntries.d.ts' />
450
458
  ///<reference path='./V2/MoneyManagement/Transactions.d.ts' />
451
459
  ///<reference path='./V2/Payments/OffSessionPayments.d.ts' />
460
+ ///<reference path='./V2/Payments/SettlementAllocationIntentSplits.d.ts' />
461
+ ///<reference path='./V2/Payments/SettlementAllocationIntents.d.ts' />
452
462
  ///<reference path='./V2/Reporting/ReportRuns.d.ts' />
453
463
  ///<reference path='./V2/Reporting/Reports.d.ts' />
464
+ ///<reference path='./V2/Tax/ManualRules.d.ts' />
454
465
  ///<reference path='./WebhookEndpoints.d.ts' />
455
466
  // Imports: The end of the section generated from our OpenAPI spec
456
467
 
@@ -616,6 +627,9 @@ declare module 'stripe' {
616
627
  reportRuns: Stripe.Reporting.ReportRunsResource;
617
628
  reportTypes: Stripe.Reporting.ReportTypesResource;
618
629
  };
630
+ sharedPayment: {
631
+ grantedTokens: Stripe.SharedPayment.GrantedTokensResource;
632
+ };
619
633
  sigma: {
620
634
  scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
621
635
  };
@@ -649,6 +663,9 @@ declare module 'stripe' {
649
663
  personalizationDesigns: Stripe.TestHelpers.Issuing.PersonalizationDesignsResource;
650
664
  transactions: Stripe.TestHelpers.Issuing.TransactionsResource;
651
665
  };
666
+ sharedPayment: {
667
+ grantedTokens: Stripe.TestHelpers.SharedPayment.GrantedTokensResource;
668
+ };
652
669
  terminal: {
653
670
  readers: Stripe.TestHelpers.Terminal.ReadersResource;
654
671
  };
@@ -706,6 +723,9 @@ declare module 'stripe' {
706
723
  usBankAccounts: Stripe.V2.Core.Vault.UsBankAccountsResource;
707
724
  };
708
725
  };
726
+ iam: {
727
+ apiKeys: Stripe.V2.Iam.ApiKeysResource;
728
+ };
709
729
  moneyManagement: {
710
730
  adjustments: Stripe.V2.MoneyManagement.AdjustmentsResource;
711
731
  currencyConversions: Stripe.V2.MoneyManagement.CurrencyConversionsResource;
@@ -726,11 +746,15 @@ declare module 'stripe' {
726
746
  };
727
747
  payment: {
728
748
  offSessionPayments: Stripe.V2.Payments.OffSessionPaymentsResource;
749
+ settlementAllocationIntents: Stripe.V2.Payments.SettlementAllocationIntentsResource;
729
750
  };
730
751
  reporting: {
731
752
  reports: Stripe.V2.Reporting.ReportsResource;
732
753
  reportRuns: Stripe.V2.Reporting.ReportRunsResource;
733
754
  };
755
+ tax: {
756
+ manualRules: Stripe.V2.Tax.ManualRulesResource;
757
+ };
734
758
  testHelper: {
735
759
  financialAddresses: Stripe.V2.TestHelpers.FinancialAddressesResource;
736
760
  moneyManagement: Stripe.V2.TestHelpers.MoneyManagementResource;