Admin

Modify points category

Changed on

Set a single point category's value for an existing wallet+epoch row (internal). Fails with NOT_FOUND if no ledger row exists yet — ingest must run first.

patch/admin/points

Request

Request body

wallet_addressstring
points_epochstring
category'POINTS_CATEGORY_UNSPECIFIED' | 'POINTS_CATEGORY_TRADING' | 'POINTS_CATEGORY_REFERRAL' | 'POINTS_CATEGORY_TRADING_BOOSTED' | 'POINTS_CATEGORY_REFERRAL_BOOSTED' | 'POINTS_CATEGORY_PAIR_BOOSTED' | 'POINTS_CATEGORY_STREAKS_BOOSTED' | 'POINTS_CATEGORY_LIQUIDITY_PROVIDER'

PointsCategory enumerates the 7 point categories from the points program spec.

valuestring

Response

A successful response.

Changes