Metric catalog
Replace metric catalog
Replaces the company usage metric catalog.
AuthorizationBearer <token>
API key as Bearer token: Authorization: Bearer luc_live_.... Create keys in the dashboard under Settings > API Keys.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/v1/billing/metric-catalog" \ -H "Content-Type: application/json" \ -d '{ "metrics": [ { "metric": "WIRE_DOMESTIC_INCOMING_POSTED", "label": "Incoming domestic wire" }, { "metric": "VIRTUAL_ACCOUNT_CREATED", "label": "Virtual account creation" } ] }'{ "object": "list", "data": [ { "id": "string", "metric": "string", "label": "string", "default_unit_price": "string", "currency": "string", "sort_order": 0 } ]}{ "error": "Missing API key"}