@peable.to/contracts 0.3.0 → 1.0.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 (316) hide show
  1. package/dist/cjs/common/address.js +81 -0
  2. package/dist/cjs/common/envelopes.js +101 -0
  3. package/dist/cjs/common/objects.js +85 -0
  4. package/dist/cjs/common/params.js +211 -0
  5. package/dist/cjs/common/primitives.js +39 -0
  6. package/dist/cjs/contributions.js +22 -0
  7. package/dist/cjs/index.js +40 -97
  8. package/dist/cjs/openapi/document.js +297 -0
  9. package/dist/cjs/openapi/index.js +7 -0
  10. package/dist/cjs/openapi/webhooks.js +17 -0
  11. package/dist/cjs/resources/billingEngine/billingPortal.js +237 -0
  12. package/dist/cjs/resources/billingEngine/creditNotes.js +189 -0
  13. package/dist/cjs/resources/billingEngine/customerBalanceTransactions.js +90 -0
  14. package/dist/cjs/resources/billingEngine/index.js +43 -0
  15. package/dist/cjs/resources/billingEngine/invoiceItems.js +155 -0
  16. package/dist/cjs/resources/billingEngine/invoices.js +509 -0
  17. package/dist/cjs/resources/billingEngine/params.js +43 -0
  18. package/dist/cjs/resources/billingEngine/public.js +326 -0
  19. package/dist/cjs/resources/billingEngine/subscriptions.js +476 -0
  20. package/dist/cjs/resources/catalog/billing.js +755 -0
  21. package/dist/cjs/resources/catalog/billingSettings.js +131 -0
  22. package/dist/cjs/resources/catalog/coupons.js +222 -0
  23. package/dist/cjs/resources/catalog/entitlements.js +257 -0
  24. package/dist/cjs/resources/catalog/index.js +58 -0
  25. package/dist/cjs/resources/catalog/meters.js +279 -0
  26. package/dist/cjs/resources/catalog/prices.js +423 -0
  27. package/dist/cjs/resources/catalog/products.js +228 -0
  28. package/dist/cjs/resources/catalog/promotionCodes.js +174 -0
  29. package/dist/cjs/resources/catalog/shared.js +75 -0
  30. package/dist/cjs/resources/catalog/testClocks.js +127 -0
  31. package/dist/cjs/resources/checkout/checkoutSessions.js +582 -0
  32. package/dist/cjs/resources/checkout/contributions.js +172 -0
  33. package/dist/cjs/resources/checkout/files.js +133 -0
  34. package/dist/cjs/resources/checkout/index.js +57 -0
  35. package/dist/cjs/resources/checkout/merchants.js +290 -0
  36. package/dist/cjs/resources/checkout/paymentLinks.js +330 -0
  37. package/dist/cjs/resources/checkout/paymentMethodConfigurations.js +262 -0
  38. package/dist/cjs/resources/checkout/shared.js +368 -0
  39. package/dist/cjs/resources/connect/account.js +332 -0
  40. package/dist/cjs/resources/connect/applicationFees.js +113 -0
  41. package/dist/cjs/resources/connect/balance.js +212 -0
  42. package/dist/cjs/resources/connect/connectedAccounts.js +260 -0
  43. package/dist/cjs/resources/connect/index.js +51 -0
  44. package/dist/cjs/resources/connect/onboarding.js +82 -0
  45. package/dist/cjs/resources/connect/payouts.js +196 -0
  46. package/dist/cjs/resources/connect/reporting.js +235 -0
  47. package/dist/cjs/resources/connect/requestLogs.js +110 -0
  48. package/dist/cjs/resources/connect/transfers.js +227 -0
  49. package/dist/cjs/resources/core/customers.js +194 -0
  50. package/dist/cjs/resources/core/index.js +23 -0
  51. package/dist/cjs/resources/core/paymentMethods.js +134 -0
  52. package/dist/cjs/resources/events/events.js +357 -0
  53. package/dist/cjs/resources/events/index.js +29 -0
  54. package/dist/cjs/resources/events/webhookDeliveries.js +93 -0
  55. package/dist/cjs/resources/events/webhookEndpoints.js +215 -0
  56. package/dist/cjs/resources/payments/charges.js +157 -0
  57. package/dist/cjs/resources/payments/disputes.js +204 -0
  58. package/dist/cjs/resources/payments/index.js +41 -0
  59. package/dist/cjs/resources/payments/paymentIntents.js +529 -0
  60. package/dist/cjs/resources/payments/refunds.js +245 -0
  61. package/dist/cjs/resources/payments/setupIntents.js +158 -0
  62. package/dist/cjs/resources/payments/social.js +182 -0
  63. package/dist/cjs/resources/payments/testHelpers.js +39 -0
  64. package/dist/cjs/resources/tax/assessments.js +217 -0
  65. package/dist/cjs/resources/tax/businessProfile.js +99 -0
  66. package/dist/cjs/resources/tax/calculations.js +176 -0
  67. package/dist/cjs/resources/tax/capabilities.js +42 -0
  68. package/dist/cjs/resources/tax/codes.js +37 -0
  69. package/dist/cjs/resources/tax/complianceActions.js +56 -0
  70. package/dist/cjs/resources/tax/deadlines.js +59 -0
  71. package/dist/cjs/resources/tax/documents.js +128 -0
  72. package/dist/cjs/resources/tax/index.js +80 -0
  73. package/dist/cjs/resources/tax/locationEvidence.js +131 -0
  74. package/dist/cjs/resources/tax/operatingLocations.js +98 -0
  75. package/dist/cjs/resources/tax/products.js +67 -0
  76. package/dist/cjs/resources/tax/registrationDeclarations.js +124 -0
  77. package/dist/cjs/resources/tax/registrations.js +82 -0
  78. package/dist/cjs/resources/tax/reports.js +92 -0
  79. package/dist/cjs/resources/tax/reviewItems.js +116 -0
  80. package/dist/cjs/resources/tax/ruleSet.js +68 -0
  81. package/dist/cjs/resources/tax/salesDestinations.js +94 -0
  82. package/dist/cjs/resources/tax/settings.js +104 -0
  83. package/dist/cjs/resources/tax/shared.js +62 -0
  84. package/dist/cjs/resources/tax/transactions.js +102 -0
  85. package/dist/cjs/route.js +22 -0
  86. package/dist/cjs/routes.js +31 -0
  87. package/dist/cjs/vocabulary/billingPortal.js +15 -0
  88. package/dist/cjs/vocabulary/catalog.js +110 -0
  89. package/dist/cjs/vocabulary/checkout.js +53 -0
  90. package/dist/cjs/vocabulary/connect.js +95 -0
  91. package/dist/cjs/vocabulary/errors.js +174 -0
  92. package/dist/cjs/vocabulary/events.js +176 -0
  93. package/dist/cjs/vocabulary/files.js +44 -0
  94. package/dist/cjs/vocabulary/index.js +37 -0
  95. package/dist/cjs/vocabulary/invoices.js +52 -0
  96. package/dist/cjs/vocabulary/lists.js +22 -0
  97. package/dist/cjs/vocabulary/merchants.js +23 -0
  98. package/dist/cjs/vocabulary/money.js +104 -0
  99. package/dist/cjs/vocabulary/paymentMethodConfigurations.js +36 -0
  100. package/dist/cjs/vocabulary/payments.js +195 -0
  101. package/dist/cjs/vocabulary/reporting.js +27 -0
  102. package/dist/cjs/vocabulary/subscriptions.js +60 -0
  103. package/dist/cjs/vocabulary/tax.js +237 -0
  104. package/dist/cjs/vocabulary/version.js +12 -0
  105. package/dist/esm/common/address.js +76 -0
  106. package/dist/esm/common/envelopes.js +95 -0
  107. package/dist/esm/common/objects.js +74 -0
  108. package/dist/esm/common/params.js +203 -0
  109. package/dist/esm/common/primitives.js +35 -0
  110. package/dist/esm/contributions.js +5 -0
  111. package/dist/esm/index.js +26 -94
  112. package/dist/esm/openapi/document.js +294 -0
  113. package/dist/esm/openapi/index.js +2 -0
  114. package/dist/esm/openapi/webhooks.js +14 -0
  115. package/dist/esm/resources/billingEngine/billingPortal.js +234 -0
  116. package/dist/esm/resources/billingEngine/creditNotes.js +186 -0
  117. package/dist/esm/resources/billingEngine/customerBalanceTransactions.js +87 -0
  118. package/dist/esm/resources/billingEngine/index.js +26 -0
  119. package/dist/esm/resources/billingEngine/invoiceItems.js +152 -0
  120. package/dist/esm/resources/billingEngine/invoices.js +506 -0
  121. package/dist/esm/resources/billingEngine/params.js +39 -0
  122. package/dist/esm/resources/billingEngine/public.js +323 -0
  123. package/dist/esm/resources/billingEngine/subscriptions.js +473 -0
  124. package/dist/esm/resources/catalog/billing.js +752 -0
  125. package/dist/esm/resources/catalog/billingSettings.js +128 -0
  126. package/dist/esm/resources/catalog/coupons.js +219 -0
  127. package/dist/esm/resources/catalog/entitlements.js +254 -0
  128. package/dist/esm/resources/catalog/index.js +38 -0
  129. package/dist/esm/resources/catalog/meters.js +276 -0
  130. package/dist/esm/resources/catalog/prices.js +419 -0
  131. package/dist/esm/resources/catalog/products.js +225 -0
  132. package/dist/esm/resources/catalog/promotionCodes.js +171 -0
  133. package/dist/esm/resources/catalog/shared.js +67 -0
  134. package/dist/esm/resources/catalog/testClocks.js +124 -0
  135. package/dist/esm/resources/checkout/checkoutSessions.js +579 -0
  136. package/dist/esm/resources/checkout/contributions.js +167 -0
  137. package/dist/esm/resources/checkout/files.js +130 -0
  138. package/dist/esm/resources/checkout/index.js +25 -0
  139. package/dist/esm/resources/checkout/merchants.js +287 -0
  140. package/dist/esm/resources/checkout/paymentLinks.js +327 -0
  141. package/dist/esm/resources/checkout/paymentMethodConfigurations.js +259 -0
  142. package/dist/esm/resources/checkout/shared.js +363 -0
  143. package/dist/esm/resources/connect/account.js +329 -0
  144. package/dist/esm/resources/connect/applicationFees.js +110 -0
  145. package/dist/esm/resources/connect/balance.js +209 -0
  146. package/dist/esm/resources/connect/connectedAccounts.js +257 -0
  147. package/dist/esm/resources/connect/index.js +34 -0
  148. package/dist/esm/resources/connect/onboarding.js +79 -0
  149. package/dist/esm/resources/connect/payouts.js +193 -0
  150. package/dist/esm/resources/connect/reporting.js +232 -0
  151. package/dist/esm/resources/connect/requestLogs.js +107 -0
  152. package/dist/esm/resources/connect/transfers.js +224 -0
  153. package/dist/esm/resources/core/customers.js +191 -0
  154. package/dist/esm/resources/core/index.js +6 -0
  155. package/dist/esm/resources/core/paymentMethods.js +131 -0
  156. package/dist/esm/resources/events/events.js +353 -0
  157. package/dist/esm/resources/events/index.js +12 -0
  158. package/dist/esm/resources/events/webhookDeliveries.js +90 -0
  159. package/dist/esm/resources/events/webhookEndpoints.js +212 -0
  160. package/dist/esm/resources/payments/charges.js +154 -0
  161. package/dist/esm/resources/payments/disputes.js +201 -0
  162. package/dist/esm/resources/payments/index.js +24 -0
  163. package/dist/esm/resources/payments/paymentIntents.js +526 -0
  164. package/dist/esm/resources/payments/refunds.js +242 -0
  165. package/dist/esm/resources/payments/setupIntents.js +155 -0
  166. package/dist/esm/resources/payments/social.js +179 -0
  167. package/dist/esm/resources/payments/testHelpers.js +36 -0
  168. package/dist/esm/resources/tax/assessments.js +214 -0
  169. package/dist/esm/resources/tax/businessProfile.js +96 -0
  170. package/dist/esm/resources/tax/calculations.js +173 -0
  171. package/dist/esm/resources/tax/capabilities.js +39 -0
  172. package/dist/esm/resources/tax/codes.js +34 -0
  173. package/dist/esm/resources/tax/complianceActions.js +53 -0
  174. package/dist/esm/resources/tax/deadlines.js +56 -0
  175. package/dist/esm/resources/tax/documents.js +125 -0
  176. package/dist/esm/resources/tax/index.js +63 -0
  177. package/dist/esm/resources/tax/locationEvidence.js +128 -0
  178. package/dist/esm/resources/tax/operatingLocations.js +95 -0
  179. package/dist/esm/resources/tax/products.js +64 -0
  180. package/dist/esm/resources/tax/registrationDeclarations.js +121 -0
  181. package/dist/esm/resources/tax/registrations.js +79 -0
  182. package/dist/esm/resources/tax/reports.js +89 -0
  183. package/dist/esm/resources/tax/reviewItems.js +113 -0
  184. package/dist/esm/resources/tax/ruleSet.js +65 -0
  185. package/dist/esm/resources/tax/salesDestinations.js +91 -0
  186. package/dist/esm/resources/tax/settings.js +101 -0
  187. package/dist/esm/resources/tax/shared.js +58 -0
  188. package/dist/esm/resources/tax/transactions.js +99 -0
  189. package/dist/esm/route.js +16 -0
  190. package/dist/esm/routes.js +27 -0
  191. package/dist/esm/vocabulary/billingPortal.js +12 -0
  192. package/dist/esm/vocabulary/catalog.js +106 -0
  193. package/dist/esm/vocabulary/checkout.js +50 -0
  194. package/dist/esm/vocabulary/connect.js +92 -0
  195. package/dist/esm/vocabulary/errors.js +169 -0
  196. package/dist/esm/vocabulary/events.js +173 -0
  197. package/dist/esm/vocabulary/files.js +41 -0
  198. package/dist/esm/vocabulary/index.js +21 -0
  199. package/dist/esm/vocabulary/invoices.js +49 -0
  200. package/dist/esm/vocabulary/lists.js +19 -0
  201. package/dist/esm/vocabulary/merchants.js +20 -0
  202. package/dist/esm/vocabulary/money.js +98 -0
  203. package/dist/esm/vocabulary/paymentMethodConfigurations.js +33 -0
  204. package/dist/esm/vocabulary/payments.js +192 -0
  205. package/dist/esm/vocabulary/reporting.js +24 -0
  206. package/dist/esm/vocabulary/subscriptions.js +57 -0
  207. package/dist/esm/vocabulary/tax.js +233 -0
  208. package/dist/esm/vocabulary/version.js +9 -0
  209. package/dist/types/common/address.d.ts +62 -0
  210. package/dist/types/common/envelopes.d.ts +88 -0
  211. package/dist/types/common/objects.d.ts +107 -0
  212. package/dist/types/common/params.d.ts +156 -0
  213. package/dist/types/common/primitives.d.ts +56 -0
  214. package/dist/types/contributions.d.ts +1 -0
  215. package/dist/types/index.d.ts +16 -134
  216. package/dist/types/openapi/document.d.ts +16 -0
  217. package/dist/types/openapi/index.d.ts +2 -0
  218. package/dist/types/openapi/webhooks.d.ts +15 -0
  219. package/dist/types/resources/billingEngine/billingPortal.d.ts +742 -0
  220. package/dist/types/resources/billingEngine/creditNotes.d.ts +655 -0
  221. package/dist/types/resources/billingEngine/customerBalanceTransactions.d.ts +282 -0
  222. package/dist/types/resources/billingEngine/index.d.ts +6071 -0
  223. package/dist/types/resources/billingEngine/invoiceItems.d.ts +502 -0
  224. package/dist/types/resources/billingEngine/invoices.d.ts +2547 -0
  225. package/dist/types/resources/billingEngine/params.d.ts +51 -0
  226. package/dist/types/resources/billingEngine/public.d.ts +1860 -0
  227. package/dist/types/resources/billingEngine/subscriptions.d.ts +1519 -0
  228. package/dist/types/resources/catalog/billing.d.ts +1723 -0
  229. package/dist/types/resources/catalog/billingSettings.d.ts +160 -0
  230. package/dist/types/resources/catalog/coupons.d.ts +403 -0
  231. package/dist/types/resources/catalog/entitlements.d.ts +422 -0
  232. package/dist/types/resources/catalog/index.d.ts +3155 -0
  233. package/dist/types/resources/catalog/meters.d.ts +474 -0
  234. package/dist/types/resources/catalog/prices.d.ts +1091 -0
  235. package/dist/types/resources/catalog/products.d.ts +430 -0
  236. package/dist/types/resources/catalog/promotionCodes.d.ts +369 -0
  237. package/dist/types/resources/catalog/shared.d.ts +34 -0
  238. package/dist/types/resources/catalog/testClocks.d.ts +220 -0
  239. package/dist/types/resources/checkout/checkoutSessions.d.ts +3207 -0
  240. package/dist/types/resources/checkout/contributions.d.ts +375 -0
  241. package/dist/types/resources/checkout/files.d.ts +280 -0
  242. package/dist/types/resources/checkout/index.d.ts +5678 -0
  243. package/dist/types/resources/checkout/merchants.d.ts +395 -0
  244. package/dist/types/resources/checkout/paymentLinks.d.ts +1728 -0
  245. package/dist/types/resources/checkout/paymentMethodConfigurations.d.ts +2104 -0
  246. package/dist/types/resources/checkout/shared.d.ts +419 -0
  247. package/dist/types/resources/connect/account.d.ts +483 -0
  248. package/dist/types/resources/connect/applicationFees.d.ts +198 -0
  249. package/dist/types/resources/connect/balance.d.ts +399 -0
  250. package/dist/types/resources/connect/connectedAccounts.d.ts +494 -0
  251. package/dist/types/resources/connect/index.d.ts +2094 -0
  252. package/dist/types/resources/connect/onboarding.d.ts +95 -0
  253. package/dist/types/resources/connect/payouts.d.ts +527 -0
  254. package/dist/types/resources/connect/reporting.d.ts +506 -0
  255. package/dist/types/resources/connect/requestLogs.d.ts +236 -0
  256. package/dist/types/resources/connect/transfers.d.ts +436 -0
  257. package/dist/types/resources/core/customers.d.ts +619 -0
  258. package/dist/types/resources/core/index.d.ts +679 -0
  259. package/dist/types/resources/core/paymentMethods.d.ts +336 -0
  260. package/dist/types/resources/events/events.d.ts +731 -0
  261. package/dist/types/resources/events/index.d.ts +1727 -0
  262. package/dist/types/resources/events/webhookDeliveries.d.ts +436 -0
  263. package/dist/types/resources/events/webhookEndpoints.d.ts +1502 -0
  264. package/dist/types/resources/payments/charges.d.ts +390 -0
  265. package/dist/types/resources/payments/disputes.d.ts +822 -0
  266. package/dist/types/resources/payments/index.d.ts +3517 -0
  267. package/dist/types/resources/payments/paymentIntents.d.ts +2080 -0
  268. package/dist/types/resources/payments/refunds.d.ts +684 -0
  269. package/dist/types/resources/payments/setupIntents.d.ts +391 -0
  270. package/dist/types/resources/payments/social.d.ts +266 -0
  271. package/dist/types/resources/payments/testHelpers.d.ts +178 -0
  272. package/dist/types/resources/tax/assessments.d.ts +787 -0
  273. package/dist/types/resources/tax/businessProfile.d.ts +134 -0
  274. package/dist/types/resources/tax/calculations.d.ts +261 -0
  275. package/dist/types/resources/tax/capabilities.d.ts +81 -0
  276. package/dist/types/resources/tax/codes.d.ts +29 -0
  277. package/dist/types/resources/tax/complianceActions.d.ts +97 -0
  278. package/dist/types/resources/tax/deadlines.d.ts +133 -0
  279. package/dist/types/resources/tax/documents.d.ts +257 -0
  280. package/dist/types/resources/tax/index.d.ts +1946 -0
  281. package/dist/types/resources/tax/locationEvidence.d.ts +246 -0
  282. package/dist/types/resources/tax/operatingLocations.d.ts +170 -0
  283. package/dist/types/resources/tax/products.d.ts +68 -0
  284. package/dist/types/resources/tax/registrationDeclarations.d.ts +270 -0
  285. package/dist/types/resources/tax/registrations.d.ts +103 -0
  286. package/dist/types/resources/tax/reports.d.ts +129 -0
  287. package/dist/types/resources/tax/reviewItems.d.ts +226 -0
  288. package/dist/types/resources/tax/ruleSet.d.ts +219 -0
  289. package/dist/types/resources/tax/salesDestinations.d.ts +158 -0
  290. package/dist/types/resources/tax/settings.d.ts +122 -0
  291. package/dist/types/resources/tax/shared.d.ts +43 -0
  292. package/dist/types/resources/tax/transactions.d.ts +404 -0
  293. package/dist/types/route.d.ts +86 -0
  294. package/dist/types/routes.d.ts +23 -0
  295. package/dist/types/vocabulary/billingPortal.d.ts +15 -0
  296. package/dist/types/vocabulary/catalog.d.ts +97 -0
  297. package/dist/types/vocabulary/checkout.d.ts +49 -0
  298. package/dist/types/vocabulary/connect.d.ts +62 -0
  299. package/dist/types/vocabulary/errors.d.ts +145 -0
  300. package/dist/types/vocabulary/events.d.ts +171 -0
  301. package/dist/types/vocabulary/files.d.ts +30 -0
  302. package/dist/types/vocabulary/index.d.ts +17 -0
  303. package/dist/types/vocabulary/invoices.d.ts +39 -0
  304. package/dist/types/vocabulary/lists.d.ts +9 -0
  305. package/dist/types/vocabulary/merchants.d.ts +9 -0
  306. package/dist/types/vocabulary/money.d.ts +59 -0
  307. package/dist/types/vocabulary/paymentMethodConfigurations.d.ts +22 -0
  308. package/dist/types/vocabulary/payments.d.ts +117 -0
  309. package/dist/types/vocabulary/reporting.d.ts +18 -0
  310. package/dist/types/vocabulary/subscriptions.d.ts +45 -0
  311. package/dist/types/vocabulary/tax.d.ts +163 -0
  312. package/dist/types/vocabulary/version.d.ts +10 -0
  313. package/package.json +51 -11
  314. package/dist/cjs/openapi.js +0 -138
  315. package/dist/esm/openapi.js +0 -134
  316. package/dist/types/openapi.d.ts +0 -145
@@ -0,0 +1,1727 @@
1
+ export * from './events';
2
+ export * from './webhookDeliveries';
3
+ export * from './webhookEndpoints';
4
+ /** Events, the webhook endpoints they are sent to, and the deliveries of them. */
5
+ export declare const eventsRoutes: readonly [{
6
+ readonly operationId: "listEvents";
7
+ readonly method: "get";
8
+ readonly path: "/v1/events";
9
+ readonly tag: "Events";
10
+ readonly summary: "List events";
11
+ readonly description: "Every event of the last 30 days, newest first, rendered exactly as its webhook deliveries carried it.";
12
+ readonly auth: "service";
13
+ readonly scope: "payments:read";
14
+ readonly query: import("zod").ZodObject<{
15
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
16
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
17
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
18
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
19
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
20
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
21
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
22
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
23
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
24
+ gt?: number | undefined;
25
+ gte?: number | undefined;
26
+ lt?: number | undefined;
27
+ lte?: number | undefined;
28
+ }>>]>>;
29
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
30
+ type: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<{
31
+ readonly kind: "exact";
32
+ readonly type: string;
33
+ } | {
34
+ readonly kind: "prefix";
35
+ readonly prefix: string;
36
+ } | undefined, string>>>;
37
+ delivery_success: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodEnum<{
38
+ true: "true";
39
+ false: "false";
40
+ }>]>, import("zod").ZodTransform<boolean, boolean | "true" | "false">>>;
41
+ payment_intent: import("zod").ZodOptional<import("zod").ZodString>;
42
+ }, import("zod/v4/core").$strict>;
43
+ readonly response: import("zod").ZodObject<{
44
+ object: import("zod").ZodLiteral<"list">;
45
+ data: import("zod").ZodArray<import("zod").ZodObject<{
46
+ data: import("zod").ZodObject<{
47
+ object: import("zod").ZodUnion<import("zod").ZodLazy<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>[]>;
48
+ previous_attributes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
49
+ }, import("zod/v4/core").$strict>;
50
+ request: import("zod").ZodObject<{
51
+ id: import("zod").ZodNullable<import("zod").ZodString>;
52
+ idempotency_key: import("zod").ZodNullable<import("zod").ZodString>;
53
+ }, import("zod/v4/core").$strict>;
54
+ created: import("zod").ZodNumber;
55
+ livemode: import("zod").ZodBoolean;
56
+ api_version: import("zod").ZodString;
57
+ account: import("zod").ZodOptional<import("zod").ZodString>;
58
+ type: import("zod").ZodEnum<{
59
+ "payment_intent.created": "payment_intent.created";
60
+ "payment_intent.requires_action": "payment_intent.requires_action";
61
+ "payment_intent.processing": "payment_intent.processing";
62
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
63
+ "payment_intent.succeeded": "payment_intent.succeeded";
64
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
65
+ "payment_intent.canceled": "payment_intent.canceled";
66
+ "charge.refunded": "charge.refunded";
67
+ "charge.dispute.created": "charge.dispute.created";
68
+ "charge.dispute.updated": "charge.dispute.updated";
69
+ "charge.dispute.closed": "charge.dispute.closed";
70
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
71
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
72
+ "refund.created": "refund.created";
73
+ "refund.updated": "refund.updated";
74
+ "refund.failed": "refund.failed";
75
+ "customer.created": "customer.created";
76
+ "customer.updated": "customer.updated";
77
+ "customer.deleted": "customer.deleted";
78
+ "payment_method.attached": "payment_method.attached";
79
+ "payment_method.detached": "payment_method.detached";
80
+ "payment_method.updated": "payment_method.updated";
81
+ "setup_intent.created": "setup_intent.created";
82
+ "setup_intent.requires_action": "setup_intent.requires_action";
83
+ "setup_intent.succeeded": "setup_intent.succeeded";
84
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
85
+ "setup_intent.canceled": "setup_intent.canceled";
86
+ "billing.observation.updated": "billing.observation.updated";
87
+ "connected_account.updated": "connected_account.updated";
88
+ "product.created": "product.created";
89
+ "product.updated": "product.updated";
90
+ "product.deleted": "product.deleted";
91
+ "price.created": "price.created";
92
+ "price.updated": "price.updated";
93
+ "coupon.created": "coupon.created";
94
+ "coupon.updated": "coupon.updated";
95
+ "coupon.deleted": "coupon.deleted";
96
+ "promotion_code.created": "promotion_code.created";
97
+ "promotion_code.updated": "promotion_code.updated";
98
+ "account.updated": "account.updated";
99
+ "application_fee.created": "application_fee.created";
100
+ "application_fee.refunded": "application_fee.refunded";
101
+ "payout.created": "payout.created";
102
+ "payout.updated": "payout.updated";
103
+ "payout.paid": "payout.paid";
104
+ "payout.failed": "payout.failed";
105
+ "payout.canceled": "payout.canceled";
106
+ "balance.available": "balance.available";
107
+ "checkout.session.completed": "checkout.session.completed";
108
+ "checkout.session.expired": "checkout.session.expired";
109
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
110
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
111
+ "payment_link.created": "payment_link.created";
112
+ "payment_link.updated": "payment_link.updated";
113
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
114
+ "reporting.report_run.failed": "reporting.report_run.failed";
115
+ "customer.subscription.created": "customer.subscription.created";
116
+ "customer.subscription.updated": "customer.subscription.updated";
117
+ "customer.subscription.deleted": "customer.subscription.deleted";
118
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
119
+ "customer.subscription.paused": "customer.subscription.paused";
120
+ "customer.subscription.resumed": "customer.subscription.resumed";
121
+ "invoice.created": "invoice.created";
122
+ "invoice.updated": "invoice.updated";
123
+ "invoice.deleted": "invoice.deleted";
124
+ "invoice.finalized": "invoice.finalized";
125
+ "invoice.paid": "invoice.paid";
126
+ "invoice.payment_failed": "invoice.payment_failed";
127
+ "invoice.payment_action_required": "invoice.payment_action_required";
128
+ "invoice.voided": "invoice.voided";
129
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
130
+ "invoice.upcoming": "invoice.upcoming";
131
+ "invoice.sent": "invoice.sent";
132
+ "invoiceitem.created": "invoiceitem.created";
133
+ "invoiceitem.deleted": "invoiceitem.deleted";
134
+ "credit_note.created": "credit_note.created";
135
+ "credit_note.updated": "credit_note.updated";
136
+ "credit_note.voided": "credit_note.voided";
137
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
138
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
139
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
140
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
141
+ "billing.meter.created": "billing.meter.created";
142
+ "billing.meter.updated": "billing.meter.updated";
143
+ "billing.meter.deactivated": "billing.meter.deactivated";
144
+ "billing.meter.reactivated": "billing.meter.reactivated";
145
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
146
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
147
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
148
+ "billing_portal.session.created": "billing_portal.session.created";
149
+ "tax.assessment.created": "tax.assessment.created";
150
+ "tax.review_item.created": "tax.review_item.created";
151
+ "tax.review_item.updated": "tax.review_item.updated";
152
+ "webhook_endpoint.test": "webhook_endpoint.test";
153
+ }>;
154
+ id: import("zod").ZodString;
155
+ object: import("zod").ZodLiteral<"event">;
156
+ }, import("zod/v4/core").$strict>>;
157
+ has_more: import("zod").ZodBoolean;
158
+ url: import("zod").ZodString;
159
+ }, import("zod/v4/core").$strict>;
160
+ readonly sdk: "events.list";
161
+ readonly expandable: "event";
162
+ }, {
163
+ readonly operationId: "streamEvents";
164
+ readonly method: "get";
165
+ readonly path: "/v1/events/stream";
166
+ readonly tag: "Events";
167
+ readonly summary: "Stream events";
168
+ readonly description: "Server-Sent Events: every event of this merchant as it commits, rendered exactly as a webhook delivery carries it (`event: event`, `id:` the `evt_…`). Resumes after `Last-Event-ID`. Test mode only — what `peable listen` forwards to a local server.";
169
+ readonly auth: "service";
170
+ readonly scope: "payments:read";
171
+ readonly testModeOnly: true;
172
+ readonly query: import("zod").ZodObject<{
173
+ types: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string[], string>>, import("zod").ZodArray<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<{
174
+ readonly kind: "exact";
175
+ readonly type: string;
176
+ } | {
177
+ readonly kind: "prefix";
178
+ readonly prefix: string;
179
+ } | undefined, string>>>>>;
180
+ }, import("zod/v4/core").$strict>;
181
+ readonly response: {
182
+ readonly kind: "stream";
183
+ readonly event: import("zod").ZodObject<{
184
+ data: import("zod").ZodObject<{
185
+ object: import("zod").ZodUnion<import("zod").ZodLazy<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>[]>;
186
+ previous_attributes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
187
+ }, import("zod/v4/core").$strict>;
188
+ request: import("zod").ZodObject<{
189
+ id: import("zod").ZodNullable<import("zod").ZodString>;
190
+ idempotency_key: import("zod").ZodNullable<import("zod").ZodString>;
191
+ }, import("zod/v4/core").$strict>;
192
+ created: import("zod").ZodNumber;
193
+ livemode: import("zod").ZodBoolean;
194
+ api_version: import("zod").ZodString;
195
+ account: import("zod").ZodOptional<import("zod").ZodString>;
196
+ type: import("zod").ZodEnum<{
197
+ "payment_intent.created": "payment_intent.created";
198
+ "payment_intent.requires_action": "payment_intent.requires_action";
199
+ "payment_intent.processing": "payment_intent.processing";
200
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
201
+ "payment_intent.succeeded": "payment_intent.succeeded";
202
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
203
+ "payment_intent.canceled": "payment_intent.canceled";
204
+ "charge.refunded": "charge.refunded";
205
+ "charge.dispute.created": "charge.dispute.created";
206
+ "charge.dispute.updated": "charge.dispute.updated";
207
+ "charge.dispute.closed": "charge.dispute.closed";
208
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
209
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
210
+ "refund.created": "refund.created";
211
+ "refund.updated": "refund.updated";
212
+ "refund.failed": "refund.failed";
213
+ "customer.created": "customer.created";
214
+ "customer.updated": "customer.updated";
215
+ "customer.deleted": "customer.deleted";
216
+ "payment_method.attached": "payment_method.attached";
217
+ "payment_method.detached": "payment_method.detached";
218
+ "payment_method.updated": "payment_method.updated";
219
+ "setup_intent.created": "setup_intent.created";
220
+ "setup_intent.requires_action": "setup_intent.requires_action";
221
+ "setup_intent.succeeded": "setup_intent.succeeded";
222
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
223
+ "setup_intent.canceled": "setup_intent.canceled";
224
+ "billing.observation.updated": "billing.observation.updated";
225
+ "connected_account.updated": "connected_account.updated";
226
+ "product.created": "product.created";
227
+ "product.updated": "product.updated";
228
+ "product.deleted": "product.deleted";
229
+ "price.created": "price.created";
230
+ "price.updated": "price.updated";
231
+ "coupon.created": "coupon.created";
232
+ "coupon.updated": "coupon.updated";
233
+ "coupon.deleted": "coupon.deleted";
234
+ "promotion_code.created": "promotion_code.created";
235
+ "promotion_code.updated": "promotion_code.updated";
236
+ "account.updated": "account.updated";
237
+ "application_fee.created": "application_fee.created";
238
+ "application_fee.refunded": "application_fee.refunded";
239
+ "payout.created": "payout.created";
240
+ "payout.updated": "payout.updated";
241
+ "payout.paid": "payout.paid";
242
+ "payout.failed": "payout.failed";
243
+ "payout.canceled": "payout.canceled";
244
+ "balance.available": "balance.available";
245
+ "checkout.session.completed": "checkout.session.completed";
246
+ "checkout.session.expired": "checkout.session.expired";
247
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
248
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
249
+ "payment_link.created": "payment_link.created";
250
+ "payment_link.updated": "payment_link.updated";
251
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
252
+ "reporting.report_run.failed": "reporting.report_run.failed";
253
+ "customer.subscription.created": "customer.subscription.created";
254
+ "customer.subscription.updated": "customer.subscription.updated";
255
+ "customer.subscription.deleted": "customer.subscription.deleted";
256
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
257
+ "customer.subscription.paused": "customer.subscription.paused";
258
+ "customer.subscription.resumed": "customer.subscription.resumed";
259
+ "invoice.created": "invoice.created";
260
+ "invoice.updated": "invoice.updated";
261
+ "invoice.deleted": "invoice.deleted";
262
+ "invoice.finalized": "invoice.finalized";
263
+ "invoice.paid": "invoice.paid";
264
+ "invoice.payment_failed": "invoice.payment_failed";
265
+ "invoice.payment_action_required": "invoice.payment_action_required";
266
+ "invoice.voided": "invoice.voided";
267
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
268
+ "invoice.upcoming": "invoice.upcoming";
269
+ "invoice.sent": "invoice.sent";
270
+ "invoiceitem.created": "invoiceitem.created";
271
+ "invoiceitem.deleted": "invoiceitem.deleted";
272
+ "credit_note.created": "credit_note.created";
273
+ "credit_note.updated": "credit_note.updated";
274
+ "credit_note.voided": "credit_note.voided";
275
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
276
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
277
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
278
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
279
+ "billing.meter.created": "billing.meter.created";
280
+ "billing.meter.updated": "billing.meter.updated";
281
+ "billing.meter.deactivated": "billing.meter.deactivated";
282
+ "billing.meter.reactivated": "billing.meter.reactivated";
283
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
284
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
285
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
286
+ "billing_portal.session.created": "billing_portal.session.created";
287
+ "tax.assessment.created": "tax.assessment.created";
288
+ "tax.review_item.created": "tax.review_item.created";
289
+ "tax.review_item.updated": "tax.review_item.updated";
290
+ "webhook_endpoint.test": "webhook_endpoint.test";
291
+ }>;
292
+ id: import("zod").ZodString;
293
+ object: import("zod").ZodLiteral<"event">;
294
+ }, import("zod/v4/core").$strict>;
295
+ };
296
+ readonly sdk: "events.stream";
297
+ }, {
298
+ readonly operationId: "retrieveEvent";
299
+ readonly method: "get";
300
+ readonly path: "/v1/events/{id}";
301
+ readonly tag: "Events";
302
+ readonly summary: "Retrieve an event";
303
+ readonly description: "A `404` once the event is older than 30 days.";
304
+ readonly auth: "service";
305
+ readonly scope: "payments:read";
306
+ readonly params: {
307
+ readonly id: "The event (`evt_…`).";
308
+ };
309
+ readonly query: import("zod").ZodObject<{
310
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
311
+ }, import("zod/v4/core").$strict>;
312
+ readonly response: import("zod").ZodObject<{
313
+ data: import("zod").ZodObject<{
314
+ object: import("zod").ZodUnion<import("zod").ZodLazy<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>[]>;
315
+ previous_attributes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
316
+ }, import("zod/v4/core").$strict>;
317
+ request: import("zod").ZodObject<{
318
+ id: import("zod").ZodNullable<import("zod").ZodString>;
319
+ idempotency_key: import("zod").ZodNullable<import("zod").ZodString>;
320
+ }, import("zod/v4/core").$strict>;
321
+ created: import("zod").ZodNumber;
322
+ livemode: import("zod").ZodBoolean;
323
+ api_version: import("zod").ZodString;
324
+ account: import("zod").ZodOptional<import("zod").ZodString>;
325
+ type: import("zod").ZodEnum<{
326
+ "payment_intent.created": "payment_intent.created";
327
+ "payment_intent.requires_action": "payment_intent.requires_action";
328
+ "payment_intent.processing": "payment_intent.processing";
329
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
330
+ "payment_intent.succeeded": "payment_intent.succeeded";
331
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
332
+ "payment_intent.canceled": "payment_intent.canceled";
333
+ "charge.refunded": "charge.refunded";
334
+ "charge.dispute.created": "charge.dispute.created";
335
+ "charge.dispute.updated": "charge.dispute.updated";
336
+ "charge.dispute.closed": "charge.dispute.closed";
337
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
338
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
339
+ "refund.created": "refund.created";
340
+ "refund.updated": "refund.updated";
341
+ "refund.failed": "refund.failed";
342
+ "customer.created": "customer.created";
343
+ "customer.updated": "customer.updated";
344
+ "customer.deleted": "customer.deleted";
345
+ "payment_method.attached": "payment_method.attached";
346
+ "payment_method.detached": "payment_method.detached";
347
+ "payment_method.updated": "payment_method.updated";
348
+ "setup_intent.created": "setup_intent.created";
349
+ "setup_intent.requires_action": "setup_intent.requires_action";
350
+ "setup_intent.succeeded": "setup_intent.succeeded";
351
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
352
+ "setup_intent.canceled": "setup_intent.canceled";
353
+ "billing.observation.updated": "billing.observation.updated";
354
+ "connected_account.updated": "connected_account.updated";
355
+ "product.created": "product.created";
356
+ "product.updated": "product.updated";
357
+ "product.deleted": "product.deleted";
358
+ "price.created": "price.created";
359
+ "price.updated": "price.updated";
360
+ "coupon.created": "coupon.created";
361
+ "coupon.updated": "coupon.updated";
362
+ "coupon.deleted": "coupon.deleted";
363
+ "promotion_code.created": "promotion_code.created";
364
+ "promotion_code.updated": "promotion_code.updated";
365
+ "account.updated": "account.updated";
366
+ "application_fee.created": "application_fee.created";
367
+ "application_fee.refunded": "application_fee.refunded";
368
+ "payout.created": "payout.created";
369
+ "payout.updated": "payout.updated";
370
+ "payout.paid": "payout.paid";
371
+ "payout.failed": "payout.failed";
372
+ "payout.canceled": "payout.canceled";
373
+ "balance.available": "balance.available";
374
+ "checkout.session.completed": "checkout.session.completed";
375
+ "checkout.session.expired": "checkout.session.expired";
376
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
377
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
378
+ "payment_link.created": "payment_link.created";
379
+ "payment_link.updated": "payment_link.updated";
380
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
381
+ "reporting.report_run.failed": "reporting.report_run.failed";
382
+ "customer.subscription.created": "customer.subscription.created";
383
+ "customer.subscription.updated": "customer.subscription.updated";
384
+ "customer.subscription.deleted": "customer.subscription.deleted";
385
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
386
+ "customer.subscription.paused": "customer.subscription.paused";
387
+ "customer.subscription.resumed": "customer.subscription.resumed";
388
+ "invoice.created": "invoice.created";
389
+ "invoice.updated": "invoice.updated";
390
+ "invoice.deleted": "invoice.deleted";
391
+ "invoice.finalized": "invoice.finalized";
392
+ "invoice.paid": "invoice.paid";
393
+ "invoice.payment_failed": "invoice.payment_failed";
394
+ "invoice.payment_action_required": "invoice.payment_action_required";
395
+ "invoice.voided": "invoice.voided";
396
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
397
+ "invoice.upcoming": "invoice.upcoming";
398
+ "invoice.sent": "invoice.sent";
399
+ "invoiceitem.created": "invoiceitem.created";
400
+ "invoiceitem.deleted": "invoiceitem.deleted";
401
+ "credit_note.created": "credit_note.created";
402
+ "credit_note.updated": "credit_note.updated";
403
+ "credit_note.voided": "credit_note.voided";
404
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
405
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
406
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
407
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
408
+ "billing.meter.created": "billing.meter.created";
409
+ "billing.meter.updated": "billing.meter.updated";
410
+ "billing.meter.deactivated": "billing.meter.deactivated";
411
+ "billing.meter.reactivated": "billing.meter.reactivated";
412
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
413
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
414
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
415
+ "billing_portal.session.created": "billing_portal.session.created";
416
+ "tax.assessment.created": "tax.assessment.created";
417
+ "tax.review_item.created": "tax.review_item.created";
418
+ "tax.review_item.updated": "tax.review_item.updated";
419
+ "webhook_endpoint.test": "webhook_endpoint.test";
420
+ }>;
421
+ id: import("zod").ZodString;
422
+ object: import("zod").ZodLiteral<"event">;
423
+ }, import("zod/v4/core").$strict>;
424
+ readonly sdk: "events.retrieve";
425
+ readonly expandable: "event";
426
+ }, {
427
+ readonly operationId: "createWebhookEndpoint";
428
+ readonly method: "post";
429
+ readonly path: "/v1/webhook_endpoints";
430
+ readonly tag: "Webhook endpoints";
431
+ readonly summary: "Create a webhook endpoint";
432
+ readonly description: "The answer is the ONLY one that shows `secret`. A retry with the same `Idempotency-Key` replays it, secret included, for 24 hours. At most 16 endpoints per merchant and mode.";
433
+ readonly auth: "service";
434
+ readonly scope: "payments:write";
435
+ readonly idempotent: true;
436
+ readonly body: import("zod").ZodObject<{
437
+ url: import("zod").ZodString;
438
+ enabled_events: import("zod").ZodPipe<import("zod").ZodArray<import("zod").ZodEnum<{
439
+ "payment_intent.created": "payment_intent.created";
440
+ "payment_intent.requires_action": "payment_intent.requires_action";
441
+ "payment_intent.processing": "payment_intent.processing";
442
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
443
+ "payment_intent.succeeded": "payment_intent.succeeded";
444
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
445
+ "payment_intent.canceled": "payment_intent.canceled";
446
+ "charge.refunded": "charge.refunded";
447
+ "charge.dispute.created": "charge.dispute.created";
448
+ "charge.dispute.updated": "charge.dispute.updated";
449
+ "charge.dispute.closed": "charge.dispute.closed";
450
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
451
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
452
+ "refund.created": "refund.created";
453
+ "refund.updated": "refund.updated";
454
+ "refund.failed": "refund.failed";
455
+ "customer.created": "customer.created";
456
+ "customer.updated": "customer.updated";
457
+ "customer.deleted": "customer.deleted";
458
+ "payment_method.attached": "payment_method.attached";
459
+ "payment_method.detached": "payment_method.detached";
460
+ "payment_method.updated": "payment_method.updated";
461
+ "setup_intent.created": "setup_intent.created";
462
+ "setup_intent.requires_action": "setup_intent.requires_action";
463
+ "setup_intent.succeeded": "setup_intent.succeeded";
464
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
465
+ "setup_intent.canceled": "setup_intent.canceled";
466
+ "billing.observation.updated": "billing.observation.updated";
467
+ "connected_account.updated": "connected_account.updated";
468
+ "product.created": "product.created";
469
+ "product.updated": "product.updated";
470
+ "product.deleted": "product.deleted";
471
+ "price.created": "price.created";
472
+ "price.updated": "price.updated";
473
+ "coupon.created": "coupon.created";
474
+ "coupon.updated": "coupon.updated";
475
+ "coupon.deleted": "coupon.deleted";
476
+ "promotion_code.created": "promotion_code.created";
477
+ "promotion_code.updated": "promotion_code.updated";
478
+ "account.updated": "account.updated";
479
+ "application_fee.created": "application_fee.created";
480
+ "application_fee.refunded": "application_fee.refunded";
481
+ "payout.created": "payout.created";
482
+ "payout.updated": "payout.updated";
483
+ "payout.paid": "payout.paid";
484
+ "payout.failed": "payout.failed";
485
+ "payout.canceled": "payout.canceled";
486
+ "balance.available": "balance.available";
487
+ "checkout.session.completed": "checkout.session.completed";
488
+ "checkout.session.expired": "checkout.session.expired";
489
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
490
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
491
+ "payment_link.created": "payment_link.created";
492
+ "payment_link.updated": "payment_link.updated";
493
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
494
+ "reporting.report_run.failed": "reporting.report_run.failed";
495
+ "customer.subscription.created": "customer.subscription.created";
496
+ "customer.subscription.updated": "customer.subscription.updated";
497
+ "customer.subscription.deleted": "customer.subscription.deleted";
498
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
499
+ "customer.subscription.paused": "customer.subscription.paused";
500
+ "customer.subscription.resumed": "customer.subscription.resumed";
501
+ "invoice.created": "invoice.created";
502
+ "invoice.updated": "invoice.updated";
503
+ "invoice.deleted": "invoice.deleted";
504
+ "invoice.finalized": "invoice.finalized";
505
+ "invoice.paid": "invoice.paid";
506
+ "invoice.payment_failed": "invoice.payment_failed";
507
+ "invoice.payment_action_required": "invoice.payment_action_required";
508
+ "invoice.voided": "invoice.voided";
509
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
510
+ "invoice.upcoming": "invoice.upcoming";
511
+ "invoice.sent": "invoice.sent";
512
+ "invoiceitem.created": "invoiceitem.created";
513
+ "invoiceitem.deleted": "invoiceitem.deleted";
514
+ "credit_note.created": "credit_note.created";
515
+ "credit_note.updated": "credit_note.updated";
516
+ "credit_note.voided": "credit_note.voided";
517
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
518
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
519
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
520
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
521
+ "billing.meter.created": "billing.meter.created";
522
+ "billing.meter.updated": "billing.meter.updated";
523
+ "billing.meter.deactivated": "billing.meter.deactivated";
524
+ "billing.meter.reactivated": "billing.meter.reactivated";
525
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
526
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
527
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
528
+ "billing_portal.session.created": "billing_portal.session.created";
529
+ "tax.assessment.created": "tax.assessment.created";
530
+ "tax.review_item.created": "tax.review_item.created";
531
+ "tax.review_item.updated": "tax.review_item.updated";
532
+ "*": "*";
533
+ }>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "billing.observation.updated" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>;
534
+ description: import("zod").ZodOptional<import("zod").ZodString>;
535
+ metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<Record<string, string>, Record<string, string>>>>;
536
+ }, import("zod/v4/core").$strict>;
537
+ readonly response: import("zod").ZodObject<{
538
+ secret: import("zod").ZodString;
539
+ id: import("zod").ZodString;
540
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
541
+ livemode: import("zod").ZodBoolean;
542
+ url: import("zod").ZodString;
543
+ description: import("zod").ZodNullable<import("zod").ZodString>;
544
+ enabled_events: import("zod").ZodArray<import("zod").ZodEnum<{
545
+ "payment_intent.created": "payment_intent.created";
546
+ "payment_intent.requires_action": "payment_intent.requires_action";
547
+ "payment_intent.processing": "payment_intent.processing";
548
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
549
+ "payment_intent.succeeded": "payment_intent.succeeded";
550
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
551
+ "payment_intent.canceled": "payment_intent.canceled";
552
+ "charge.refunded": "charge.refunded";
553
+ "charge.dispute.created": "charge.dispute.created";
554
+ "charge.dispute.updated": "charge.dispute.updated";
555
+ "charge.dispute.closed": "charge.dispute.closed";
556
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
557
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
558
+ "refund.created": "refund.created";
559
+ "refund.updated": "refund.updated";
560
+ "refund.failed": "refund.failed";
561
+ "customer.created": "customer.created";
562
+ "customer.updated": "customer.updated";
563
+ "customer.deleted": "customer.deleted";
564
+ "payment_method.attached": "payment_method.attached";
565
+ "payment_method.detached": "payment_method.detached";
566
+ "payment_method.updated": "payment_method.updated";
567
+ "setup_intent.created": "setup_intent.created";
568
+ "setup_intent.requires_action": "setup_intent.requires_action";
569
+ "setup_intent.succeeded": "setup_intent.succeeded";
570
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
571
+ "setup_intent.canceled": "setup_intent.canceled";
572
+ "billing.observation.updated": "billing.observation.updated";
573
+ "connected_account.updated": "connected_account.updated";
574
+ "product.created": "product.created";
575
+ "product.updated": "product.updated";
576
+ "product.deleted": "product.deleted";
577
+ "price.created": "price.created";
578
+ "price.updated": "price.updated";
579
+ "coupon.created": "coupon.created";
580
+ "coupon.updated": "coupon.updated";
581
+ "coupon.deleted": "coupon.deleted";
582
+ "promotion_code.created": "promotion_code.created";
583
+ "promotion_code.updated": "promotion_code.updated";
584
+ "account.updated": "account.updated";
585
+ "application_fee.created": "application_fee.created";
586
+ "application_fee.refunded": "application_fee.refunded";
587
+ "payout.created": "payout.created";
588
+ "payout.updated": "payout.updated";
589
+ "payout.paid": "payout.paid";
590
+ "payout.failed": "payout.failed";
591
+ "payout.canceled": "payout.canceled";
592
+ "balance.available": "balance.available";
593
+ "checkout.session.completed": "checkout.session.completed";
594
+ "checkout.session.expired": "checkout.session.expired";
595
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
596
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
597
+ "payment_link.created": "payment_link.created";
598
+ "payment_link.updated": "payment_link.updated";
599
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
600
+ "reporting.report_run.failed": "reporting.report_run.failed";
601
+ "customer.subscription.created": "customer.subscription.created";
602
+ "customer.subscription.updated": "customer.subscription.updated";
603
+ "customer.subscription.deleted": "customer.subscription.deleted";
604
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
605
+ "customer.subscription.paused": "customer.subscription.paused";
606
+ "customer.subscription.resumed": "customer.subscription.resumed";
607
+ "invoice.created": "invoice.created";
608
+ "invoice.updated": "invoice.updated";
609
+ "invoice.deleted": "invoice.deleted";
610
+ "invoice.finalized": "invoice.finalized";
611
+ "invoice.paid": "invoice.paid";
612
+ "invoice.payment_failed": "invoice.payment_failed";
613
+ "invoice.payment_action_required": "invoice.payment_action_required";
614
+ "invoice.voided": "invoice.voided";
615
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
616
+ "invoice.upcoming": "invoice.upcoming";
617
+ "invoice.sent": "invoice.sent";
618
+ "invoiceitem.created": "invoiceitem.created";
619
+ "invoiceitem.deleted": "invoiceitem.deleted";
620
+ "credit_note.created": "credit_note.created";
621
+ "credit_note.updated": "credit_note.updated";
622
+ "credit_note.voided": "credit_note.voided";
623
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
624
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
625
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
626
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
627
+ "billing.meter.created": "billing.meter.created";
628
+ "billing.meter.updated": "billing.meter.updated";
629
+ "billing.meter.deactivated": "billing.meter.deactivated";
630
+ "billing.meter.reactivated": "billing.meter.reactivated";
631
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
632
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
633
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
634
+ "billing_portal.session.created": "billing_portal.session.created";
635
+ "tax.assessment.created": "tax.assessment.created";
636
+ "tax.review_item.created": "tax.review_item.created";
637
+ "tax.review_item.updated": "tax.review_item.updated";
638
+ "*": "*";
639
+ }>>;
640
+ status: import("zod").ZodEnum<{
641
+ enabled: "enabled";
642
+ disabled: "disabled";
643
+ }>;
644
+ disabled_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
645
+ disabled_by_merchant: "disabled_by_merchant";
646
+ delivery_failures: "delivery_failures";
647
+ }>>;
648
+ api_version: import("zod").ZodString;
649
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
650
+ created: import("zod").ZodNumber;
651
+ updated_at: import("zod").ZodNumber;
652
+ }, import("zod/v4/core").$strict>;
653
+ readonly sdk: "webhookEndpoints.create";
654
+ }, {
655
+ readonly operationId: "listWebhookEndpoints";
656
+ readonly method: "get";
657
+ readonly path: "/v1/webhook_endpoints";
658
+ readonly tag: "Webhook endpoints";
659
+ readonly summary: "List webhook endpoints";
660
+ readonly description: "Newest first. Never the secret.";
661
+ readonly auth: "service";
662
+ readonly scope: "payments:read";
663
+ readonly query: import("zod").ZodObject<{
664
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
665
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
666
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
667
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
668
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
669
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
670
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
671
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
672
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
673
+ gt?: number | undefined;
674
+ gte?: number | undefined;
675
+ lt?: number | undefined;
676
+ lte?: number | undefined;
677
+ }>>]>>;
678
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
679
+ }, import("zod/v4/core").$strict>;
680
+ readonly response: import("zod").ZodObject<{
681
+ object: import("zod").ZodLiteral<"list">;
682
+ data: import("zod").ZodArray<import("zod").ZodObject<{
683
+ id: import("zod").ZodString;
684
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
685
+ livemode: import("zod").ZodBoolean;
686
+ url: import("zod").ZodString;
687
+ description: import("zod").ZodNullable<import("zod").ZodString>;
688
+ enabled_events: import("zod").ZodArray<import("zod").ZodEnum<{
689
+ "payment_intent.created": "payment_intent.created";
690
+ "payment_intent.requires_action": "payment_intent.requires_action";
691
+ "payment_intent.processing": "payment_intent.processing";
692
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
693
+ "payment_intent.succeeded": "payment_intent.succeeded";
694
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
695
+ "payment_intent.canceled": "payment_intent.canceled";
696
+ "charge.refunded": "charge.refunded";
697
+ "charge.dispute.created": "charge.dispute.created";
698
+ "charge.dispute.updated": "charge.dispute.updated";
699
+ "charge.dispute.closed": "charge.dispute.closed";
700
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
701
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
702
+ "refund.created": "refund.created";
703
+ "refund.updated": "refund.updated";
704
+ "refund.failed": "refund.failed";
705
+ "customer.created": "customer.created";
706
+ "customer.updated": "customer.updated";
707
+ "customer.deleted": "customer.deleted";
708
+ "payment_method.attached": "payment_method.attached";
709
+ "payment_method.detached": "payment_method.detached";
710
+ "payment_method.updated": "payment_method.updated";
711
+ "setup_intent.created": "setup_intent.created";
712
+ "setup_intent.requires_action": "setup_intent.requires_action";
713
+ "setup_intent.succeeded": "setup_intent.succeeded";
714
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
715
+ "setup_intent.canceled": "setup_intent.canceled";
716
+ "billing.observation.updated": "billing.observation.updated";
717
+ "connected_account.updated": "connected_account.updated";
718
+ "product.created": "product.created";
719
+ "product.updated": "product.updated";
720
+ "product.deleted": "product.deleted";
721
+ "price.created": "price.created";
722
+ "price.updated": "price.updated";
723
+ "coupon.created": "coupon.created";
724
+ "coupon.updated": "coupon.updated";
725
+ "coupon.deleted": "coupon.deleted";
726
+ "promotion_code.created": "promotion_code.created";
727
+ "promotion_code.updated": "promotion_code.updated";
728
+ "account.updated": "account.updated";
729
+ "application_fee.created": "application_fee.created";
730
+ "application_fee.refunded": "application_fee.refunded";
731
+ "payout.created": "payout.created";
732
+ "payout.updated": "payout.updated";
733
+ "payout.paid": "payout.paid";
734
+ "payout.failed": "payout.failed";
735
+ "payout.canceled": "payout.canceled";
736
+ "balance.available": "balance.available";
737
+ "checkout.session.completed": "checkout.session.completed";
738
+ "checkout.session.expired": "checkout.session.expired";
739
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
740
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
741
+ "payment_link.created": "payment_link.created";
742
+ "payment_link.updated": "payment_link.updated";
743
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
744
+ "reporting.report_run.failed": "reporting.report_run.failed";
745
+ "customer.subscription.created": "customer.subscription.created";
746
+ "customer.subscription.updated": "customer.subscription.updated";
747
+ "customer.subscription.deleted": "customer.subscription.deleted";
748
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
749
+ "customer.subscription.paused": "customer.subscription.paused";
750
+ "customer.subscription.resumed": "customer.subscription.resumed";
751
+ "invoice.created": "invoice.created";
752
+ "invoice.updated": "invoice.updated";
753
+ "invoice.deleted": "invoice.deleted";
754
+ "invoice.finalized": "invoice.finalized";
755
+ "invoice.paid": "invoice.paid";
756
+ "invoice.payment_failed": "invoice.payment_failed";
757
+ "invoice.payment_action_required": "invoice.payment_action_required";
758
+ "invoice.voided": "invoice.voided";
759
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
760
+ "invoice.upcoming": "invoice.upcoming";
761
+ "invoice.sent": "invoice.sent";
762
+ "invoiceitem.created": "invoiceitem.created";
763
+ "invoiceitem.deleted": "invoiceitem.deleted";
764
+ "credit_note.created": "credit_note.created";
765
+ "credit_note.updated": "credit_note.updated";
766
+ "credit_note.voided": "credit_note.voided";
767
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
768
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
769
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
770
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
771
+ "billing.meter.created": "billing.meter.created";
772
+ "billing.meter.updated": "billing.meter.updated";
773
+ "billing.meter.deactivated": "billing.meter.deactivated";
774
+ "billing.meter.reactivated": "billing.meter.reactivated";
775
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
776
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
777
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
778
+ "billing_portal.session.created": "billing_portal.session.created";
779
+ "tax.assessment.created": "tax.assessment.created";
780
+ "tax.review_item.created": "tax.review_item.created";
781
+ "tax.review_item.updated": "tax.review_item.updated";
782
+ "*": "*";
783
+ }>>;
784
+ status: import("zod").ZodEnum<{
785
+ enabled: "enabled";
786
+ disabled: "disabled";
787
+ }>;
788
+ disabled_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
789
+ disabled_by_merchant: "disabled_by_merchant";
790
+ delivery_failures: "delivery_failures";
791
+ }>>;
792
+ api_version: import("zod").ZodString;
793
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
794
+ created: import("zod").ZodNumber;
795
+ updated_at: import("zod").ZodNumber;
796
+ }, import("zod/v4/core").$strict>>;
797
+ has_more: import("zod").ZodBoolean;
798
+ url: import("zod").ZodString;
799
+ }, import("zod/v4/core").$strict>;
800
+ readonly sdk: "webhookEndpoints.list";
801
+ readonly expandable: "webhook_endpoint";
802
+ }, {
803
+ readonly operationId: "retrieveWebhookEndpoint";
804
+ readonly method: "get";
805
+ readonly path: "/v1/webhook_endpoints/{id}";
806
+ readonly tag: "Webhook endpoints";
807
+ readonly summary: "Retrieve a webhook endpoint";
808
+ readonly description: "Never the secret: a lost secret is rolled, not retrieved.";
809
+ readonly auth: "service";
810
+ readonly scope: "payments:read";
811
+ readonly params: {
812
+ readonly id: "The webhook endpoint (`we_…`).";
813
+ };
814
+ readonly query: import("zod").ZodObject<{
815
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
816
+ }, import("zod/v4/core").$strict>;
817
+ readonly response: import("zod").ZodObject<{
818
+ id: import("zod").ZodString;
819
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
820
+ livemode: import("zod").ZodBoolean;
821
+ url: import("zod").ZodString;
822
+ description: import("zod").ZodNullable<import("zod").ZodString>;
823
+ enabled_events: import("zod").ZodArray<import("zod").ZodEnum<{
824
+ "payment_intent.created": "payment_intent.created";
825
+ "payment_intent.requires_action": "payment_intent.requires_action";
826
+ "payment_intent.processing": "payment_intent.processing";
827
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
828
+ "payment_intent.succeeded": "payment_intent.succeeded";
829
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
830
+ "payment_intent.canceled": "payment_intent.canceled";
831
+ "charge.refunded": "charge.refunded";
832
+ "charge.dispute.created": "charge.dispute.created";
833
+ "charge.dispute.updated": "charge.dispute.updated";
834
+ "charge.dispute.closed": "charge.dispute.closed";
835
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
836
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
837
+ "refund.created": "refund.created";
838
+ "refund.updated": "refund.updated";
839
+ "refund.failed": "refund.failed";
840
+ "customer.created": "customer.created";
841
+ "customer.updated": "customer.updated";
842
+ "customer.deleted": "customer.deleted";
843
+ "payment_method.attached": "payment_method.attached";
844
+ "payment_method.detached": "payment_method.detached";
845
+ "payment_method.updated": "payment_method.updated";
846
+ "setup_intent.created": "setup_intent.created";
847
+ "setup_intent.requires_action": "setup_intent.requires_action";
848
+ "setup_intent.succeeded": "setup_intent.succeeded";
849
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
850
+ "setup_intent.canceled": "setup_intent.canceled";
851
+ "billing.observation.updated": "billing.observation.updated";
852
+ "connected_account.updated": "connected_account.updated";
853
+ "product.created": "product.created";
854
+ "product.updated": "product.updated";
855
+ "product.deleted": "product.deleted";
856
+ "price.created": "price.created";
857
+ "price.updated": "price.updated";
858
+ "coupon.created": "coupon.created";
859
+ "coupon.updated": "coupon.updated";
860
+ "coupon.deleted": "coupon.deleted";
861
+ "promotion_code.created": "promotion_code.created";
862
+ "promotion_code.updated": "promotion_code.updated";
863
+ "account.updated": "account.updated";
864
+ "application_fee.created": "application_fee.created";
865
+ "application_fee.refunded": "application_fee.refunded";
866
+ "payout.created": "payout.created";
867
+ "payout.updated": "payout.updated";
868
+ "payout.paid": "payout.paid";
869
+ "payout.failed": "payout.failed";
870
+ "payout.canceled": "payout.canceled";
871
+ "balance.available": "balance.available";
872
+ "checkout.session.completed": "checkout.session.completed";
873
+ "checkout.session.expired": "checkout.session.expired";
874
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
875
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
876
+ "payment_link.created": "payment_link.created";
877
+ "payment_link.updated": "payment_link.updated";
878
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
879
+ "reporting.report_run.failed": "reporting.report_run.failed";
880
+ "customer.subscription.created": "customer.subscription.created";
881
+ "customer.subscription.updated": "customer.subscription.updated";
882
+ "customer.subscription.deleted": "customer.subscription.deleted";
883
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
884
+ "customer.subscription.paused": "customer.subscription.paused";
885
+ "customer.subscription.resumed": "customer.subscription.resumed";
886
+ "invoice.created": "invoice.created";
887
+ "invoice.updated": "invoice.updated";
888
+ "invoice.deleted": "invoice.deleted";
889
+ "invoice.finalized": "invoice.finalized";
890
+ "invoice.paid": "invoice.paid";
891
+ "invoice.payment_failed": "invoice.payment_failed";
892
+ "invoice.payment_action_required": "invoice.payment_action_required";
893
+ "invoice.voided": "invoice.voided";
894
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
895
+ "invoice.upcoming": "invoice.upcoming";
896
+ "invoice.sent": "invoice.sent";
897
+ "invoiceitem.created": "invoiceitem.created";
898
+ "invoiceitem.deleted": "invoiceitem.deleted";
899
+ "credit_note.created": "credit_note.created";
900
+ "credit_note.updated": "credit_note.updated";
901
+ "credit_note.voided": "credit_note.voided";
902
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
903
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
904
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
905
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
906
+ "billing.meter.created": "billing.meter.created";
907
+ "billing.meter.updated": "billing.meter.updated";
908
+ "billing.meter.deactivated": "billing.meter.deactivated";
909
+ "billing.meter.reactivated": "billing.meter.reactivated";
910
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
911
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
912
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
913
+ "billing_portal.session.created": "billing_portal.session.created";
914
+ "tax.assessment.created": "tax.assessment.created";
915
+ "tax.review_item.created": "tax.review_item.created";
916
+ "tax.review_item.updated": "tax.review_item.updated";
917
+ "*": "*";
918
+ }>>;
919
+ status: import("zod").ZodEnum<{
920
+ enabled: "enabled";
921
+ disabled: "disabled";
922
+ }>;
923
+ disabled_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
924
+ disabled_by_merchant: "disabled_by_merchant";
925
+ delivery_failures: "delivery_failures";
926
+ }>>;
927
+ api_version: import("zod").ZodString;
928
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
929
+ created: import("zod").ZodNumber;
930
+ updated_at: import("zod").ZodNumber;
931
+ }, import("zod/v4/core").$strict>;
932
+ readonly sdk: "webhookEndpoints.retrieve";
933
+ readonly expandable: "webhook_endpoint";
934
+ }, {
935
+ readonly operationId: "updateWebhookEndpoint";
936
+ readonly method: "post";
937
+ readonly path: "/v1/webhook_endpoints/{id}";
938
+ readonly tag: "Webhook endpoints";
939
+ readonly summary: "Update a webhook endpoint";
940
+ readonly description: "`url`, `enabled_events`, `disabled`, `description` (`\"\"` clears it) and `metadata` (a patch).";
941
+ readonly auth: "service";
942
+ readonly scope: "payments:write";
943
+ readonly idempotent: true;
944
+ readonly params: {
945
+ readonly id: "The webhook endpoint (`we_…`).";
946
+ };
947
+ readonly body: import("zod").ZodObject<{
948
+ url: import("zod").ZodOptional<import("zod").ZodString>;
949
+ enabled_events: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodArray<import("zod").ZodEnum<{
950
+ "payment_intent.created": "payment_intent.created";
951
+ "payment_intent.requires_action": "payment_intent.requires_action";
952
+ "payment_intent.processing": "payment_intent.processing";
953
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
954
+ "payment_intent.succeeded": "payment_intent.succeeded";
955
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
956
+ "payment_intent.canceled": "payment_intent.canceled";
957
+ "charge.refunded": "charge.refunded";
958
+ "charge.dispute.created": "charge.dispute.created";
959
+ "charge.dispute.updated": "charge.dispute.updated";
960
+ "charge.dispute.closed": "charge.dispute.closed";
961
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
962
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
963
+ "refund.created": "refund.created";
964
+ "refund.updated": "refund.updated";
965
+ "refund.failed": "refund.failed";
966
+ "customer.created": "customer.created";
967
+ "customer.updated": "customer.updated";
968
+ "customer.deleted": "customer.deleted";
969
+ "payment_method.attached": "payment_method.attached";
970
+ "payment_method.detached": "payment_method.detached";
971
+ "payment_method.updated": "payment_method.updated";
972
+ "setup_intent.created": "setup_intent.created";
973
+ "setup_intent.requires_action": "setup_intent.requires_action";
974
+ "setup_intent.succeeded": "setup_intent.succeeded";
975
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
976
+ "setup_intent.canceled": "setup_intent.canceled";
977
+ "billing.observation.updated": "billing.observation.updated";
978
+ "connected_account.updated": "connected_account.updated";
979
+ "product.created": "product.created";
980
+ "product.updated": "product.updated";
981
+ "product.deleted": "product.deleted";
982
+ "price.created": "price.created";
983
+ "price.updated": "price.updated";
984
+ "coupon.created": "coupon.created";
985
+ "coupon.updated": "coupon.updated";
986
+ "coupon.deleted": "coupon.deleted";
987
+ "promotion_code.created": "promotion_code.created";
988
+ "promotion_code.updated": "promotion_code.updated";
989
+ "account.updated": "account.updated";
990
+ "application_fee.created": "application_fee.created";
991
+ "application_fee.refunded": "application_fee.refunded";
992
+ "payout.created": "payout.created";
993
+ "payout.updated": "payout.updated";
994
+ "payout.paid": "payout.paid";
995
+ "payout.failed": "payout.failed";
996
+ "payout.canceled": "payout.canceled";
997
+ "balance.available": "balance.available";
998
+ "checkout.session.completed": "checkout.session.completed";
999
+ "checkout.session.expired": "checkout.session.expired";
1000
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1001
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1002
+ "payment_link.created": "payment_link.created";
1003
+ "payment_link.updated": "payment_link.updated";
1004
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1005
+ "reporting.report_run.failed": "reporting.report_run.failed";
1006
+ "customer.subscription.created": "customer.subscription.created";
1007
+ "customer.subscription.updated": "customer.subscription.updated";
1008
+ "customer.subscription.deleted": "customer.subscription.deleted";
1009
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1010
+ "customer.subscription.paused": "customer.subscription.paused";
1011
+ "customer.subscription.resumed": "customer.subscription.resumed";
1012
+ "invoice.created": "invoice.created";
1013
+ "invoice.updated": "invoice.updated";
1014
+ "invoice.deleted": "invoice.deleted";
1015
+ "invoice.finalized": "invoice.finalized";
1016
+ "invoice.paid": "invoice.paid";
1017
+ "invoice.payment_failed": "invoice.payment_failed";
1018
+ "invoice.payment_action_required": "invoice.payment_action_required";
1019
+ "invoice.voided": "invoice.voided";
1020
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1021
+ "invoice.upcoming": "invoice.upcoming";
1022
+ "invoice.sent": "invoice.sent";
1023
+ "invoiceitem.created": "invoiceitem.created";
1024
+ "invoiceitem.deleted": "invoiceitem.deleted";
1025
+ "credit_note.created": "credit_note.created";
1026
+ "credit_note.updated": "credit_note.updated";
1027
+ "credit_note.voided": "credit_note.voided";
1028
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1029
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1030
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1031
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1032
+ "billing.meter.created": "billing.meter.created";
1033
+ "billing.meter.updated": "billing.meter.updated";
1034
+ "billing.meter.deactivated": "billing.meter.deactivated";
1035
+ "billing.meter.reactivated": "billing.meter.reactivated";
1036
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1037
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1038
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1039
+ "billing_portal.session.created": "billing_portal.session.created";
1040
+ "tax.assessment.created": "tax.assessment.created";
1041
+ "tax.review_item.created": "tax.review_item.created";
1042
+ "tax.review_item.updated": "tax.review_item.updated";
1043
+ "*": "*";
1044
+ }>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "billing.observation.updated" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>>;
1045
+ disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
1046
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1047
+ metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
1048
+ }, import("zod/v4/core").$strict>;
1049
+ readonly response: import("zod").ZodObject<{
1050
+ id: import("zod").ZodString;
1051
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
1052
+ livemode: import("zod").ZodBoolean;
1053
+ url: import("zod").ZodString;
1054
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1055
+ enabled_events: import("zod").ZodArray<import("zod").ZodEnum<{
1056
+ "payment_intent.created": "payment_intent.created";
1057
+ "payment_intent.requires_action": "payment_intent.requires_action";
1058
+ "payment_intent.processing": "payment_intent.processing";
1059
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
1060
+ "payment_intent.succeeded": "payment_intent.succeeded";
1061
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
1062
+ "payment_intent.canceled": "payment_intent.canceled";
1063
+ "charge.refunded": "charge.refunded";
1064
+ "charge.dispute.created": "charge.dispute.created";
1065
+ "charge.dispute.updated": "charge.dispute.updated";
1066
+ "charge.dispute.closed": "charge.dispute.closed";
1067
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
1068
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
1069
+ "refund.created": "refund.created";
1070
+ "refund.updated": "refund.updated";
1071
+ "refund.failed": "refund.failed";
1072
+ "customer.created": "customer.created";
1073
+ "customer.updated": "customer.updated";
1074
+ "customer.deleted": "customer.deleted";
1075
+ "payment_method.attached": "payment_method.attached";
1076
+ "payment_method.detached": "payment_method.detached";
1077
+ "payment_method.updated": "payment_method.updated";
1078
+ "setup_intent.created": "setup_intent.created";
1079
+ "setup_intent.requires_action": "setup_intent.requires_action";
1080
+ "setup_intent.succeeded": "setup_intent.succeeded";
1081
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
1082
+ "setup_intent.canceled": "setup_intent.canceled";
1083
+ "billing.observation.updated": "billing.observation.updated";
1084
+ "connected_account.updated": "connected_account.updated";
1085
+ "product.created": "product.created";
1086
+ "product.updated": "product.updated";
1087
+ "product.deleted": "product.deleted";
1088
+ "price.created": "price.created";
1089
+ "price.updated": "price.updated";
1090
+ "coupon.created": "coupon.created";
1091
+ "coupon.updated": "coupon.updated";
1092
+ "coupon.deleted": "coupon.deleted";
1093
+ "promotion_code.created": "promotion_code.created";
1094
+ "promotion_code.updated": "promotion_code.updated";
1095
+ "account.updated": "account.updated";
1096
+ "application_fee.created": "application_fee.created";
1097
+ "application_fee.refunded": "application_fee.refunded";
1098
+ "payout.created": "payout.created";
1099
+ "payout.updated": "payout.updated";
1100
+ "payout.paid": "payout.paid";
1101
+ "payout.failed": "payout.failed";
1102
+ "payout.canceled": "payout.canceled";
1103
+ "balance.available": "balance.available";
1104
+ "checkout.session.completed": "checkout.session.completed";
1105
+ "checkout.session.expired": "checkout.session.expired";
1106
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1107
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1108
+ "payment_link.created": "payment_link.created";
1109
+ "payment_link.updated": "payment_link.updated";
1110
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1111
+ "reporting.report_run.failed": "reporting.report_run.failed";
1112
+ "customer.subscription.created": "customer.subscription.created";
1113
+ "customer.subscription.updated": "customer.subscription.updated";
1114
+ "customer.subscription.deleted": "customer.subscription.deleted";
1115
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1116
+ "customer.subscription.paused": "customer.subscription.paused";
1117
+ "customer.subscription.resumed": "customer.subscription.resumed";
1118
+ "invoice.created": "invoice.created";
1119
+ "invoice.updated": "invoice.updated";
1120
+ "invoice.deleted": "invoice.deleted";
1121
+ "invoice.finalized": "invoice.finalized";
1122
+ "invoice.paid": "invoice.paid";
1123
+ "invoice.payment_failed": "invoice.payment_failed";
1124
+ "invoice.payment_action_required": "invoice.payment_action_required";
1125
+ "invoice.voided": "invoice.voided";
1126
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1127
+ "invoice.upcoming": "invoice.upcoming";
1128
+ "invoice.sent": "invoice.sent";
1129
+ "invoiceitem.created": "invoiceitem.created";
1130
+ "invoiceitem.deleted": "invoiceitem.deleted";
1131
+ "credit_note.created": "credit_note.created";
1132
+ "credit_note.updated": "credit_note.updated";
1133
+ "credit_note.voided": "credit_note.voided";
1134
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1135
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1136
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1137
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1138
+ "billing.meter.created": "billing.meter.created";
1139
+ "billing.meter.updated": "billing.meter.updated";
1140
+ "billing.meter.deactivated": "billing.meter.deactivated";
1141
+ "billing.meter.reactivated": "billing.meter.reactivated";
1142
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1143
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1144
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1145
+ "billing_portal.session.created": "billing_portal.session.created";
1146
+ "tax.assessment.created": "tax.assessment.created";
1147
+ "tax.review_item.created": "tax.review_item.created";
1148
+ "tax.review_item.updated": "tax.review_item.updated";
1149
+ "*": "*";
1150
+ }>>;
1151
+ status: import("zod").ZodEnum<{
1152
+ enabled: "enabled";
1153
+ disabled: "disabled";
1154
+ }>;
1155
+ disabled_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
1156
+ disabled_by_merchant: "disabled_by_merchant";
1157
+ delivery_failures: "delivery_failures";
1158
+ }>>;
1159
+ api_version: import("zod").ZodString;
1160
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1161
+ created: import("zod").ZodNumber;
1162
+ updated_at: import("zod").ZodNumber;
1163
+ }, import("zod/v4/core").$strict>;
1164
+ readonly sdk: "webhookEndpoints.update";
1165
+ }, {
1166
+ readonly operationId: "deleteWebhookEndpoint";
1167
+ readonly method: "delete";
1168
+ readonly path: "/v1/webhook_endpoints/{id}";
1169
+ readonly tag: "Webhook endpoints";
1170
+ readonly summary: "Delete a webhook endpoint";
1171
+ readonly description: "Its deliveries go with it, pending ones included.";
1172
+ readonly auth: "service";
1173
+ readonly scope: "payments:write";
1174
+ readonly params: {
1175
+ readonly id: "The webhook endpoint (`we_…`).";
1176
+ };
1177
+ readonly response: import("zod").ZodObject<{
1178
+ id: import("zod").ZodString;
1179
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
1180
+ deleted: import("zod").ZodLiteral<true>;
1181
+ }, import("zod/v4/core").$strict>;
1182
+ readonly sdk: "webhookEndpoints.del";
1183
+ }, {
1184
+ readonly operationId: "rollWebhookEndpointSecret";
1185
+ readonly method: "post";
1186
+ readonly path: "/v1/webhook_endpoints/{id}/roll_secret";
1187
+ readonly tag: "Webhook endpoints";
1188
+ readonly summary: "Roll the signing secret";
1189
+ readonly description: "Mint a new secret and show it once. With `expires_in_seconds` (≤ 24h) the previous one keeps signing beside it until then; without, it stops now.";
1190
+ readonly auth: "service";
1191
+ readonly scope: "payments:write";
1192
+ readonly idempotent: true;
1193
+ readonly params: {
1194
+ readonly id: "The webhook endpoint (`we_…`).";
1195
+ };
1196
+ readonly body: import("zod").ZodObject<{
1197
+ expires_in_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1198
+ }, import("zod/v4/core").$strict>;
1199
+ readonly response: import("zod").ZodObject<{
1200
+ secret: import("zod").ZodString;
1201
+ id: import("zod").ZodString;
1202
+ object: import("zod").ZodLiteral<"webhook_endpoint">;
1203
+ livemode: import("zod").ZodBoolean;
1204
+ url: import("zod").ZodString;
1205
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1206
+ enabled_events: import("zod").ZodArray<import("zod").ZodEnum<{
1207
+ "payment_intent.created": "payment_intent.created";
1208
+ "payment_intent.requires_action": "payment_intent.requires_action";
1209
+ "payment_intent.processing": "payment_intent.processing";
1210
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
1211
+ "payment_intent.succeeded": "payment_intent.succeeded";
1212
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
1213
+ "payment_intent.canceled": "payment_intent.canceled";
1214
+ "charge.refunded": "charge.refunded";
1215
+ "charge.dispute.created": "charge.dispute.created";
1216
+ "charge.dispute.updated": "charge.dispute.updated";
1217
+ "charge.dispute.closed": "charge.dispute.closed";
1218
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
1219
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
1220
+ "refund.created": "refund.created";
1221
+ "refund.updated": "refund.updated";
1222
+ "refund.failed": "refund.failed";
1223
+ "customer.created": "customer.created";
1224
+ "customer.updated": "customer.updated";
1225
+ "customer.deleted": "customer.deleted";
1226
+ "payment_method.attached": "payment_method.attached";
1227
+ "payment_method.detached": "payment_method.detached";
1228
+ "payment_method.updated": "payment_method.updated";
1229
+ "setup_intent.created": "setup_intent.created";
1230
+ "setup_intent.requires_action": "setup_intent.requires_action";
1231
+ "setup_intent.succeeded": "setup_intent.succeeded";
1232
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
1233
+ "setup_intent.canceled": "setup_intent.canceled";
1234
+ "billing.observation.updated": "billing.observation.updated";
1235
+ "connected_account.updated": "connected_account.updated";
1236
+ "product.created": "product.created";
1237
+ "product.updated": "product.updated";
1238
+ "product.deleted": "product.deleted";
1239
+ "price.created": "price.created";
1240
+ "price.updated": "price.updated";
1241
+ "coupon.created": "coupon.created";
1242
+ "coupon.updated": "coupon.updated";
1243
+ "coupon.deleted": "coupon.deleted";
1244
+ "promotion_code.created": "promotion_code.created";
1245
+ "promotion_code.updated": "promotion_code.updated";
1246
+ "account.updated": "account.updated";
1247
+ "application_fee.created": "application_fee.created";
1248
+ "application_fee.refunded": "application_fee.refunded";
1249
+ "payout.created": "payout.created";
1250
+ "payout.updated": "payout.updated";
1251
+ "payout.paid": "payout.paid";
1252
+ "payout.failed": "payout.failed";
1253
+ "payout.canceled": "payout.canceled";
1254
+ "balance.available": "balance.available";
1255
+ "checkout.session.completed": "checkout.session.completed";
1256
+ "checkout.session.expired": "checkout.session.expired";
1257
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1258
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1259
+ "payment_link.created": "payment_link.created";
1260
+ "payment_link.updated": "payment_link.updated";
1261
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1262
+ "reporting.report_run.failed": "reporting.report_run.failed";
1263
+ "customer.subscription.created": "customer.subscription.created";
1264
+ "customer.subscription.updated": "customer.subscription.updated";
1265
+ "customer.subscription.deleted": "customer.subscription.deleted";
1266
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1267
+ "customer.subscription.paused": "customer.subscription.paused";
1268
+ "customer.subscription.resumed": "customer.subscription.resumed";
1269
+ "invoice.created": "invoice.created";
1270
+ "invoice.updated": "invoice.updated";
1271
+ "invoice.deleted": "invoice.deleted";
1272
+ "invoice.finalized": "invoice.finalized";
1273
+ "invoice.paid": "invoice.paid";
1274
+ "invoice.payment_failed": "invoice.payment_failed";
1275
+ "invoice.payment_action_required": "invoice.payment_action_required";
1276
+ "invoice.voided": "invoice.voided";
1277
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1278
+ "invoice.upcoming": "invoice.upcoming";
1279
+ "invoice.sent": "invoice.sent";
1280
+ "invoiceitem.created": "invoiceitem.created";
1281
+ "invoiceitem.deleted": "invoiceitem.deleted";
1282
+ "credit_note.created": "credit_note.created";
1283
+ "credit_note.updated": "credit_note.updated";
1284
+ "credit_note.voided": "credit_note.voided";
1285
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1286
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1287
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1288
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1289
+ "billing.meter.created": "billing.meter.created";
1290
+ "billing.meter.updated": "billing.meter.updated";
1291
+ "billing.meter.deactivated": "billing.meter.deactivated";
1292
+ "billing.meter.reactivated": "billing.meter.reactivated";
1293
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1294
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1295
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1296
+ "billing_portal.session.created": "billing_portal.session.created";
1297
+ "tax.assessment.created": "tax.assessment.created";
1298
+ "tax.review_item.created": "tax.review_item.created";
1299
+ "tax.review_item.updated": "tax.review_item.updated";
1300
+ "*": "*";
1301
+ }>>;
1302
+ status: import("zod").ZodEnum<{
1303
+ enabled: "enabled";
1304
+ disabled: "disabled";
1305
+ }>;
1306
+ disabled_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
1307
+ disabled_by_merchant: "disabled_by_merchant";
1308
+ delivery_failures: "delivery_failures";
1309
+ }>>;
1310
+ api_version: import("zod").ZodString;
1311
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1312
+ created: import("zod").ZodNumber;
1313
+ updated_at: import("zod").ZodNumber;
1314
+ }, import("zod/v4/core").$strict>;
1315
+ readonly sdk: "webhookEndpoints.rollSecret";
1316
+ }, {
1317
+ readonly operationId: "sendWebhookEndpointTestEvent";
1318
+ readonly method: "post";
1319
+ readonly path: "/v1/webhook_endpoints/{id}/test";
1320
+ readonly tag: "Webhook endpoints";
1321
+ readonly summary: "Send a test event";
1322
+ readonly description: "Send this endpoint a `webhook_endpoint.test` event now and answer the delivery after its first attempt. A disabled endpoint is refused (`webhook_endpoint_disabled`).";
1323
+ readonly auth: "service";
1324
+ readonly scope: "payments:write";
1325
+ readonly idempotent: true;
1326
+ readonly params: {
1327
+ readonly id: "The webhook endpoint (`we_…`).";
1328
+ };
1329
+ readonly response: import("zod").ZodObject<{
1330
+ id: import("zod").ZodString;
1331
+ object: import("zod").ZodLiteral<"webhook_delivery">;
1332
+ livemode: import("zod").ZodBoolean;
1333
+ event_id: import("zod").ZodString;
1334
+ event_type: import("zod").ZodEnum<{
1335
+ "payment_intent.created": "payment_intent.created";
1336
+ "payment_intent.requires_action": "payment_intent.requires_action";
1337
+ "payment_intent.processing": "payment_intent.processing";
1338
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
1339
+ "payment_intent.succeeded": "payment_intent.succeeded";
1340
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
1341
+ "payment_intent.canceled": "payment_intent.canceled";
1342
+ "charge.refunded": "charge.refunded";
1343
+ "charge.dispute.created": "charge.dispute.created";
1344
+ "charge.dispute.updated": "charge.dispute.updated";
1345
+ "charge.dispute.closed": "charge.dispute.closed";
1346
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
1347
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
1348
+ "refund.created": "refund.created";
1349
+ "refund.updated": "refund.updated";
1350
+ "refund.failed": "refund.failed";
1351
+ "customer.created": "customer.created";
1352
+ "customer.updated": "customer.updated";
1353
+ "customer.deleted": "customer.deleted";
1354
+ "payment_method.attached": "payment_method.attached";
1355
+ "payment_method.detached": "payment_method.detached";
1356
+ "payment_method.updated": "payment_method.updated";
1357
+ "setup_intent.created": "setup_intent.created";
1358
+ "setup_intent.requires_action": "setup_intent.requires_action";
1359
+ "setup_intent.succeeded": "setup_intent.succeeded";
1360
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
1361
+ "setup_intent.canceled": "setup_intent.canceled";
1362
+ "billing.observation.updated": "billing.observation.updated";
1363
+ "connected_account.updated": "connected_account.updated";
1364
+ "product.created": "product.created";
1365
+ "product.updated": "product.updated";
1366
+ "product.deleted": "product.deleted";
1367
+ "price.created": "price.created";
1368
+ "price.updated": "price.updated";
1369
+ "coupon.created": "coupon.created";
1370
+ "coupon.updated": "coupon.updated";
1371
+ "coupon.deleted": "coupon.deleted";
1372
+ "promotion_code.created": "promotion_code.created";
1373
+ "promotion_code.updated": "promotion_code.updated";
1374
+ "account.updated": "account.updated";
1375
+ "application_fee.created": "application_fee.created";
1376
+ "application_fee.refunded": "application_fee.refunded";
1377
+ "payout.created": "payout.created";
1378
+ "payout.updated": "payout.updated";
1379
+ "payout.paid": "payout.paid";
1380
+ "payout.failed": "payout.failed";
1381
+ "payout.canceled": "payout.canceled";
1382
+ "balance.available": "balance.available";
1383
+ "checkout.session.completed": "checkout.session.completed";
1384
+ "checkout.session.expired": "checkout.session.expired";
1385
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1386
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1387
+ "payment_link.created": "payment_link.created";
1388
+ "payment_link.updated": "payment_link.updated";
1389
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1390
+ "reporting.report_run.failed": "reporting.report_run.failed";
1391
+ "customer.subscription.created": "customer.subscription.created";
1392
+ "customer.subscription.updated": "customer.subscription.updated";
1393
+ "customer.subscription.deleted": "customer.subscription.deleted";
1394
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1395
+ "customer.subscription.paused": "customer.subscription.paused";
1396
+ "customer.subscription.resumed": "customer.subscription.resumed";
1397
+ "invoice.created": "invoice.created";
1398
+ "invoice.updated": "invoice.updated";
1399
+ "invoice.deleted": "invoice.deleted";
1400
+ "invoice.finalized": "invoice.finalized";
1401
+ "invoice.paid": "invoice.paid";
1402
+ "invoice.payment_failed": "invoice.payment_failed";
1403
+ "invoice.payment_action_required": "invoice.payment_action_required";
1404
+ "invoice.voided": "invoice.voided";
1405
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1406
+ "invoice.upcoming": "invoice.upcoming";
1407
+ "invoice.sent": "invoice.sent";
1408
+ "invoiceitem.created": "invoiceitem.created";
1409
+ "invoiceitem.deleted": "invoiceitem.deleted";
1410
+ "credit_note.created": "credit_note.created";
1411
+ "credit_note.updated": "credit_note.updated";
1412
+ "credit_note.voided": "credit_note.voided";
1413
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1414
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1415
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1416
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1417
+ "billing.meter.created": "billing.meter.created";
1418
+ "billing.meter.updated": "billing.meter.updated";
1419
+ "billing.meter.deactivated": "billing.meter.deactivated";
1420
+ "billing.meter.reactivated": "billing.meter.reactivated";
1421
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1422
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1423
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1424
+ "billing_portal.session.created": "billing_portal.session.created";
1425
+ "tax.assessment.created": "tax.assessment.created";
1426
+ "tax.review_item.created": "tax.review_item.created";
1427
+ "tax.review_item.updated": "tax.review_item.updated";
1428
+ "webhook_endpoint.test": "webhook_endpoint.test";
1429
+ }>;
1430
+ webhook_endpoint_id: import("zod").ZodString;
1431
+ url: import("zod").ZodString;
1432
+ attempts: import("zod").ZodNumber;
1433
+ delivered: import("zod").ZodBoolean;
1434
+ last_status: import("zod").ZodEnum<{
1435
+ pending: "pending";
1436
+ failed: "failed";
1437
+ delivered: "delivered";
1438
+ dead: "dead";
1439
+ }>;
1440
+ last_error: import("zod").ZodOptional<import("zod").ZodString>;
1441
+ next_attempt_at: import("zod").ZodOptional<import("zod").ZodNumber>;
1442
+ created: import("zod").ZodNumber;
1443
+ updated_at: import("zod").ZodNumber;
1444
+ }, import("zod/v4/core").$strict>;
1445
+ readonly sdk: "webhookEndpoints.sendTestEvent";
1446
+ }, {
1447
+ readonly operationId: "listWebhookDeliveries";
1448
+ readonly method: "get";
1449
+ readonly path: "/v1/webhook_deliveries";
1450
+ readonly tag: "Webhook deliveries";
1451
+ readonly summary: "List webhook deliveries";
1452
+ readonly description: "The delivery log, newest first: one event's deliveries, or one endpoint's. Both filters are public ids resolved inside your scope.";
1453
+ readonly auth: "service";
1454
+ readonly scope: "payments:read";
1455
+ readonly query: import("zod").ZodObject<{
1456
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
1457
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
1458
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
1459
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
1460
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
1461
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
1462
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
1463
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
1464
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
1465
+ gt?: number | undefined;
1466
+ gte?: number | undefined;
1467
+ lt?: number | undefined;
1468
+ lte?: number | undefined;
1469
+ }>>]>>;
1470
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
1471
+ event: import("zod").ZodOptional<import("zod").ZodString>;
1472
+ webhook_endpoint: import("zod").ZodOptional<import("zod").ZodString>;
1473
+ }, import("zod/v4/core").$strict>;
1474
+ readonly response: import("zod").ZodObject<{
1475
+ object: import("zod").ZodLiteral<"list">;
1476
+ data: import("zod").ZodArray<import("zod").ZodObject<{
1477
+ id: import("zod").ZodString;
1478
+ object: import("zod").ZodLiteral<"webhook_delivery">;
1479
+ livemode: import("zod").ZodBoolean;
1480
+ event_id: import("zod").ZodString;
1481
+ event_type: import("zod").ZodEnum<{
1482
+ "payment_intent.created": "payment_intent.created";
1483
+ "payment_intent.requires_action": "payment_intent.requires_action";
1484
+ "payment_intent.processing": "payment_intent.processing";
1485
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
1486
+ "payment_intent.succeeded": "payment_intent.succeeded";
1487
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
1488
+ "payment_intent.canceled": "payment_intent.canceled";
1489
+ "charge.refunded": "charge.refunded";
1490
+ "charge.dispute.created": "charge.dispute.created";
1491
+ "charge.dispute.updated": "charge.dispute.updated";
1492
+ "charge.dispute.closed": "charge.dispute.closed";
1493
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
1494
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
1495
+ "refund.created": "refund.created";
1496
+ "refund.updated": "refund.updated";
1497
+ "refund.failed": "refund.failed";
1498
+ "customer.created": "customer.created";
1499
+ "customer.updated": "customer.updated";
1500
+ "customer.deleted": "customer.deleted";
1501
+ "payment_method.attached": "payment_method.attached";
1502
+ "payment_method.detached": "payment_method.detached";
1503
+ "payment_method.updated": "payment_method.updated";
1504
+ "setup_intent.created": "setup_intent.created";
1505
+ "setup_intent.requires_action": "setup_intent.requires_action";
1506
+ "setup_intent.succeeded": "setup_intent.succeeded";
1507
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
1508
+ "setup_intent.canceled": "setup_intent.canceled";
1509
+ "billing.observation.updated": "billing.observation.updated";
1510
+ "connected_account.updated": "connected_account.updated";
1511
+ "product.created": "product.created";
1512
+ "product.updated": "product.updated";
1513
+ "product.deleted": "product.deleted";
1514
+ "price.created": "price.created";
1515
+ "price.updated": "price.updated";
1516
+ "coupon.created": "coupon.created";
1517
+ "coupon.updated": "coupon.updated";
1518
+ "coupon.deleted": "coupon.deleted";
1519
+ "promotion_code.created": "promotion_code.created";
1520
+ "promotion_code.updated": "promotion_code.updated";
1521
+ "account.updated": "account.updated";
1522
+ "application_fee.created": "application_fee.created";
1523
+ "application_fee.refunded": "application_fee.refunded";
1524
+ "payout.created": "payout.created";
1525
+ "payout.updated": "payout.updated";
1526
+ "payout.paid": "payout.paid";
1527
+ "payout.failed": "payout.failed";
1528
+ "payout.canceled": "payout.canceled";
1529
+ "balance.available": "balance.available";
1530
+ "checkout.session.completed": "checkout.session.completed";
1531
+ "checkout.session.expired": "checkout.session.expired";
1532
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1533
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1534
+ "payment_link.created": "payment_link.created";
1535
+ "payment_link.updated": "payment_link.updated";
1536
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1537
+ "reporting.report_run.failed": "reporting.report_run.failed";
1538
+ "customer.subscription.created": "customer.subscription.created";
1539
+ "customer.subscription.updated": "customer.subscription.updated";
1540
+ "customer.subscription.deleted": "customer.subscription.deleted";
1541
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1542
+ "customer.subscription.paused": "customer.subscription.paused";
1543
+ "customer.subscription.resumed": "customer.subscription.resumed";
1544
+ "invoice.created": "invoice.created";
1545
+ "invoice.updated": "invoice.updated";
1546
+ "invoice.deleted": "invoice.deleted";
1547
+ "invoice.finalized": "invoice.finalized";
1548
+ "invoice.paid": "invoice.paid";
1549
+ "invoice.payment_failed": "invoice.payment_failed";
1550
+ "invoice.payment_action_required": "invoice.payment_action_required";
1551
+ "invoice.voided": "invoice.voided";
1552
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1553
+ "invoice.upcoming": "invoice.upcoming";
1554
+ "invoice.sent": "invoice.sent";
1555
+ "invoiceitem.created": "invoiceitem.created";
1556
+ "invoiceitem.deleted": "invoiceitem.deleted";
1557
+ "credit_note.created": "credit_note.created";
1558
+ "credit_note.updated": "credit_note.updated";
1559
+ "credit_note.voided": "credit_note.voided";
1560
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1561
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1562
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1563
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1564
+ "billing.meter.created": "billing.meter.created";
1565
+ "billing.meter.updated": "billing.meter.updated";
1566
+ "billing.meter.deactivated": "billing.meter.deactivated";
1567
+ "billing.meter.reactivated": "billing.meter.reactivated";
1568
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1569
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1570
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1571
+ "billing_portal.session.created": "billing_portal.session.created";
1572
+ "tax.assessment.created": "tax.assessment.created";
1573
+ "tax.review_item.created": "tax.review_item.created";
1574
+ "tax.review_item.updated": "tax.review_item.updated";
1575
+ "webhook_endpoint.test": "webhook_endpoint.test";
1576
+ }>;
1577
+ webhook_endpoint_id: import("zod").ZodString;
1578
+ url: import("zod").ZodString;
1579
+ attempts: import("zod").ZodNumber;
1580
+ delivered: import("zod").ZodBoolean;
1581
+ last_status: import("zod").ZodEnum<{
1582
+ pending: "pending";
1583
+ failed: "failed";
1584
+ delivered: "delivered";
1585
+ dead: "dead";
1586
+ }>;
1587
+ last_error: import("zod").ZodOptional<import("zod").ZodString>;
1588
+ next_attempt_at: import("zod").ZodOptional<import("zod").ZodNumber>;
1589
+ created: import("zod").ZodNumber;
1590
+ updated_at: import("zod").ZodNumber;
1591
+ }, import("zod/v4/core").$strict>>;
1592
+ has_more: import("zod").ZodBoolean;
1593
+ url: import("zod").ZodString;
1594
+ }, import("zod/v4/core").$strict>;
1595
+ readonly sdk: "webhookDeliveries.list";
1596
+ readonly expandable: "webhook_delivery";
1597
+ }, {
1598
+ readonly operationId: "redeliverWebhookDelivery";
1599
+ readonly method: "post";
1600
+ readonly path: "/v1/webhook_deliveries/{id}/redeliver";
1601
+ readonly tag: "Webhook deliveries";
1602
+ readonly summary: "Redeliver a webhook delivery";
1603
+ readonly description: "Send the delivery's event to its endpoint again — the SAME stored event, as a NEW delivery, attempted at once; answers that new delivery. Refused while the endpoint is disabled (`webhook_endpoint_disabled`).";
1604
+ readonly auth: "service";
1605
+ readonly scope: "payments:write";
1606
+ readonly idempotent: true;
1607
+ readonly params: {
1608
+ readonly id: "The webhook delivery.";
1609
+ };
1610
+ readonly response: import("zod").ZodObject<{
1611
+ id: import("zod").ZodString;
1612
+ object: import("zod").ZodLiteral<"webhook_delivery">;
1613
+ livemode: import("zod").ZodBoolean;
1614
+ event_id: import("zod").ZodString;
1615
+ event_type: import("zod").ZodEnum<{
1616
+ "payment_intent.created": "payment_intent.created";
1617
+ "payment_intent.requires_action": "payment_intent.requires_action";
1618
+ "payment_intent.processing": "payment_intent.processing";
1619
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
1620
+ "payment_intent.succeeded": "payment_intent.succeeded";
1621
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
1622
+ "payment_intent.canceled": "payment_intent.canceled";
1623
+ "charge.refunded": "charge.refunded";
1624
+ "charge.dispute.created": "charge.dispute.created";
1625
+ "charge.dispute.updated": "charge.dispute.updated";
1626
+ "charge.dispute.closed": "charge.dispute.closed";
1627
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
1628
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
1629
+ "refund.created": "refund.created";
1630
+ "refund.updated": "refund.updated";
1631
+ "refund.failed": "refund.failed";
1632
+ "customer.created": "customer.created";
1633
+ "customer.updated": "customer.updated";
1634
+ "customer.deleted": "customer.deleted";
1635
+ "payment_method.attached": "payment_method.attached";
1636
+ "payment_method.detached": "payment_method.detached";
1637
+ "payment_method.updated": "payment_method.updated";
1638
+ "setup_intent.created": "setup_intent.created";
1639
+ "setup_intent.requires_action": "setup_intent.requires_action";
1640
+ "setup_intent.succeeded": "setup_intent.succeeded";
1641
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
1642
+ "setup_intent.canceled": "setup_intent.canceled";
1643
+ "billing.observation.updated": "billing.observation.updated";
1644
+ "connected_account.updated": "connected_account.updated";
1645
+ "product.created": "product.created";
1646
+ "product.updated": "product.updated";
1647
+ "product.deleted": "product.deleted";
1648
+ "price.created": "price.created";
1649
+ "price.updated": "price.updated";
1650
+ "coupon.created": "coupon.created";
1651
+ "coupon.updated": "coupon.updated";
1652
+ "coupon.deleted": "coupon.deleted";
1653
+ "promotion_code.created": "promotion_code.created";
1654
+ "promotion_code.updated": "promotion_code.updated";
1655
+ "account.updated": "account.updated";
1656
+ "application_fee.created": "application_fee.created";
1657
+ "application_fee.refunded": "application_fee.refunded";
1658
+ "payout.created": "payout.created";
1659
+ "payout.updated": "payout.updated";
1660
+ "payout.paid": "payout.paid";
1661
+ "payout.failed": "payout.failed";
1662
+ "payout.canceled": "payout.canceled";
1663
+ "balance.available": "balance.available";
1664
+ "checkout.session.completed": "checkout.session.completed";
1665
+ "checkout.session.expired": "checkout.session.expired";
1666
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
1667
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
1668
+ "payment_link.created": "payment_link.created";
1669
+ "payment_link.updated": "payment_link.updated";
1670
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
1671
+ "reporting.report_run.failed": "reporting.report_run.failed";
1672
+ "customer.subscription.created": "customer.subscription.created";
1673
+ "customer.subscription.updated": "customer.subscription.updated";
1674
+ "customer.subscription.deleted": "customer.subscription.deleted";
1675
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
1676
+ "customer.subscription.paused": "customer.subscription.paused";
1677
+ "customer.subscription.resumed": "customer.subscription.resumed";
1678
+ "invoice.created": "invoice.created";
1679
+ "invoice.updated": "invoice.updated";
1680
+ "invoice.deleted": "invoice.deleted";
1681
+ "invoice.finalized": "invoice.finalized";
1682
+ "invoice.paid": "invoice.paid";
1683
+ "invoice.payment_failed": "invoice.payment_failed";
1684
+ "invoice.payment_action_required": "invoice.payment_action_required";
1685
+ "invoice.voided": "invoice.voided";
1686
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
1687
+ "invoice.upcoming": "invoice.upcoming";
1688
+ "invoice.sent": "invoice.sent";
1689
+ "invoiceitem.created": "invoiceitem.created";
1690
+ "invoiceitem.deleted": "invoiceitem.deleted";
1691
+ "credit_note.created": "credit_note.created";
1692
+ "credit_note.updated": "credit_note.updated";
1693
+ "credit_note.voided": "credit_note.voided";
1694
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
1695
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
1696
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
1697
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
1698
+ "billing.meter.created": "billing.meter.created";
1699
+ "billing.meter.updated": "billing.meter.updated";
1700
+ "billing.meter.deactivated": "billing.meter.deactivated";
1701
+ "billing.meter.reactivated": "billing.meter.reactivated";
1702
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
1703
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
1704
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
1705
+ "billing_portal.session.created": "billing_portal.session.created";
1706
+ "tax.assessment.created": "tax.assessment.created";
1707
+ "tax.review_item.created": "tax.review_item.created";
1708
+ "tax.review_item.updated": "tax.review_item.updated";
1709
+ "webhook_endpoint.test": "webhook_endpoint.test";
1710
+ }>;
1711
+ webhook_endpoint_id: import("zod").ZodString;
1712
+ url: import("zod").ZodString;
1713
+ attempts: import("zod").ZodNumber;
1714
+ delivered: import("zod").ZodBoolean;
1715
+ last_status: import("zod").ZodEnum<{
1716
+ pending: "pending";
1717
+ failed: "failed";
1718
+ delivered: "delivered";
1719
+ dead: "dead";
1720
+ }>;
1721
+ last_error: import("zod").ZodOptional<import("zod").ZodString>;
1722
+ next_attempt_at: import("zod").ZodOptional<import("zod").ZodNumber>;
1723
+ created: import("zod").ZodNumber;
1724
+ updated_at: import("zod").ZodNumber;
1725
+ }, import("zod/v4/core").$strict>;
1726
+ readonly sdk: "webhookDeliveries.redeliver";
1727
+ }];