@commet/node 8.0.1 → 9.1.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 (294) hide show
  1. package/README.md +4 -4
  2. package/dist/index.d.mts +514 -206
  3. package/dist/index.d.ts +514 -206
  4. package/dist/index.js +202 -88
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +202 -88
  7. package/dist/index.mjs.map +1 -1
  8. package/docs/README.md +20 -0
  9. package/docs/ai-onboarding/ai-onboarding.md +90 -0
  10. package/docs/ai-onboarding/billing-best-practices-skill.md +29 -0
  11. package/docs/ai-onboarding/commet-skill.md +58 -0
  12. package/docs/ai-onboarding/mcp-server.md +207 -0
  13. package/docs/ai-onboarding/meta.json +17 -0
  14. package/docs/ai-onboarding/pricing-models-skill.md +29 -0
  15. package/docs/ai-onboarding/subscription-patterns-skill.md +29 -0
  16. package/docs/api-reference/addons.md +127 -0
  17. package/docs/api-reference/api-keys.md +57 -0
  18. package/docs/api-reference/credit-packs.md +80 -0
  19. package/docs/api-reference/customers.md +274 -0
  20. package/docs/api-reference/feature-access.md +36 -0
  21. package/docs/api-reference/features.md +94 -0
  22. package/docs/api-reference/generated-webhooks.md +120 -0
  23. package/docs/api-reference/index.md +31 -0
  24. package/docs/api-reference/invoices.md +123 -0
  25. package/docs/api-reference/markets.md +92 -0
  26. package/docs/api-reference/meta.json +7 -0
  27. package/docs/api-reference/offers.md +104 -0
  28. package/docs/api-reference/payments.md +106 -0
  29. package/docs/api-reference/payouts.md +66 -0
  30. package/docs/api-reference/plan-groups.md +157 -0
  31. package/docs/api-reference/plans.md +358 -0
  32. package/docs/api-reference/portal.md +30 -0
  33. package/docs/api-reference/promo-codes.md +86 -0
  34. package/docs/api-reference/provisioning.md +19 -0
  35. package/docs/api-reference/quota.md +120 -0
  36. package/docs/api-reference/seats.md +123 -0
  37. package/docs/api-reference/subscriptions.md +387 -0
  38. package/docs/api-reference/test-clock.md +59 -0
  39. package/docs/api-reference/transactions.md +78 -0
  40. package/docs/api-reference/usage.md +83 -0
  41. package/docs/documentation/api-versioning.md +100 -0
  42. package/docs/documentation/better-auth.md +361 -0
  43. package/docs/documentation/choose-a-billing-model.md +38 -0
  44. package/docs/documentation/cli.md +1024 -0
  45. package/docs/documentation/create-api-key.md +47 -0
  46. package/docs/documentation/customers/customer-credits.md +48 -0
  47. package/docs/documentation/customers/customer-portal.md +107 -0
  48. package/docs/documentation/customers/manage-customers.md +346 -0
  49. package/docs/documentation/customers/meta.json +5 -0
  50. package/docs/documentation/error-handling.md +239 -0
  51. package/docs/documentation/examples.md +37 -0
  52. package/docs/documentation/finance/acceptable-use.md +145 -0
  53. package/docs/documentation/finance/finance-overview.md +32 -0
  54. package/docs/documentation/finance/local-currency-taxes.md +40 -0
  55. package/docs/documentation/finance/merchant-of-record.md +48 -0
  56. package/docs/documentation/finance/meta.json +13 -0
  57. package/docs/documentation/finance/payouts-verification.md +186 -0
  58. package/docs/documentation/finance/payouts.md +41 -0
  59. package/docs/documentation/finance/supported-countries.md +28 -0
  60. package/docs/documentation/go/integrate-with-encore.md +229 -0
  61. package/docs/documentation/go/integrate-with-go.md +258 -0
  62. package/docs/documentation/go/meta.json +5 -0
  63. package/docs/documentation/introduction.md +58 -0
  64. package/docs/documentation/invoicing/handle-failed-payments.md +283 -0
  65. package/docs/documentation/invoicing/invoices-and-billing-cycles.md +73 -0
  66. package/docs/documentation/invoicing/manage-invoices.md +340 -0
  67. package/docs/documentation/invoicing/meta.json +9 -0
  68. package/docs/documentation/java/integrate-with-java.md +117 -0
  69. package/docs/documentation/java/meta.json +5 -0
  70. package/docs/documentation/meta.json +36 -0
  71. package/docs/documentation/nodejs/integrate-with-astro.md +129 -0
  72. package/docs/documentation/nodejs/integrate-with-bun.md +113 -0
  73. package/docs/documentation/nodejs/integrate-with-express.md +127 -0
  74. package/docs/documentation/nodejs/integrate-with-hono.md +141 -0
  75. package/docs/documentation/nodejs/integrate-with-nextjs.md +118 -0
  76. package/docs/documentation/nodejs/integrate-with-nuxt.md +125 -0
  77. package/docs/documentation/nodejs/integrate-with-remix.md +136 -0
  78. package/docs/documentation/nodejs/integrate-with-sveltekit.md +127 -0
  79. package/docs/documentation/nodejs/meta.json +14 -0
  80. package/docs/documentation/payments/accept-one-time-payments.md +314 -0
  81. package/docs/documentation/payments/meta.json +10 -0
  82. package/docs/documentation/payments/payment-orchestration.md +43 -0
  83. package/docs/documentation/payments/payment-providers.md +59 -0
  84. package/docs/documentation/payments/transactions-refunds-and-retries.md +199 -0
  85. package/docs/documentation/php/integrate-with-laravel.md +222 -0
  86. package/docs/documentation/php/integrate-with-php.md +103 -0
  87. package/docs/documentation/php/integrate-with-symfony.md +214 -0
  88. package/docs/documentation/php/meta.json +9 -0
  89. package/docs/documentation/plans/add-ons.md +257 -0
  90. package/docs/documentation/plans/balance-and-top-ups.md +169 -0
  91. package/docs/documentation/plans/configure-features.md +335 -0
  92. package/docs/documentation/plans/consumption-models.md +93 -0
  93. package/docs/documentation/plans/create-plans.md +162 -0
  94. package/docs/documentation/plans/credit-packs.md +89 -0
  95. package/docs/documentation/plans/meta.json +14 -0
  96. package/docs/documentation/plans/one-time-payments.md +142 -0
  97. package/docs/documentation/plans/plan-groups.md +31 -0
  98. package/docs/documentation/platform/custom-domains.md +27 -0
  99. package/docs/documentation/platform/dashboard-metrics-and-events.md +25 -0
  100. package/docs/documentation/platform/members-and-permissions.md +21 -0
  101. package/docs/documentation/platform/meta.json +10 -0
  102. package/docs/documentation/platform/organization-settings.md +29 -0
  103. package/docs/documentation/python/integrate-with-django.md +161 -0
  104. package/docs/documentation/python/integrate-with-fastapi.md +164 -0
  105. package/docs/documentation/python/integrate-with-flask.md +153 -0
  106. package/docs/documentation/python/integrate-with-python.md +90 -0
  107. package/docs/documentation/python/meta.json +10 -0
  108. package/docs/documentation/sales/card-promotions.md +41 -0
  109. package/docs/documentation/sales/introductory-offers.md +64 -0
  110. package/docs/documentation/sales/meta.json +13 -0
  111. package/docs/documentation/sales/offers.md +65 -0
  112. package/docs/documentation/sales/promo-codes.md +65 -0
  113. package/docs/documentation/sales/promotional-offers.md +58 -0
  114. package/docs/documentation/sales/regional-prices.md +100 -0
  115. package/docs/documentation/sales/trial-periods.md +88 -0
  116. package/docs/documentation/sdk-reference.md +68 -0
  117. package/docs/documentation/subscriptions/manage-subscriptions.md +505 -0
  118. package/docs/documentation/subscriptions/meta.json +9 -0
  119. package/docs/documentation/subscriptions/plan-grants.md +132 -0
  120. package/docs/documentation/subscriptions/upgrade-and-downgrade-plans.md +35 -0
  121. package/docs/documentation/testing-sandbox.md +251 -0
  122. package/docs/documentation/usage/ai-token-billing.md +294 -0
  123. package/docs/documentation/usage/meta.json +10 -0
  124. package/docs/documentation/usage/quota-management.md +341 -0
  125. package/docs/documentation/usage/seat-management.md +377 -0
  126. package/docs/documentation/usage/track-usage.md +282 -0
  127. package/docs/errors/addon_already_active.md +22 -0
  128. package/docs/errors/addon_has_activations.md +22 -0
  129. package/docs/errors/addon_not_active.md +22 -0
  130. package/docs/errors/addon_not_found.md +22 -0
  131. package/docs/errors/already_has_active_subscription.md +22 -0
  132. package/docs/errors/already_scheduled.md +22 -0
  133. package/docs/errors/api_key_not_found.md +22 -0
  134. package/docs/errors/card_promotions_not_available.md +22 -0
  135. package/docs/errors/charge_failed.md +22 -0
  136. package/docs/errors/charge_in_progress.md +22 -0
  137. package/docs/errors/claim_not_pending.md +22 -0
  138. package/docs/errors/credit_pack_not_found.md +22 -0
  139. package/docs/errors/customer_not_found.md +22 -0
  140. package/docs/errors/duplicate.md +22 -0
  141. package/docs/errors/endpoint_deprecated.md +22 -0
  142. package/docs/errors/endpoint_not_available.md +22 -0
  143. package/docs/errors/feature_already_exists.md +22 -0
  144. package/docs/errors/feature_disabled.md +22 -0
  145. package/docs/errors/feature_in_use.md +22 -0
  146. package/docs/errors/feature_not_found.md +22 -0
  147. package/docs/errors/feature_not_in_plan.md +22 -0
  148. package/docs/errors/forbidden.md +22 -0
  149. package/docs/errors/free_plan_change_not_supported.md +22 -0
  150. package/docs/errors/idempotency_in_progress.md +22 -0
  151. package/docs/errors/idempotency_key_mismatch.md +22 -0
  152. package/docs/errors/idempotency_unavailable.md +22 -0
  153. package/docs/errors/included_limit_reached.md +22 -0
  154. package/docs/errors/index.md +89 -0
  155. package/docs/errors/insufficient_balance.md +22 -0
  156. package/docs/errors/insufficient_credits.md +22 -0
  157. package/docs/errors/insufficient_seats.md +22 -0
  158. package/docs/errors/internal_error.md +22 -0
  159. package/docs/errors/invalid_json.md +22 -0
  160. package/docs/errors/invalid_subscription_status.md +22 -0
  161. package/docs/errors/invoice_not_found.md +22 -0
  162. package/docs/errors/market_group_in_use.md +22 -0
  163. package/docs/errors/market_group_not_found.md +22 -0
  164. package/docs/errors/market_in_use.md +22 -0
  165. package/docs/errors/market_not_found.md +22 -0
  166. package/docs/errors/missing_regional_price.md +22 -0
  167. package/docs/errors/model_not_found.md +22 -0
  168. package/docs/errors/no_active_subscription.md +22 -0
  169. package/docs/errors/no_change_requested.md +22 -0
  170. package/docs/errors/no_outstanding_invoice.md +22 -0
  171. package/docs/errors/no_payment_method.md +22 -0
  172. package/docs/errors/no_prices_configured.md +22 -0
  173. package/docs/errors/not_found.md +22 -0
  174. package/docs/errors/not_scheduled_for_cancellation.md +22 -0
  175. package/docs/errors/offer_not_applicable.md +22 -0
  176. package/docs/errors/offer_not_found.md +22 -0
  177. package/docs/errors/one_time_subscription_not_cancelable.md +22 -0
  178. package/docs/errors/organization_already_claimed.md +22 -0
  179. package/docs/errors/payment_failed.md +22 -0
  180. package/docs/errors/payment_method_not_found.md +22 -0
  181. package/docs/errors/payment_not_cancelable.md +22 -0
  182. package/docs/errors/payment_not_found.md +22 -0
  183. package/docs/errors/payouts_not_available_in_sandbox.md +22 -0
  184. package/docs/errors/plan_change_scheduled.md +22 -0
  185. package/docs/errors/plan_group_not_found.md +22 -0
  186. package/docs/errors/plan_not_found.md +22 -0
  187. package/docs/errors/plan_unavailable.md +22 -0
  188. package/docs/errors/plans_not_in_same_group.md +22 -0
  189. package/docs/errors/price_in_use.md +22 -0
  190. package/docs/errors/price_not_found.md +22 -0
  191. package/docs/errors/pricing_mode_mismatch.md +22 -0
  192. package/docs/errors/promo_code_expired.md +22 -0
  193. package/docs/errors/promo_code_not_found.md +22 -0
  194. package/docs/errors/provider_unsupported.md +22 -0
  195. package/docs/errors/rate_limited.md +22 -0
  196. package/docs/errors/sandbox_only.md +22 -0
  197. package/docs/errors/seat_limit_exceeded.md +22 -0
  198. package/docs/errors/subscription_activation_failed.md +22 -0
  199. package/docs/errors/subscription_already_canceled.md +22 -0
  200. package/docs/errors/subscription_cancel_failed.md +22 -0
  201. package/docs/errors/subscription_creation_failed.md +22 -0
  202. package/docs/errors/subscription_has_open_dispute.md +22 -0
  203. package/docs/errors/subscription_not_active.md +22 -0
  204. package/docs/errors/subscription_not_found.md +22 -0
  205. package/docs/errors/subscription_required.md +22 -0
  206. package/docs/errors/subscription_uncancel_failed.md +22 -0
  207. package/docs/errors/transaction_not_found.md +22 -0
  208. package/docs/errors/unauthorized.md +22 -0
  209. package/docs/errors/validation_error.md +22 -0
  210. package/docs/errors/webhook_not_found.md +22 -0
  211. package/docs/errors.md +34 -0
  212. package/docs/getting-started.md +35 -0
  213. package/docs/knowledge-base/how-do-balance-and-top-ups-work.md +22 -0
  214. package/docs/knowledge-base/how-do-credits-credit-packs-and-customer-credits-differ.md +20 -0
  215. package/docs/knowledge-base/how-do-discounts-work.md +65 -0
  216. package/docs/knowledge-base/how-do-free-plans-work-without-payment.md +88 -0
  217. package/docs/knowledge-base/how-do-monthly-quarterly-and-yearly-billing-work.md +77 -0
  218. package/docs/knowledge-base/how-do-offers-promo-codes-and-card-promotions-work-together.md +20 -0
  219. package/docs/knowledge-base/how-do-trial-periods-work.md +54 -0
  220. package/docs/knowledge-base/how-does-billing-work.md +73 -0
  221. package/docs/knowledge-base/how-does-payment-routing-work.md +17 -0
  222. package/docs/knowledge-base/how-does-quota-based-billing-work.md +106 -0
  223. package/docs/knowledge-base/how-does-seat-based-billing-work.md +88 -0
  224. package/docs/knowledge-base/how-is-proration-calculated-when-changing-plans.md +89 -0
  225. package/docs/knowledge-base/meta.json +29 -0
  226. package/docs/knowledge-base/what-happens-when-a-customer-changes-plans.md +110 -0
  227. package/docs/knowledge-base/what-happens-when-a-payment-fails.md +40 -0
  228. package/docs/knowledge-base/what-happens-when-you-change-your-prices.md +74 -0
  229. package/docs/knowledge-base/what-happens-when-you-refund-or-retry-a-transaction.md +21 -0
  230. package/docs/knowledge-base/what-invoices-do-customers-receive-and-when.md +101 -0
  231. package/docs/manifest.json +1677 -0
  232. package/docs/meta.json +11 -0
  233. package/docs/platform-documentation.md +175 -0
  234. package/docs/schemas.md +995 -0
  235. package/docs/webhooks/addon-activated.md +44 -0
  236. package/docs/webhooks/addon-deactivated.md +40 -0
  237. package/docs/webhooks/balance-depleted.md +37 -0
  238. package/docs/webhooks/balance-low.md +39 -0
  239. package/docs/webhooks/balance-topped-up.md +41 -0
  240. package/docs/webhooks/checkout-ready.md +43 -0
  241. package/docs/webhooks/credits-depleted.md +35 -0
  242. package/docs/webhooks/credits-expired.md +35 -0
  243. package/docs/webhooks/credits-granted.md +37 -0
  244. package/docs/webhooks/credits-low.md +39 -0
  245. package/docs/webhooks/credits-purchased.md +41 -0
  246. package/docs/webhooks/customer-created.md +49 -0
  247. package/docs/webhooks/customer-state-changed.md +134 -0
  248. package/docs/webhooks/customer-updated.md +49 -0
  249. package/docs/webhooks/introduction.md +499 -0
  250. package/docs/webhooks/invoice-created.md +45 -0
  251. package/docs/webhooks/invoice-overdue.md +53 -0
  252. package/docs/webhooks/invoice-upcoming.md +43 -0
  253. package/docs/webhooks/invoice-voided.md +53 -0
  254. package/docs/webhooks/meta.json +78 -0
  255. package/docs/webhooks/payment-dispute-resolved.md +52 -0
  256. package/docs/webhooks/payment-disputed.md +49 -0
  257. package/docs/webhooks/payment-failed.md +37 -0
  258. package/docs/webhooks/payment-link-canceled.md +41 -0
  259. package/docs/webhooks/payment-link-completed.md +47 -0
  260. package/docs/webhooks/payment-link-created.md +41 -0
  261. package/docs/webhooks/payment-link-failed.md +45 -0
  262. package/docs/webhooks/payment-method-attached.md +40 -0
  263. package/docs/webhooks/payment-method-updated.md +38 -0
  264. package/docs/webhooks/payment-received.md +45 -0
  265. package/docs/webhooks/payment-recovered.md +39 -0
  266. package/docs/webhooks/payment-refunded.md +47 -0
  267. package/docs/webhooks/payment-retry-failed.md +39 -0
  268. package/docs/webhooks/payout-available.md +33 -0
  269. package/docs/webhooks/payout-created.md +48 -0
  270. package/docs/webhooks/payout-failed.md +52 -0
  271. package/docs/webhooks/payout-paid.md +48 -0
  272. package/docs/webhooks/quota-exceeded.md +44 -0
  273. package/docs/webhooks/quota-threshold-reached.md +41 -0
  274. package/docs/webhooks/seats-limit-reached.md +39 -0
  275. package/docs/webhooks/seats-updated.md +39 -0
  276. package/docs/webhooks/subscription-activated.md +43 -0
  277. package/docs/webhooks/subscription-canceled.md +57 -0
  278. package/docs/webhooks/subscription-cancellation-revoked.md +37 -0
  279. package/docs/webhooks/subscription-cancellation-scheduled.md +45 -0
  280. package/docs/webhooks/subscription-created.md +35 -0
  281. package/docs/webhooks/subscription-past-due.md +43 -0
  282. package/docs/webhooks/subscription-plan-change-revoked.md +50 -0
  283. package/docs/webhooks/subscription-plan-change-scheduled.md +55 -0
  284. package/docs/webhooks/subscription-plan-changed.md +43 -0
  285. package/docs/webhooks/subscription-reactivated.md +53 -0
  286. package/docs/webhooks/subscription-updated.md +39 -0
  287. package/docs/webhooks/trial-checkout-ready.md +39 -0
  288. package/docs/webhooks/trial-converted.md +39 -0
  289. package/docs/webhooks/trial-expired.md +39 -0
  290. package/docs/webhooks/trial-started.md +46 -0
  291. package/docs/webhooks/trial-will-end.md +41 -0
  292. package/docs/webhooks/usage-recorded.md +41 -0
  293. package/docs/webhooks.md +782 -0
  294. package/package.json +2 -1
@@ -0,0 +1,1677 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@commet/node",
4
+ "apiVersion": "2026-07-31",
5
+ "entrypoint": "README.md",
6
+ "gettingStarted": "getting-started.md",
7
+ "errors": "errors.md",
8
+ "apiReference": "api-reference/index.md",
9
+ "schemas": "schemas.md",
10
+ "webhooks": "webhooks.md",
11
+ "platformDocumentation": {
12
+ "source": "apps/web/content/docs/en",
13
+ "index": "platform-documentation.md",
14
+ "count": 171,
15
+ "entries": [
16
+ "ai-onboarding/ai-onboarding.md",
17
+ "ai-onboarding/billing-best-practices-skill.md",
18
+ "ai-onboarding/commet-skill.md",
19
+ "ai-onboarding/mcp-server.md",
20
+ "ai-onboarding/meta.json",
21
+ "ai-onboarding/pricing-models-skill.md",
22
+ "ai-onboarding/subscription-patterns-skill.md",
23
+ "api-reference/meta.json",
24
+ "documentation/api-versioning.md",
25
+ "documentation/better-auth.md",
26
+ "documentation/choose-a-billing-model.md",
27
+ "documentation/cli.md",
28
+ "documentation/create-api-key.md",
29
+ "documentation/customers/customer-credits.md",
30
+ "documentation/customers/customer-portal.md",
31
+ "documentation/customers/manage-customers.md",
32
+ "documentation/customers/meta.json",
33
+ "documentation/error-handling.md",
34
+ "documentation/examples.md",
35
+ "documentation/finance/acceptable-use.md",
36
+ "documentation/finance/finance-overview.md",
37
+ "documentation/finance/local-currency-taxes.md",
38
+ "documentation/finance/merchant-of-record.md",
39
+ "documentation/finance/meta.json",
40
+ "documentation/finance/payouts-verification.md",
41
+ "documentation/finance/payouts.md",
42
+ "documentation/finance/supported-countries.md",
43
+ "documentation/go/integrate-with-encore.md",
44
+ "documentation/go/integrate-with-go.md",
45
+ "documentation/go/meta.json",
46
+ "documentation/introduction.md",
47
+ "documentation/invoicing/handle-failed-payments.md",
48
+ "documentation/invoicing/invoices-and-billing-cycles.md",
49
+ "documentation/invoicing/manage-invoices.md",
50
+ "documentation/invoicing/meta.json",
51
+ "documentation/java/integrate-with-java.md",
52
+ "documentation/java/meta.json",
53
+ "documentation/meta.json",
54
+ "documentation/nodejs/integrate-with-astro.md",
55
+ "documentation/nodejs/integrate-with-bun.md",
56
+ "documentation/nodejs/integrate-with-express.md",
57
+ "documentation/nodejs/integrate-with-hono.md",
58
+ "documentation/nodejs/integrate-with-nextjs.md",
59
+ "documentation/nodejs/integrate-with-nuxt.md",
60
+ "documentation/nodejs/integrate-with-remix.md",
61
+ "documentation/nodejs/integrate-with-sveltekit.md",
62
+ "documentation/nodejs/meta.json",
63
+ "documentation/payments/accept-one-time-payments.md",
64
+ "documentation/payments/meta.json",
65
+ "documentation/payments/payment-orchestration.md",
66
+ "documentation/payments/payment-providers.md",
67
+ "documentation/payments/transactions-refunds-and-retries.md",
68
+ "documentation/php/integrate-with-laravel.md",
69
+ "documentation/php/integrate-with-php.md",
70
+ "documentation/php/integrate-with-symfony.md",
71
+ "documentation/php/meta.json",
72
+ "documentation/plans/add-ons.md",
73
+ "documentation/plans/balance-and-top-ups.md",
74
+ "documentation/plans/configure-features.md",
75
+ "documentation/plans/consumption-models.md",
76
+ "documentation/plans/create-plans.md",
77
+ "documentation/plans/credit-packs.md",
78
+ "documentation/plans/meta.json",
79
+ "documentation/plans/one-time-payments.md",
80
+ "documentation/plans/plan-groups.md",
81
+ "documentation/platform/custom-domains.md",
82
+ "documentation/platform/dashboard-metrics-and-events.md",
83
+ "documentation/platform/members-and-permissions.md",
84
+ "documentation/platform/meta.json",
85
+ "documentation/platform/organization-settings.md",
86
+ "documentation/python/integrate-with-django.md",
87
+ "documentation/python/integrate-with-fastapi.md",
88
+ "documentation/python/integrate-with-flask.md",
89
+ "documentation/python/integrate-with-python.md",
90
+ "documentation/python/meta.json",
91
+ "documentation/sales/card-promotions.md",
92
+ "documentation/sales/introductory-offers.md",
93
+ "documentation/sales/meta.json",
94
+ "documentation/sales/offers.md",
95
+ "documentation/sales/promo-codes.md",
96
+ "documentation/sales/promotional-offers.md",
97
+ "documentation/sales/regional-prices.md",
98
+ "documentation/sales/trial-periods.md",
99
+ "documentation/sdk-reference.md",
100
+ "documentation/subscriptions/manage-subscriptions.md",
101
+ "documentation/subscriptions/meta.json",
102
+ "documentation/subscriptions/plan-grants.md",
103
+ "documentation/subscriptions/upgrade-and-downgrade-plans.md",
104
+ "documentation/testing-sandbox.md",
105
+ "documentation/usage/ai-token-billing.md",
106
+ "documentation/usage/meta.json",
107
+ "documentation/usage/quota-management.md",
108
+ "documentation/usage/seat-management.md",
109
+ "documentation/usage/track-usage.md",
110
+ "knowledge-base/how-do-balance-and-top-ups-work.md",
111
+ "knowledge-base/how-do-credits-credit-packs-and-customer-credits-differ.md",
112
+ "knowledge-base/how-do-discounts-work.md",
113
+ "knowledge-base/how-do-free-plans-work-without-payment.md",
114
+ "knowledge-base/how-do-monthly-quarterly-and-yearly-billing-work.md",
115
+ "knowledge-base/how-do-offers-promo-codes-and-card-promotions-work-together.md",
116
+ "knowledge-base/how-do-trial-periods-work.md",
117
+ "knowledge-base/how-does-billing-work.md",
118
+ "knowledge-base/how-does-payment-routing-work.md",
119
+ "knowledge-base/how-does-quota-based-billing-work.md",
120
+ "knowledge-base/how-does-seat-based-billing-work.md",
121
+ "knowledge-base/how-is-proration-calculated-when-changing-plans.md",
122
+ "knowledge-base/meta.json",
123
+ "knowledge-base/what-happens-when-a-customer-changes-plans.md",
124
+ "knowledge-base/what-happens-when-a-payment-fails.md",
125
+ "knowledge-base/what-happens-when-you-change-your-prices.md",
126
+ "knowledge-base/what-happens-when-you-refund-or-retry-a-transaction.md",
127
+ "knowledge-base/what-invoices-do-customers-receive-and-when.md",
128
+ "meta.json",
129
+ "webhooks/addon-activated.md",
130
+ "webhooks/addon-deactivated.md",
131
+ "webhooks/balance-depleted.md",
132
+ "webhooks/balance-low.md",
133
+ "webhooks/balance-topped-up.md",
134
+ "webhooks/checkout-ready.md",
135
+ "webhooks/credits-depleted.md",
136
+ "webhooks/credits-expired.md",
137
+ "webhooks/credits-granted.md",
138
+ "webhooks/credits-low.md",
139
+ "webhooks/credits-purchased.md",
140
+ "webhooks/customer-created.md",
141
+ "webhooks/customer-state-changed.md",
142
+ "webhooks/customer-updated.md",
143
+ "webhooks/introduction.md",
144
+ "webhooks/invoice-created.md",
145
+ "webhooks/invoice-overdue.md",
146
+ "webhooks/invoice-upcoming.md",
147
+ "webhooks/invoice-voided.md",
148
+ "webhooks/meta.json",
149
+ "webhooks/payment-dispute-resolved.md",
150
+ "webhooks/payment-disputed.md",
151
+ "webhooks/payment-failed.md",
152
+ "webhooks/payment-link-canceled.md",
153
+ "webhooks/payment-link-completed.md",
154
+ "webhooks/payment-link-created.md",
155
+ "webhooks/payment-link-failed.md",
156
+ "webhooks/payment-method-attached.md",
157
+ "webhooks/payment-method-updated.md",
158
+ "webhooks/payment-received.md",
159
+ "webhooks/payment-recovered.md",
160
+ "webhooks/payment-refunded.md",
161
+ "webhooks/payment-retry-failed.md",
162
+ "webhooks/payout-available.md",
163
+ "webhooks/payout-created.md",
164
+ "webhooks/payout-failed.md",
165
+ "webhooks/payout-paid.md",
166
+ "webhooks/quota-exceeded.md",
167
+ "webhooks/quota-threshold-reached.md",
168
+ "webhooks/seats-limit-reached.md",
169
+ "webhooks/seats-updated.md",
170
+ "webhooks/subscription-activated.md",
171
+ "webhooks/subscription-canceled.md",
172
+ "webhooks/subscription-cancellation-revoked.md",
173
+ "webhooks/subscription-cancellation-scheduled.md",
174
+ "webhooks/subscription-created.md",
175
+ "webhooks/subscription-past-due.md",
176
+ "webhooks/subscription-plan-change-revoked.md",
177
+ "webhooks/subscription-plan-change-scheduled.md",
178
+ "webhooks/subscription-plan-changed.md",
179
+ "webhooks/subscription-reactivated.md",
180
+ "webhooks/subscription-updated.md",
181
+ "webhooks/trial-checkout-ready.md",
182
+ "webhooks/trial-converted.md",
183
+ "webhooks/trial-expired.md",
184
+ "webhooks/trial-started.md",
185
+ "webhooks/trial-will-end.md",
186
+ "webhooks/usage-recorded.md"
187
+ ]
188
+ },
189
+ "errorReferences": {
190
+ "index": "errors/index.md",
191
+ "count": 83,
192
+ "entries": [
193
+ {
194
+ "code": "validation_error",
195
+ "type": "validation_error",
196
+ "documentation": "errors/validation_error.md",
197
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/validation_error.md"
198
+ },
199
+ {
200
+ "code": "invalid_json",
201
+ "type": "validation_error",
202
+ "documentation": "errors/invalid_json.md",
203
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/invalid_json.md"
204
+ },
205
+ {
206
+ "code": "unauthorized",
207
+ "type": "authentication_error",
208
+ "documentation": "errors/unauthorized.md",
209
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/unauthorized.md"
210
+ },
211
+ {
212
+ "code": "forbidden",
213
+ "type": "authentication_error",
214
+ "documentation": "errors/forbidden.md",
215
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/forbidden.md"
216
+ },
217
+ {
218
+ "code": "sandbox_only",
219
+ "type": "authentication_error",
220
+ "documentation": "errors/sandbox_only.md",
221
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/sandbox_only.md"
222
+ },
223
+ {
224
+ "code": "payouts_not_available_in_sandbox",
225
+ "type": "authentication_error",
226
+ "documentation": "errors/payouts_not_available_in_sandbox.md",
227
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/payouts_not_available_in_sandbox.md"
228
+ },
229
+ {
230
+ "code": "not_found",
231
+ "type": "not_found_error",
232
+ "documentation": "errors/not_found.md",
233
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/not_found.md"
234
+ },
235
+ {
236
+ "code": "customer_not_found",
237
+ "type": "not_found_error",
238
+ "documentation": "errors/customer_not_found.md",
239
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/customer_not_found.md"
240
+ },
241
+ {
242
+ "code": "feature_not_found",
243
+ "type": "not_found_error",
244
+ "documentation": "errors/feature_not_found.md",
245
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/feature_not_found.md"
246
+ },
247
+ {
248
+ "code": "plan_not_found",
249
+ "type": "not_found_error",
250
+ "documentation": "errors/plan_not_found.md",
251
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/plan_not_found.md"
252
+ },
253
+ {
254
+ "code": "subscription_not_found",
255
+ "type": "not_found_error",
256
+ "documentation": "errors/subscription_not_found.md",
257
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_not_found.md"
258
+ },
259
+ {
260
+ "code": "no_active_subscription",
261
+ "type": "not_found_error",
262
+ "documentation": "errors/no_active_subscription.md",
263
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/no_active_subscription.md"
264
+ },
265
+ {
266
+ "code": "no_prices_configured",
267
+ "type": "conflict_error",
268
+ "documentation": "errors/no_prices_configured.md",
269
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/no_prices_configured.md"
270
+ },
271
+ {
272
+ "code": "already_has_active_subscription",
273
+ "type": "conflict_error",
274
+ "documentation": "errors/already_has_active_subscription.md",
275
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/already_has_active_subscription.md"
276
+ },
277
+ {
278
+ "code": "subscription_not_active",
279
+ "type": "conflict_error",
280
+ "documentation": "errors/subscription_not_active.md",
281
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_not_active.md"
282
+ },
283
+ {
284
+ "code": "subscription_has_open_dispute",
285
+ "type": "internal_error",
286
+ "documentation": "errors/subscription_has_open_dispute.md",
287
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_has_open_dispute.md"
288
+ },
289
+ {
290
+ "code": "subscription_required",
291
+ "type": "conflict_error",
292
+ "documentation": "errors/subscription_required.md",
293
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_required.md"
294
+ },
295
+ {
296
+ "code": "provider_unsupported",
297
+ "type": "conflict_error",
298
+ "documentation": "errors/provider_unsupported.md",
299
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/provider_unsupported.md"
300
+ },
301
+ {
302
+ "code": "no_payment_method",
303
+ "type": "conflict_error",
304
+ "documentation": "errors/no_payment_method.md",
305
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/no_payment_method.md"
306
+ },
307
+ {
308
+ "code": "duplicate",
309
+ "type": "conflict_error",
310
+ "documentation": "errors/duplicate.md",
311
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/duplicate.md"
312
+ },
313
+ {
314
+ "code": "already_scheduled",
315
+ "type": "conflict_error",
316
+ "documentation": "errors/already_scheduled.md",
317
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/already_scheduled.md"
318
+ },
319
+ {
320
+ "code": "feature_not_in_plan",
321
+ "type": "billing_error",
322
+ "documentation": "errors/feature_not_in_plan.md",
323
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/feature_not_in_plan.md"
324
+ },
325
+ {
326
+ "code": "feature_disabled",
327
+ "type": "billing_error",
328
+ "documentation": "errors/feature_disabled.md",
329
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/feature_disabled.md"
330
+ },
331
+ {
332
+ "code": "insufficient_balance",
333
+ "type": "billing_error",
334
+ "documentation": "errors/insufficient_balance.md",
335
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/insufficient_balance.md"
336
+ },
337
+ {
338
+ "code": "insufficient_credits",
339
+ "type": "billing_error",
340
+ "documentation": "errors/insufficient_credits.md",
341
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/insufficient_credits.md"
342
+ },
343
+ {
344
+ "code": "insufficient_seats",
345
+ "type": "billing_error",
346
+ "documentation": "errors/insufficient_seats.md",
347
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/insufficient_seats.md"
348
+ },
349
+ {
350
+ "code": "included_limit_reached",
351
+ "type": "billing_error",
352
+ "documentation": "errors/included_limit_reached.md",
353
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/included_limit_reached.md"
354
+ },
355
+ {
356
+ "code": "missing_regional_price",
357
+ "type": "billing_error",
358
+ "documentation": "errors/missing_regional_price.md",
359
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/missing_regional_price.md"
360
+ },
361
+ {
362
+ "code": "payment_failed",
363
+ "type": "billing_error",
364
+ "documentation": "errors/payment_failed.md",
365
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/payment_failed.md"
366
+ },
367
+ {
368
+ "code": "payment_not_found",
369
+ "type": "not_found_error",
370
+ "documentation": "errors/payment_not_found.md",
371
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/payment_not_found.md"
372
+ },
373
+ {
374
+ "code": "payment_method_not_found",
375
+ "type": "not_found_error",
376
+ "documentation": "errors/payment_method_not_found.md",
377
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/payment_method_not_found.md"
378
+ },
379
+ {
380
+ "code": "payment_not_cancelable",
381
+ "type": "conflict_error",
382
+ "documentation": "errors/payment_not_cancelable.md",
383
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/payment_not_cancelable.md"
384
+ },
385
+ {
386
+ "code": "invalid_subscription_status",
387
+ "type": "conflict_error",
388
+ "documentation": "errors/invalid_subscription_status.md",
389
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/invalid_subscription_status.md"
390
+ },
391
+ {
392
+ "code": "one_time_subscription_not_cancelable",
393
+ "type": "conflict_error",
394
+ "documentation": "errors/one_time_subscription_not_cancelable.md",
395
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/one_time_subscription_not_cancelable.md"
396
+ },
397
+ {
398
+ "code": "not_scheduled_for_cancellation",
399
+ "type": "conflict_error",
400
+ "documentation": "errors/not_scheduled_for_cancellation.md",
401
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/not_scheduled_for_cancellation.md"
402
+ },
403
+ {
404
+ "code": "subscription_already_canceled",
405
+ "type": "conflict_error",
406
+ "documentation": "errors/subscription_already_canceled.md",
407
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_already_canceled.md"
408
+ },
409
+ {
410
+ "code": "subscription_creation_failed",
411
+ "type": "internal_error",
412
+ "documentation": "errors/subscription_creation_failed.md",
413
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_creation_failed.md"
414
+ },
415
+ {
416
+ "code": "subscription_activation_failed",
417
+ "type": "internal_error",
418
+ "documentation": "errors/subscription_activation_failed.md",
419
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_activation_failed.md"
420
+ },
421
+ {
422
+ "code": "subscription_cancel_failed",
423
+ "type": "internal_error",
424
+ "documentation": "errors/subscription_cancel_failed.md",
425
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_cancel_failed.md"
426
+ },
427
+ {
428
+ "code": "subscription_uncancel_failed",
429
+ "type": "internal_error",
430
+ "documentation": "errors/subscription_uncancel_failed.md",
431
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/subscription_uncancel_failed.md"
432
+ },
433
+ {
434
+ "code": "plan_unavailable",
435
+ "type": "conflict_error",
436
+ "documentation": "errors/plan_unavailable.md",
437
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/plan_unavailable.md"
438
+ },
439
+ {
440
+ "code": "no_outstanding_invoice",
441
+ "type": "conflict_error",
442
+ "documentation": "errors/no_outstanding_invoice.md",
443
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/no_outstanding_invoice.md"
444
+ },
445
+ {
446
+ "code": "charge_in_progress",
447
+ "type": "conflict_error",
448
+ "documentation": "errors/charge_in_progress.md",
449
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/charge_in_progress.md"
450
+ },
451
+ {
452
+ "code": "charge_failed",
453
+ "type": "billing_error",
454
+ "documentation": "errors/charge_failed.md",
455
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/charge_failed.md"
456
+ },
457
+ {
458
+ "code": "idempotency_key_mismatch",
459
+ "type": "conflict_error",
460
+ "documentation": "errors/idempotency_key_mismatch.md",
461
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/idempotency_key_mismatch.md"
462
+ },
463
+ {
464
+ "code": "idempotency_in_progress",
465
+ "type": "conflict_error",
466
+ "documentation": "errors/idempotency_in_progress.md",
467
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/idempotency_in_progress.md"
468
+ },
469
+ {
470
+ "code": "idempotency_unavailable",
471
+ "type": "internal_error",
472
+ "documentation": "errors/idempotency_unavailable.md",
473
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/idempotency_unavailable.md"
474
+ },
475
+ {
476
+ "code": "seat_limit_exceeded",
477
+ "type": "billing_error",
478
+ "documentation": "errors/seat_limit_exceeded.md",
479
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/seat_limit_exceeded.md"
480
+ },
481
+ {
482
+ "code": "no_change_requested",
483
+ "type": "validation_error",
484
+ "documentation": "errors/no_change_requested.md",
485
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/no_change_requested.md"
486
+ },
487
+ {
488
+ "code": "plans_not_in_same_group",
489
+ "type": "validation_error",
490
+ "documentation": "errors/plans_not_in_same_group.md",
491
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/plans_not_in_same_group.md"
492
+ },
493
+ {
494
+ "code": "free_plan_change_not_supported",
495
+ "type": "validation_error",
496
+ "documentation": "errors/free_plan_change_not_supported.md",
497
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/free_plan_change_not_supported.md"
498
+ },
499
+ {
500
+ "code": "plan_change_scheduled",
501
+ "type": "validation_error",
502
+ "documentation": "errors/plan_change_scheduled.md",
503
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/plan_change_scheduled.md"
504
+ },
505
+ {
506
+ "code": "addon_not_found",
507
+ "type": "not_found_error",
508
+ "documentation": "errors/addon_not_found.md",
509
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/addon_not_found.md"
510
+ },
511
+ {
512
+ "code": "addon_already_active",
513
+ "type": "conflict_error",
514
+ "documentation": "errors/addon_already_active.md",
515
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/addon_already_active.md"
516
+ },
517
+ {
518
+ "code": "addon_not_active",
519
+ "type": "billing_error",
520
+ "documentation": "errors/addon_not_active.md",
521
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/addon_not_active.md"
522
+ },
523
+ {
524
+ "code": "addon_has_activations",
525
+ "type": "conflict_error",
526
+ "documentation": "errors/addon_has_activations.md",
527
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/addon_has_activations.md"
528
+ },
529
+ {
530
+ "code": "feature_already_exists",
531
+ "type": "conflict_error",
532
+ "documentation": "errors/feature_already_exists.md",
533
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/feature_already_exists.md"
534
+ },
535
+ {
536
+ "code": "feature_in_use",
537
+ "type": "conflict_error",
538
+ "documentation": "errors/feature_in_use.md",
539
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/feature_in_use.md"
540
+ },
541
+ {
542
+ "code": "model_not_found",
543
+ "type": "not_found_error",
544
+ "documentation": "errors/model_not_found.md",
545
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/model_not_found.md"
546
+ },
547
+ {
548
+ "code": "pricing_mode_mismatch",
549
+ "type": "billing_error",
550
+ "documentation": "errors/pricing_mode_mismatch.md",
551
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/pricing_mode_mismatch.md"
552
+ },
553
+ {
554
+ "code": "credit_pack_not_found",
555
+ "type": "not_found_error",
556
+ "documentation": "errors/credit_pack_not_found.md",
557
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/credit_pack_not_found.md"
558
+ },
559
+ {
560
+ "code": "plan_group_not_found",
561
+ "type": "not_found_error",
562
+ "documentation": "errors/plan_group_not_found.md",
563
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/plan_group_not_found.md"
564
+ },
565
+ {
566
+ "code": "offer_not_found",
567
+ "type": "not_found_error",
568
+ "documentation": "errors/offer_not_found.md",
569
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/offer_not_found.md"
570
+ },
571
+ {
572
+ "code": "offer_not_applicable",
573
+ "type": "validation_error",
574
+ "documentation": "errors/offer_not_applicable.md",
575
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/offer_not_applicable.md"
576
+ },
577
+ {
578
+ "code": "card_promotions_not_available",
579
+ "type": "conflict_error",
580
+ "documentation": "errors/card_promotions_not_available.md",
581
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/card_promotions_not_available.md"
582
+ },
583
+ {
584
+ "code": "promo_code_not_found",
585
+ "type": "not_found_error",
586
+ "documentation": "errors/promo_code_not_found.md",
587
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/promo_code_not_found.md"
588
+ },
589
+ {
590
+ "code": "promo_code_expired",
591
+ "type": "conflict_error",
592
+ "documentation": "errors/promo_code_expired.md",
593
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/promo_code_expired.md"
594
+ },
595
+ {
596
+ "code": "webhook_not_found",
597
+ "type": "not_found_error",
598
+ "documentation": "errors/webhook_not_found.md",
599
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/webhook_not_found.md"
600
+ },
601
+ {
602
+ "code": "api_key_not_found",
603
+ "type": "not_found_error",
604
+ "documentation": "errors/api_key_not_found.md",
605
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/api_key_not_found.md"
606
+ },
607
+ {
608
+ "code": "invoice_not_found",
609
+ "type": "not_found_error",
610
+ "documentation": "errors/invoice_not_found.md",
611
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/invoice_not_found.md"
612
+ },
613
+ {
614
+ "code": "transaction_not_found",
615
+ "type": "not_found_error",
616
+ "documentation": "errors/transaction_not_found.md",
617
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/transaction_not_found.md"
618
+ },
619
+ {
620
+ "code": "price_not_found",
621
+ "type": "not_found_error",
622
+ "documentation": "errors/price_not_found.md",
623
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/price_not_found.md"
624
+ },
625
+ {
626
+ "code": "price_in_use",
627
+ "type": "conflict_error",
628
+ "documentation": "errors/price_in_use.md",
629
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/price_in_use.md"
630
+ },
631
+ {
632
+ "code": "market_not_found",
633
+ "type": "not_found_error",
634
+ "documentation": "errors/market_not_found.md",
635
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/market_not_found.md"
636
+ },
637
+ {
638
+ "code": "market_in_use",
639
+ "type": "conflict_error",
640
+ "documentation": "errors/market_in_use.md",
641
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/market_in_use.md"
642
+ },
643
+ {
644
+ "code": "market_group_not_found",
645
+ "type": "not_found_error",
646
+ "documentation": "errors/market_group_not_found.md",
647
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/market_group_not_found.md"
648
+ },
649
+ {
650
+ "code": "market_group_in_use",
651
+ "type": "conflict_error",
652
+ "documentation": "errors/market_group_in_use.md",
653
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/market_group_in_use.md"
654
+ },
655
+ {
656
+ "code": "endpoint_not_available",
657
+ "type": "not_found_error",
658
+ "documentation": "errors/endpoint_not_available.md",
659
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/endpoint_not_available.md"
660
+ },
661
+ {
662
+ "code": "endpoint_deprecated",
663
+ "type": "not_found_error",
664
+ "documentation": "errors/endpoint_deprecated.md",
665
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/endpoint_deprecated.md"
666
+ },
667
+ {
668
+ "code": "organization_already_claimed",
669
+ "type": "conflict_error",
670
+ "documentation": "errors/organization_already_claimed.md",
671
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/organization_already_claimed.md"
672
+ },
673
+ {
674
+ "code": "claim_not_pending",
675
+ "type": "not_found_error",
676
+ "documentation": "errors/claim_not_pending.md",
677
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/claim_not_pending.md"
678
+ },
679
+ {
680
+ "code": "rate_limited",
681
+ "type": "rate_limit_error",
682
+ "documentation": "errors/rate_limited.md",
683
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/rate_limited.md"
684
+ },
685
+ {
686
+ "code": "internal_error",
687
+ "type": "internal_error",
688
+ "documentation": "errors/internal_error.md",
689
+ "canonicalUrl": "/docs/api-reference/2026-07-31/errors/internal_error.md"
690
+ }
691
+ ]
692
+ },
693
+ "resources": [
694
+ {
695
+ "name": "addons",
696
+ "documentation": "api-reference/addons.md",
697
+ "operations": [
698
+ {
699
+ "name": "listActive",
700
+ "operationId": "list-active-addons",
701
+ "method": "GET",
702
+ "path": "/active-addons"
703
+ },
704
+ {
705
+ "name": "get",
706
+ "operationId": "get-addon",
707
+ "method": "GET",
708
+ "path": "/addons/{id}"
709
+ },
710
+ {
711
+ "name": "update",
712
+ "operationId": "update-addon",
713
+ "method": "PATCH",
714
+ "path": "/addons/{id}"
715
+ },
716
+ {
717
+ "name": "delete",
718
+ "operationId": "delete-addon",
719
+ "method": "DELETE",
720
+ "path": "/addons/{id}"
721
+ },
722
+ {
723
+ "name": "list",
724
+ "operationId": "list-addons",
725
+ "method": "GET",
726
+ "path": "/addons"
727
+ },
728
+ {
729
+ "name": "create",
730
+ "operationId": "create-addon",
731
+ "method": "POST",
732
+ "path": "/addons"
733
+ }
734
+ ]
735
+ },
736
+ {
737
+ "name": "apiKeys",
738
+ "documentation": "api-reference/api-keys.md",
739
+ "operations": [
740
+ {
741
+ "name": "delete",
742
+ "operationId": "delete-api-key",
743
+ "method": "DELETE",
744
+ "path": "/api-keys/{id}"
745
+ },
746
+ {
747
+ "name": "list",
748
+ "operationId": "list-api-keys",
749
+ "method": "GET",
750
+ "path": "/api-keys"
751
+ },
752
+ {
753
+ "name": "create",
754
+ "operationId": "create-api-key",
755
+ "method": "POST",
756
+ "path": "/api-keys"
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "name": "provisioning",
762
+ "documentation": "api-reference/provisioning.md",
763
+ "operations": [
764
+ {
765
+ "name": "createClaimLink",
766
+ "operationId": "create-claim-link",
767
+ "method": "POST",
768
+ "path": "/claim-link"
769
+ }
770
+ ]
771
+ },
772
+ {
773
+ "name": "creditPacks",
774
+ "documentation": "api-reference/credit-packs.md",
775
+ "operations": [
776
+ {
777
+ "name": "update",
778
+ "operationId": "update-credit-pack",
779
+ "method": "PATCH",
780
+ "path": "/credit-packs/{id}"
781
+ },
782
+ {
783
+ "name": "delete",
784
+ "operationId": "delete-credit-pack",
785
+ "method": "DELETE",
786
+ "path": "/credit-packs/{id}"
787
+ },
788
+ {
789
+ "name": "list",
790
+ "operationId": "list-credit-packs",
791
+ "method": "GET",
792
+ "path": "/credit-packs"
793
+ },
794
+ {
795
+ "name": "create",
796
+ "operationId": "create-credit-pack",
797
+ "method": "POST",
798
+ "path": "/credit-packs"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "name": "customers",
804
+ "documentation": "api-reference/customers.md",
805
+ "operations": [
806
+ {
807
+ "name": "revokeCredit",
808
+ "operationId": "revoke-customer-credit",
809
+ "method": "POST",
810
+ "path": "/customers/{id}/credits/{creditId}/revoke"
811
+ },
812
+ {
813
+ "name": "listCredits",
814
+ "operationId": "list-customer-credits",
815
+ "method": "GET",
816
+ "path": "/customers/{id}/credits"
817
+ },
818
+ {
819
+ "name": "createCredit",
820
+ "operationId": "create-customer-credit",
821
+ "method": "POST",
822
+ "path": "/customers/{id}/credits"
823
+ },
824
+ {
825
+ "name": "revokePlanGrant",
826
+ "operationId": "revoke-plan-grant",
827
+ "method": "POST",
828
+ "path": "/customers/{id}/plan-grants/{grantId}/revoke"
829
+ },
830
+ {
831
+ "name": "updatePlanGrant",
832
+ "operationId": "update-plan-grant",
833
+ "method": "PATCH",
834
+ "path": "/customers/{id}/plan-grants/{grantId}"
835
+ },
836
+ {
837
+ "name": "listPlanGrants",
838
+ "operationId": "list-plan-grants",
839
+ "method": "GET",
840
+ "path": "/customers/{id}/plan-grants"
841
+ },
842
+ {
843
+ "name": "createPlanGrant",
844
+ "operationId": "create-plan-grant",
845
+ "method": "POST",
846
+ "path": "/customers/{id}/plan-grants"
847
+ },
848
+ {
849
+ "name": "get",
850
+ "operationId": "get-customer",
851
+ "method": "GET",
852
+ "path": "/customers/{id}"
853
+ },
854
+ {
855
+ "name": "update",
856
+ "operationId": "update-customer",
857
+ "method": "PATCH",
858
+ "path": "/customers/{id}"
859
+ },
860
+ {
861
+ "name": "createBatch",
862
+ "operationId": "batch-create-customers",
863
+ "method": "POST",
864
+ "path": "/customers/batch"
865
+ },
866
+ {
867
+ "name": "list",
868
+ "operationId": "list-customers",
869
+ "method": "GET",
870
+ "path": "/customers"
871
+ },
872
+ {
873
+ "name": "create",
874
+ "operationId": "create-customer",
875
+ "method": "POST",
876
+ "path": "/customers"
877
+ }
878
+ ]
879
+ },
880
+ {
881
+ "name": "featureAccess",
882
+ "documentation": "api-reference/feature-access.md",
883
+ "operations": [
884
+ {
885
+ "name": "get",
886
+ "operationId": "get-feature-access",
887
+ "method": "GET",
888
+ "path": "/feature-access/{code}"
889
+ },
890
+ {
891
+ "name": "list",
892
+ "operationId": "list-feature-access",
893
+ "method": "GET",
894
+ "path": "/feature-access"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "name": "features",
900
+ "documentation": "api-reference/features.md",
901
+ "operations": [
902
+ {
903
+ "name": "get",
904
+ "operationId": "get-feature",
905
+ "method": "GET",
906
+ "path": "/features/{code}"
907
+ },
908
+ {
909
+ "name": "update",
910
+ "operationId": "update-feature",
911
+ "method": "PATCH",
912
+ "path": "/features/{code}"
913
+ },
914
+ {
915
+ "name": "delete",
916
+ "operationId": "delete-feature",
917
+ "method": "DELETE",
918
+ "path": "/features/{code}"
919
+ },
920
+ {
921
+ "name": "list",
922
+ "operationId": "list-features",
923
+ "method": "GET",
924
+ "path": "/features"
925
+ },
926
+ {
927
+ "name": "create",
928
+ "operationId": "create-feature",
929
+ "method": "POST",
930
+ "path": "/features"
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ "name": "invoices",
936
+ "documentation": "api-reference/invoices.md",
937
+ "operations": [
938
+ {
939
+ "name": "getDownloadUrl",
940
+ "operationId": "download-invoice",
941
+ "method": "POST",
942
+ "path": "/invoices/{id}/download-links"
943
+ },
944
+ {
945
+ "name": "get",
946
+ "operationId": "get-invoice",
947
+ "method": "GET",
948
+ "path": "/invoices/{id}"
949
+ },
950
+ {
951
+ "name": "send",
952
+ "operationId": "send-invoice",
953
+ "method": "POST",
954
+ "path": "/invoices/{id}/send"
955
+ },
956
+ {
957
+ "name": "updateStatus",
958
+ "operationId": "update-invoice-status",
959
+ "method": "PATCH",
960
+ "path": "/invoices/{id}/status"
961
+ },
962
+ {
963
+ "name": "list",
964
+ "operationId": "list-invoices",
965
+ "method": "GET",
966
+ "path": "/invoices"
967
+ },
968
+ {
969
+ "name": "createAdjustment",
970
+ "operationId": "create-adjustment-invoice",
971
+ "method": "POST",
972
+ "path": "/invoices"
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "name": "markets",
978
+ "documentation": "api-reference/markets.md",
979
+ "operations": [
980
+ {
981
+ "name": "get",
982
+ "operationId": "get-market",
983
+ "method": "GET",
984
+ "path": "/markets/{id}"
985
+ },
986
+ {
987
+ "name": "update",
988
+ "operationId": "update-market",
989
+ "method": "PATCH",
990
+ "path": "/markets/{id}"
991
+ },
992
+ {
993
+ "name": "delete",
994
+ "operationId": "delete-market",
995
+ "method": "DELETE",
996
+ "path": "/markets/{id}"
997
+ },
998
+ {
999
+ "name": "list",
1000
+ "operationId": "list-markets",
1001
+ "method": "GET",
1002
+ "path": "/markets"
1003
+ },
1004
+ {
1005
+ "name": "create",
1006
+ "operationId": "create-market",
1007
+ "method": "POST",
1008
+ "path": "/markets"
1009
+ }
1010
+ ]
1011
+ },
1012
+ {
1013
+ "name": "offers",
1014
+ "documentation": "api-reference/offers.md",
1015
+ "operations": [
1016
+ {
1017
+ "name": "get",
1018
+ "operationId": "get-offer",
1019
+ "method": "GET",
1020
+ "path": "/offers/{id}"
1021
+ },
1022
+ {
1023
+ "name": "update",
1024
+ "operationId": "update-offer",
1025
+ "method": "PATCH",
1026
+ "path": "/offers/{id}"
1027
+ },
1028
+ {
1029
+ "name": "delete",
1030
+ "operationId": "delete-offer",
1031
+ "method": "DELETE",
1032
+ "path": "/offers/{id}"
1033
+ },
1034
+ {
1035
+ "name": "list",
1036
+ "operationId": "list-offers",
1037
+ "method": "GET",
1038
+ "path": "/offers"
1039
+ },
1040
+ {
1041
+ "name": "create",
1042
+ "operationId": "create-offer",
1043
+ "method": "POST",
1044
+ "path": "/offers"
1045
+ }
1046
+ ]
1047
+ },
1048
+ {
1049
+ "name": "payments",
1050
+ "documentation": "api-reference/payments.md",
1051
+ "operations": [
1052
+ {
1053
+ "name": "cancel",
1054
+ "operationId": "cancel-payment",
1055
+ "method": "POST",
1056
+ "path": "/payments/{id}/cancel"
1057
+ },
1058
+ {
1059
+ "name": "get",
1060
+ "operationId": "get-payment",
1061
+ "method": "GET",
1062
+ "path": "/payments/{id}"
1063
+ },
1064
+ {
1065
+ "name": "charge",
1066
+ "operationId": "charge-payment",
1067
+ "method": "POST",
1068
+ "path": "/payments/charge"
1069
+ },
1070
+ {
1071
+ "name": "list",
1072
+ "operationId": "list-payments",
1073
+ "method": "GET",
1074
+ "path": "/payments"
1075
+ },
1076
+ {
1077
+ "name": "create",
1078
+ "operationId": "create-payment",
1079
+ "method": "POST",
1080
+ "path": "/payments"
1081
+ }
1082
+ ]
1083
+ },
1084
+ {
1085
+ "name": "payouts",
1086
+ "documentation": "api-reference/payouts.md",
1087
+ "operations": [
1088
+ {
1089
+ "name": "addBankAccount",
1090
+ "operationId": "add-payout-bank-account",
1091
+ "method": "POST",
1092
+ "path": "/payouts/bank-accounts"
1093
+ },
1094
+ {
1095
+ "name": "request",
1096
+ "operationId": "request-payout",
1097
+ "method": "POST",
1098
+ "path": "/payouts"
1099
+ },
1100
+ {
1101
+ "name": "completeVerification",
1102
+ "operationId": "complete-payout-verification",
1103
+ "method": "POST",
1104
+ "path": "/payouts/verification"
1105
+ }
1106
+ ]
1107
+ },
1108
+ {
1109
+ "name": "planGroups",
1110
+ "documentation": "api-reference/plan-groups.md",
1111
+ "operations": [
1112
+ {
1113
+ "name": "removePlan",
1114
+ "operationId": "remove-plan-from-group",
1115
+ "method": "DELETE",
1116
+ "path": "/plan-groups/{id}/plans/{planId}"
1117
+ },
1118
+ {
1119
+ "name": "reorderPlans",
1120
+ "operationId": "reorder-plans-in-group",
1121
+ "method": "PUT",
1122
+ "path": "/plan-groups/{id}/plans/reorder"
1123
+ },
1124
+ {
1125
+ "name": "addPlan",
1126
+ "operationId": "add-plan-to-group",
1127
+ "method": "POST",
1128
+ "path": "/plan-groups/{id}/plans"
1129
+ },
1130
+ {
1131
+ "name": "get",
1132
+ "operationId": "get-plan-group",
1133
+ "method": "GET",
1134
+ "path": "/plan-groups/{id}"
1135
+ },
1136
+ {
1137
+ "name": "update",
1138
+ "operationId": "update-plan-group",
1139
+ "method": "PATCH",
1140
+ "path": "/plan-groups/{id}"
1141
+ },
1142
+ {
1143
+ "name": "delete",
1144
+ "operationId": "delete-plan-group",
1145
+ "method": "DELETE",
1146
+ "path": "/plan-groups/{id}"
1147
+ },
1148
+ {
1149
+ "name": "list",
1150
+ "operationId": "list-plan-groups",
1151
+ "method": "GET",
1152
+ "path": "/plan-groups"
1153
+ },
1154
+ {
1155
+ "name": "create",
1156
+ "operationId": "create-plan-group",
1157
+ "method": "POST",
1158
+ "path": "/plan-groups"
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "name": "plans",
1164
+ "documentation": "api-reference/plans.md",
1165
+ "operations": [
1166
+ {
1167
+ "name": "updateFeature",
1168
+ "operationId": "update-plan-feature",
1169
+ "method": "PATCH",
1170
+ "path": "/plans/{id}/features/{featureId}"
1171
+ },
1172
+ {
1173
+ "name": "removeFeature",
1174
+ "operationId": "remove-plan-feature",
1175
+ "method": "DELETE",
1176
+ "path": "/plans/{id}/features/{featureId}"
1177
+ },
1178
+ {
1179
+ "name": "addFeature",
1180
+ "operationId": "add-plan-feature",
1181
+ "method": "POST",
1182
+ "path": "/plans/{id}/features"
1183
+ },
1184
+ {
1185
+ "name": "setDefaultPrice",
1186
+ "operationId": "set-default-plan-price",
1187
+ "method": "PUT",
1188
+ "path": "/plans/{id}/prices/{priceId}/default"
1189
+ },
1190
+ {
1191
+ "name": "setRegionalPrices",
1192
+ "operationId": "upsert-regional-prices",
1193
+ "method": "PUT",
1194
+ "path": "/plans/{id}/prices/{priceId}/regional"
1195
+ },
1196
+ {
1197
+ "name": "deleteRegionalPrices",
1198
+ "operationId": "delete-regional-prices",
1199
+ "method": "DELETE",
1200
+ "path": "/plans/{id}/prices/{priceId}/regional"
1201
+ },
1202
+ {
1203
+ "name": "updatePrice",
1204
+ "operationId": "update-plan-price",
1205
+ "method": "PATCH",
1206
+ "path": "/plans/{id}/prices/{priceId}"
1207
+ },
1208
+ {
1209
+ "name": "deletePrice",
1210
+ "operationId": "delete-plan-price",
1211
+ "method": "DELETE",
1212
+ "path": "/plans/{id}/prices/{priceId}"
1213
+ },
1214
+ {
1215
+ "name": "addPrice",
1216
+ "operationId": "add-plan-price",
1217
+ "method": "POST",
1218
+ "path": "/plans/{id}/prices"
1219
+ },
1220
+ {
1221
+ "name": "setRegionalPricing",
1222
+ "operationId": "set-plan-regional-pricing",
1223
+ "method": "PUT",
1224
+ "path": "/plans/{id}/regional"
1225
+ },
1226
+ {
1227
+ "name": "get",
1228
+ "operationId": "get-plan",
1229
+ "method": "GET",
1230
+ "path": "/plans/{id}"
1231
+ },
1232
+ {
1233
+ "name": "update",
1234
+ "operationId": "update-plan",
1235
+ "method": "PATCH",
1236
+ "path": "/plans/{id}"
1237
+ },
1238
+ {
1239
+ "name": "delete",
1240
+ "operationId": "delete-plan",
1241
+ "method": "DELETE",
1242
+ "path": "/plans/{id}"
1243
+ },
1244
+ {
1245
+ "name": "setVisibility",
1246
+ "operationId": "set-plan-visibility",
1247
+ "method": "PUT",
1248
+ "path": "/plans/{id}/visibility"
1249
+ },
1250
+ {
1251
+ "name": "list",
1252
+ "operationId": "list-plans",
1253
+ "method": "GET",
1254
+ "path": "/plans"
1255
+ },
1256
+ {
1257
+ "name": "create",
1258
+ "operationId": "create-plan",
1259
+ "method": "POST",
1260
+ "path": "/plans"
1261
+ }
1262
+ ]
1263
+ },
1264
+ {
1265
+ "name": "portal",
1266
+ "documentation": "api-reference/portal.md",
1267
+ "operations": [
1268
+ {
1269
+ "name": "getUrl",
1270
+ "operationId": "request-portal-access",
1271
+ "method": "POST",
1272
+ "path": "/portal/sessions"
1273
+ }
1274
+ ]
1275
+ },
1276
+ {
1277
+ "name": "promoCodes",
1278
+ "documentation": "api-reference/promo-codes.md",
1279
+ "operations": [
1280
+ {
1281
+ "name": "get",
1282
+ "operationId": "get-promo-code",
1283
+ "method": "GET",
1284
+ "path": "/promo-codes/{id}"
1285
+ },
1286
+ {
1287
+ "name": "update",
1288
+ "operationId": "update-promo-code",
1289
+ "method": "PATCH",
1290
+ "path": "/promo-codes/{id}"
1291
+ },
1292
+ {
1293
+ "name": "list",
1294
+ "operationId": "list-promo-codes",
1295
+ "method": "GET",
1296
+ "path": "/promo-codes"
1297
+ },
1298
+ {
1299
+ "name": "create",
1300
+ "operationId": "create-promo-code",
1301
+ "method": "POST",
1302
+ "path": "/promo-codes"
1303
+ }
1304
+ ]
1305
+ },
1306
+ {
1307
+ "name": "seats",
1308
+ "documentation": "api-reference/seats.md",
1309
+ "operations": [
1310
+ {
1311
+ "name": "getBalance",
1312
+ "operationId": "get-seat-balance",
1313
+ "method": "GET",
1314
+ "path": "/seats/balance"
1315
+ },
1316
+ {
1317
+ "name": "getAllBalances",
1318
+ "operationId": "get-all-seat-balances",
1319
+ "method": "GET",
1320
+ "path": "/seats/balances"
1321
+ },
1322
+ {
1323
+ "name": "setAll",
1324
+ "operationId": "bulk-set-seats",
1325
+ "method": "PUT",
1326
+ "path": "/seats/bulk"
1327
+ },
1328
+ {
1329
+ "name": "remove",
1330
+ "operationId": "remove-seats",
1331
+ "method": "POST",
1332
+ "path": "/seats/remove"
1333
+ },
1334
+ {
1335
+ "name": "add",
1336
+ "operationId": "add-seats",
1337
+ "method": "POST",
1338
+ "path": "/seats"
1339
+ },
1340
+ {
1341
+ "name": "set",
1342
+ "operationId": "set-seats",
1343
+ "method": "PUT",
1344
+ "path": "/seats"
1345
+ }
1346
+ ]
1347
+ },
1348
+ {
1349
+ "name": "subscriptions",
1350
+ "documentation": "api-reference/subscriptions.md",
1351
+ "operations": [
1352
+ {
1353
+ "name": "deactivateAddon",
1354
+ "operationId": "deactivate-addon",
1355
+ "method": "DELETE",
1356
+ "path": "/subscriptions/{id}/addons/{addonId}"
1357
+ },
1358
+ {
1359
+ "name": "activateAddon",
1360
+ "operationId": "activate-addon",
1361
+ "method": "POST",
1362
+ "path": "/subscriptions/{id}/addons"
1363
+ },
1364
+ {
1365
+ "name": "adjustBalance",
1366
+ "operationId": "adjust-balance",
1367
+ "method": "POST",
1368
+ "path": "/subscriptions/{id}/balance/adjust"
1369
+ },
1370
+ {
1371
+ "name": "topupBalance",
1372
+ "operationId": "topup-balance",
1373
+ "method": "POST",
1374
+ "path": "/subscriptions/{id}/balance/topup"
1375
+ },
1376
+ {
1377
+ "name": "cancel",
1378
+ "operationId": "cancel-subscription",
1379
+ "method": "POST",
1380
+ "path": "/subscriptions/{id}/cancel"
1381
+ },
1382
+ {
1383
+ "name": "changePlan",
1384
+ "operationId": "change-plan",
1385
+ "method": "POST",
1386
+ "path": "/subscriptions/{id}/change-plan"
1387
+ },
1388
+ {
1389
+ "name": "purchaseCredits",
1390
+ "operationId": "purchase-credits",
1391
+ "method": "POST",
1392
+ "path": "/subscriptions/{id}/credits"
1393
+ },
1394
+ {
1395
+ "name": "applyOffer",
1396
+ "operationId": "apply-subscription-offer",
1397
+ "method": "PUT",
1398
+ "path": "/subscriptions/{id}/offer"
1399
+ },
1400
+ {
1401
+ "name": "removeOffer",
1402
+ "operationId": "remove-subscription-offer",
1403
+ "method": "DELETE",
1404
+ "path": "/subscriptions/{id}/offer"
1405
+ },
1406
+ {
1407
+ "name": "updatePaymentMethod",
1408
+ "operationId": "update-payment-method",
1409
+ "method": "POST",
1410
+ "path": "/subscriptions/{id}/payment-method/update"
1411
+ },
1412
+ {
1413
+ "name": "previewChange",
1414
+ "operationId": "preview-change-plan",
1415
+ "method": "POST",
1416
+ "path": "/subscriptions/{id}/preview-change"
1417
+ },
1418
+ {
1419
+ "name": "reactivate",
1420
+ "operationId": "reactivate-subscription",
1421
+ "method": "POST",
1422
+ "path": "/subscriptions/{id}/reactivate"
1423
+ },
1424
+ {
1425
+ "name": "createRecoveryLink",
1426
+ "operationId": "create-subscription-recovery-link",
1427
+ "method": "POST",
1428
+ "path": "/subscriptions/{id}/recovery-links"
1429
+ },
1430
+ {
1431
+ "name": "get",
1432
+ "operationId": "get-subscription",
1433
+ "method": "GET",
1434
+ "path": "/subscriptions/{id}"
1435
+ },
1436
+ {
1437
+ "name": "uncancel",
1438
+ "operationId": "uncancel-subscription",
1439
+ "method": "POST",
1440
+ "path": "/subscriptions/{id}/uncancel"
1441
+ },
1442
+ {
1443
+ "name": "getActive",
1444
+ "operationId": "get-active-subscription",
1445
+ "method": "GET",
1446
+ "path": "/subscriptions/active"
1447
+ },
1448
+ {
1449
+ "name": "list",
1450
+ "operationId": "list-subscriptions",
1451
+ "method": "GET",
1452
+ "path": "/subscriptions"
1453
+ },
1454
+ {
1455
+ "name": "create",
1456
+ "operationId": "create-subscription",
1457
+ "method": "POST",
1458
+ "path": "/subscriptions"
1459
+ }
1460
+ ]
1461
+ },
1462
+ {
1463
+ "name": "testClock",
1464
+ "documentation": "api-reference/test-clock.md",
1465
+ "operations": [
1466
+ {
1467
+ "name": "processBilling",
1468
+ "operationId": "process-test-clock-billing",
1469
+ "method": "POST",
1470
+ "path": "/test-clock/process-billing"
1471
+ },
1472
+ {
1473
+ "name": "get",
1474
+ "operationId": "get-test-clock",
1475
+ "method": "GET",
1476
+ "path": "/test-clock"
1477
+ },
1478
+ {
1479
+ "name": "advance",
1480
+ "operationId": "advance-test-clock",
1481
+ "method": "POST",
1482
+ "path": "/test-clock"
1483
+ }
1484
+ ]
1485
+ },
1486
+ {
1487
+ "name": "transactions",
1488
+ "documentation": "api-reference/transactions.md",
1489
+ "operations": [
1490
+ {
1491
+ "name": "refund",
1492
+ "operationId": "refund-transaction",
1493
+ "method": "POST",
1494
+ "path": "/transactions/{id}/refund"
1495
+ },
1496
+ {
1497
+ "name": "retry",
1498
+ "operationId": "retry-transaction",
1499
+ "method": "POST",
1500
+ "path": "/transactions/{id}/retry"
1501
+ },
1502
+ {
1503
+ "name": "get",
1504
+ "operationId": "get-transaction",
1505
+ "method": "GET",
1506
+ "path": "/transactions/{id}"
1507
+ },
1508
+ {
1509
+ "name": "list",
1510
+ "operationId": "list-transactions",
1511
+ "method": "GET",
1512
+ "path": "/transactions"
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ "name": "usage",
1518
+ "documentation": "api-reference/usage.md",
1519
+ "operations": [
1520
+ {
1521
+ "name": "check",
1522
+ "operationId": "check-usage-availability",
1523
+ "method": "POST",
1524
+ "path": "/usage/check"
1525
+ },
1526
+ {
1527
+ "name": "track",
1528
+ "operationId": "track-usage",
1529
+ "method": "POST",
1530
+ "path": "/usage/events"
1531
+ },
1532
+ {
1533
+ "name": "set",
1534
+ "operationId": "set-usage",
1535
+ "method": "PUT",
1536
+ "path": "/usage"
1537
+ }
1538
+ ]
1539
+ },
1540
+ {
1541
+ "name": "quota",
1542
+ "documentation": "api-reference/quota.md",
1543
+ "operations": [
1544
+ {
1545
+ "name": "getAll",
1546
+ "operationId": "get-all-quota-allowances",
1547
+ "method": "GET",
1548
+ "path": "/usage/quota/all"
1549
+ },
1550
+ {
1551
+ "name": "remove",
1552
+ "operationId": "remove-quota",
1553
+ "method": "POST",
1554
+ "path": "/usage/quota/remove"
1555
+ },
1556
+ {
1557
+ "name": "get",
1558
+ "operationId": "get-quota-allowance",
1559
+ "method": "GET",
1560
+ "path": "/usage/quota"
1561
+ },
1562
+ {
1563
+ "name": "add",
1564
+ "operationId": "add-quota",
1565
+ "method": "POST",
1566
+ "path": "/usage/quota"
1567
+ },
1568
+ {
1569
+ "name": "set",
1570
+ "operationId": "set-quota",
1571
+ "method": "PUT",
1572
+ "path": "/usage/quota"
1573
+ }
1574
+ ]
1575
+ },
1576
+ {
1577
+ "name": "webhooks",
1578
+ "documentation": "api-reference/generated-webhooks.md",
1579
+ "operations": [
1580
+ {
1581
+ "name": "get",
1582
+ "operationId": "get-webhook-endpoint",
1583
+ "method": "GET",
1584
+ "path": "/webhooks/{id}"
1585
+ },
1586
+ {
1587
+ "name": "update",
1588
+ "operationId": "update-webhook-endpoint",
1589
+ "method": "PATCH",
1590
+ "path": "/webhooks/{id}"
1591
+ },
1592
+ {
1593
+ "name": "delete",
1594
+ "operationId": "delete-webhook-endpoint",
1595
+ "method": "DELETE",
1596
+ "path": "/webhooks/{id}"
1597
+ },
1598
+ {
1599
+ "name": "test",
1600
+ "operationId": "test-webhook-endpoint",
1601
+ "method": "POST",
1602
+ "path": "/webhooks/{id}/test"
1603
+ },
1604
+ {
1605
+ "name": "list",
1606
+ "operationId": "list-webhook-endpoints",
1607
+ "method": "GET",
1608
+ "path": "/webhooks"
1609
+ },
1610
+ {
1611
+ "name": "create",
1612
+ "operationId": "create-webhook-endpoint",
1613
+ "method": "POST",
1614
+ "path": "/webhooks"
1615
+ }
1616
+ ]
1617
+ }
1618
+ ],
1619
+ "webhookEvents": [
1620
+ "subscription.created",
1621
+ "subscription.activated",
1622
+ "subscription.reactivated",
1623
+ "subscription.canceled",
1624
+ "subscription.updated",
1625
+ "subscription.plan_changed",
1626
+ "subscription.cancellation_scheduled",
1627
+ "subscription.cancellation_revoked",
1628
+ "subscription.plan_change_scheduled",
1629
+ "subscription.plan_change_revoked",
1630
+ "subscription.past_due",
1631
+ "trial.started",
1632
+ "trial.converted",
1633
+ "trial.expired",
1634
+ "trial.will_end",
1635
+ "trial.checkout_ready",
1636
+ "checkout.ready",
1637
+ "payment.received",
1638
+ "payment.failed",
1639
+ "payment.recovered",
1640
+ "payment.retry_failed",
1641
+ "payment.refunded",
1642
+ "payment.disputed",
1643
+ "payment.dispute_resolved",
1644
+ "payment_link.created",
1645
+ "payment_link.completed",
1646
+ "payment_link.failed",
1647
+ "payment_link.canceled",
1648
+ "invoice.created",
1649
+ "invoice.voided",
1650
+ "invoice.overdue",
1651
+ "invoice.upcoming",
1652
+ "payment_method.attached",
1653
+ "payment_method.updated",
1654
+ "customer.created",
1655
+ "customer.updated",
1656
+ "customer.state_changed",
1657
+ "credits.granted",
1658
+ "credits.purchased",
1659
+ "credits.low",
1660
+ "credits.depleted",
1661
+ "credits.expired",
1662
+ "balance.topped_up",
1663
+ "balance.low",
1664
+ "balance.depleted",
1665
+ "quota.threshold_reached",
1666
+ "quota.exceeded",
1667
+ "seats.updated",
1668
+ "seats.limit_reached",
1669
+ "addon.activated",
1670
+ "addon.deactivated",
1671
+ "usage.recorded",
1672
+ "payout.available",
1673
+ "payout.created",
1674
+ "payout.paid",
1675
+ "payout.failed"
1676
+ ]
1677
+ }