capabilities.work

Deduct currency from a player's balance

One step with Unity. We can help you get access.

Get something done

Deduct currency from a player's balance

with Unity · Game Backend Services

Use Unity: its Unity Economy Currencies API lets you deduct currency from a player's balance in a single step (POST /v2/projects/{projectId}/environments/{environmentId}/players/{playerId}/currencies/{currencyId}/decrement). capabilities.work can help you get signed up and connected.

  • Can I take coins away from a player's balance?
  • What call reduces a player's currency when they spend it?
Say it to your AI assistant
  • Deduct {amount} of {currencyId} from player {playerId} in project {projectId}, environment {environmentId}.
  • Decrease {playerId}'s {currencyId} balance by {amount} with write lock {writeLock} (project {projectId}, env {environmentId}).
For your developer

POST /v2/projects/{projectId}/environments/{environmentId}/players/{playerId}/currencies/{currencyId}/decrement in Unity Economy Currencies API. Full spec on APIs.io.