/api/v1/loyalty/vote-rewardAward loyalty points for one or more votes. Points are calculated as pointsPerVote × count using the value configured in your store’s Loyalty Rewards settings.
This is the REST option for awarding vote rewards. The FluxStore plugin’s Votifier integration is the usual path. See the plugin protocol for how votes are delivered automatically.
Awarding vote rewards requires the store to be on the Pro plan and Loyalty Rewards to be enabled. If loyalty is disabled or the subscription has lapsed, the request returns
403 Forbidden.
Body
playerUsernamestringrequiredThe player who voted.
playerUuidstringThe player’s UUID, if known.
countintegerNumber of votes to award for. Defaults to
1.sourcestringOptional identifier for the vote source.
idempotencyKeystringOptional. Retries with the same key will not double-award.
The data field is the player’s new balance after the reward.