> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zbdpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Player Balance

> Retrieve a player's current rewards balance from your game client using the SDK.

Use `GetBalance` to retrieve a player's current rewards balance and withdrawal limit from your game client.

```csharp theme={null}
ZBDController.Instance.GetBalance(callback =>
{
  if (callback.success)
  {
    // Balance in satoshis (not millisatoshis)
    Debug.Log("Balance: " + callback.balance);
    // Withdrawal limit in satoshis (not millisatoshis)
    Debug.Log("Withdrawal limit: " + callback.withdrawalLimit);
  }
  else if (callback.maintenance)
  {
    // Platform is in maintenance mode — do not update the displayed balance
    Debug.Log("Balance temporarily unavailable.");
  }
  else
  {
    Debug.LogError("GetBalance failed: " + callback.message);
  }
});
```

`GetBalance` returns both values in a single call — the player's accumulated rewards balance and their current daily withdrawal limit. Use this before sending rewards to avoid crediting more than the player can currently withdraw.

<Note>
  The `maintenance` flag can return `true` at any point, including mid-session. When active, do not update the displayed balance. See [Error Handling](/earn/sdk/error-handling) for full maintenance mode guidance.
</Note>
