> ## Documentation Index
> Fetch the complete documentation index at: https://commet.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# credits.purchased

> A credit pack or a chosen quantity of credits was purchased.

## When this fires

When a customer buys a credit pack or a chosen quantity of credits through the API, an automatic top-up, or the customer portal, and the payment succeeds. Purchased credits never expire — unlike plan credits, they survive period resets.

Plan-included credits granted at each period reset fire `credits.granted` instead.

Use it to confirm top-up purchases in your own UI or analytics.


## OpenAPI

````yaml /openapi/en/webhooks/2026-08-27.json webhook credits.purchased
openapi: 3.1.0
info:
  title: Commet Webhooks
  version: '2026-08-27'
  description: >-
    Outbound webhook events emitted by the Commet API. Each event is delivered
    as a signed POST to your configured endpoints.
servers: []
security: []
paths: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.