List Plan Meters

Enabled per organization

Usage-based billing must be enabled for your organization before these endpoints accept requests. Contact your WHITELABEL account manager to enable it. Requests from an organization where it is not enabled return 403 PRODUCT_NOT_ENABLED.

The metered prices are returned in data with a pagination object (total, limit, offset, has_more). The same list is returned as meters[] on Retrieve Plan — always an array, empty for a plan without metered prices.

GET/subscriptions/plans/{plan_id}/meters

Usage-based billing must be enabled for your organization before this endpoint accepts requests (otherwise 403 PRODUCT_NOT_ENABLED). Returns every metered price attached to a plan. The same list is embedded as meters[] on Retrieve Plan.

Header Parameters

X-Account-Codestringrequired

The account_id found in your WHITELABEL Dashboard (UUID). Required — omitting it returns 400 BAD_REQUEST (“Invalid x-account-code header.”).

Path Parameters

plan_idstringrequired

The unique identifier of the plan.

Response

200

dataobject[]
Show data properties
idstring

The unique identifier of the metered price (the plan-meter relation).

plan_idstring
meter_idstring
creditsnumber

Units included in the plan per billing cycle.

pricing_strategy"PER_UNIT" | "PACKAGE" | "TIERED"
price_per_creditobject

null when inherited from the meter’s default_price (USD plans).

Show price_per_credit properties
currencystring
valuenumber
country_pricesobject[]
Show country_prices properties
countrystring
amountobject
Show amount properties
currencystring
valuenumber
created_atstring

Set by WHITELABEL on creation.

updated_atstring

Set by WHITELABEL on every update.

paginationobject
Show pagination properties
totalinteger

Total number of items.

limitinteger
offsetinteger
has_moreboolean

true when more items exist beyond offset + limit.

400

codestring
messagesstring[]

403

codestring
messagesstring[]