## List `client.v1.pricingUnits.list(PricingUnitListParamsquery?, RequestOptionsoptions?): CursorPage` **get** `/v1/credit-types/list` List all pricing units (known in the API by the legacy term "credit types"). ### Parameters - **query:** `PricingUnitListParams` - **limit:** `number` Max number of results that should be returned - **next\_page:** `string` Cursor that indicates where the next page of results should start. ### Returns - `PricingUnitListResponse` - **id:** `string` - **is\_currency:** `boolean` - **name:** `string` ### Example ```node import Metronome from '@metronome/sdk'; const client = new Metronome({ bearerToken: 'My Bearer Token', }); // Automatically fetches more pages as needed. for await (const pricingUnitListResponse of client.v1.pricingUnits.list()) { console.log(pricingUnitListResponse.id); } ```