## List `client.V1.PricingUnits.List(ctx, query) (*CursorPage[V1PricingUnitListResponse], error)` **get** `/v1/credit-types/list` List all pricing units (known in the API by the legacy term "credit types"). ### Parameters - **query:** `V1PricingUnitListParams` - **Limit:** `param.Field[int64]` Max number of results that should be returned - **NextPage:** `param.Field[string]` Cursor that indicates where the next page of results should start. ### Returns - Not supported - **ID:** `string` - **IsCurrency:** `bool` - **Name:** `string` ### Example ```go package main import ( "context" "fmt" "github.com/Metronome-Industries/metronome-go" "github.com/Metronome-Industries/metronome-go/option" ) func main() { client := metronome.NewClient( option.WithBearerToken("My Bearer Token"), ) page, err := client.V1.PricingUnits.List(context.TODO(), metronome.V1PricingUnitListParams{ }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", page) } ```