## List Charges `v1.plans.list_charges(PlanListChargesParams**kwargs) -> SyncCursorPage[PlanListChargesResponse]` **get** `/v1/planDetails/{plan_id}/charges` Fetches a list of charges of a specific plan. ### Parameters - **plan\_id:** `str` - **limit:** `int` Max number of results that should be returned - **next\_page:** `str` Cursor that indicates where the next page of results should start. ### Returns - `class PlanListChargesResponse` - **id:** `str` - **charge\_type:** `Literal["usage", "fixed", "composite", 2 more]` - `"usage"` - `"fixed"` - `"composite"` - `"minimum"` - `"seat"` - **credit\_type:** `CreditTypeData` - **custom\_fields:** `Dict[str, str]` - **name:** `str` - **prices:** `List[Price]` - **tier:** `float` Used in pricing tiers. Indicates at what metric value the price applies. - **value:** `float` - **collection\_interval:** `Optional[float]` - **collection\_schedule:** `Optional[str]` - **quantity:** `Optional[float]` - **product\_id:** `str` - **product\_name:** `str` - **quantity:** `Optional[float]` - **start\_period:** `Optional[float]` Used in price ramps. Indicates how many billing periods pass before the charge applies. - **tier\_reset\_frequency:** `Optional[float]` Used in pricing tiers. Indicates how often the tier resets. Default is 1 - the tier count resets every billing period. - **unit\_conversion:** `Optional[UnitConversion]` Specifies how quantities for usage based charges will be converted. - **division\_factor:** `float` The conversion factor - **rounding\_behavior:** `Optional[Literal["floor", "ceiling"]]` Whether usage should be rounded down or up to the nearest whole number. If null, quantity will be rounded to 20 decimal places. - `"floor"` - `"ceiling"` ### Example ```python from metronome import Metronome client = Metronome( bearer_token="My Bearer Token", ) page = client.v1.plans.list_charges( plan_id="d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc", ) page = page.data[0] print(page.id) ```