Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
POST/api/v1/loyalty/grant

Grant loyalty points to a player. The points are added to the player’s balance immediately.

Granting points 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

playerUsernamestringrequired
The player to grant points to.
playerUuidstring
The player’s UUID, if known.
amountnumberrequired
Number of points to grant.
reasonstring
Optional reason logged against the grant.
idempotencyKeystring
Optional. Retries with the same key will not double-grant.

The data field is the player’s new balance after the grant.