For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Past Chargebacks

POST /api/v1/billing/chargebacks/get_past

CURL Example:

curl https://api.warpstream.com/api/v1/billing/chargebacks/get_past \
    -H 'warpstream-api-key: XXXXXXXXXX' \
    -H 'Content-Type: application/json' \
    -d '{
        "date_start": "2026-05-01",
        "entity_kind": "topic",
        "virtual_cluster_id": "vci_xxx",
        "max_entities_per_cluster": 500,
        "min_total": 0
    }'

Available Filters:

  • date_start: Required. Selects the billing month to retrieve. Pass any date within the desired month, formatted as YYYY-MM-DD.

  • entity_kind: Optional. Filters the response to clusters whose chargeback entity type matches the value. Allowed values are topic, subject, and table.

  • virtual_cluster_id: Optional. Filters the response to a single virtual cluster.

  • max_entities_per_cluster: Optional. Limits the number of entities returned per cluster. Defaults to 500; maximum value is 5000.

  • min_total: Optional. Excludes entities whose total chargeback amount is less than this value, in USD.

Response Body (JSON):

Last updated

Was this helpful?