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

# v1.52.4 (3rd September 2025)

> Usage-Based Billing, public Refund Receipt API, 100% subscription discounts, and checkout session ID in payments

## New Features 🚀

### Usage-Based Billing

Bill customers precisely based on actual consumption. Define meters, ingest events, and convert usage into charges automatically.

* **Flexible aggregation**: count, sum (over property), unique, max, last
* **Event filtering**: AND/OR logic with rich comparators to include only relevant events
* **Product linkage**: attach meters to products with price-per-unit and optional free thresholds
* **Analytics**: track trends, event streams, and per-customer consumption

<CardGroup cols={2}>
  <Card title="Feature Overview" icon="rocket" href="/features/usage-based-billing/introduction">
    Learn the concepts, components, and the end-to-end data flow.
  </Card>

  <Card title="Integration Guide" icon="code" href="/developer-resources/usage-based-billing-guide">
    Step-by-step setup for meters, products, and event ingestion.
  </Card>
</CardGroup>

<Warning>
  Usage-Based Billing is currently in beta.
</Warning>

### 100% Discounts for Subscriptions

Apply a 100% discount for any number of billing cycles to support complimentary periods, sponsorships, or promotional campaigns. Invoices reflect the full discount and proration follows your plan settings.

### Minor Improvements

* Refund Receipt API is now publicly accessible. See the docs: [/api-reference/refunds/get-refund-receipt](/api-reference/refunds/get-refund-receipt).
* Added `checkout session ID` to the Get Payment API response and payment webhooks to help correlate payments with their originating checkout session.
