Skip to main content
A player’s withdrawal limit determines the maximum they can withdraw in a 24-hour window. It accrues automatically as they play, and can be increased from your server based on revenue events. Use GetBalance to retrieve both the rewards balance and the current withdrawal limit in a single call:
ZBDController.Instance.GetBalance(callback =>
{
  if (callback.success)
  {
    // Withdrawal limit in satoshis (not millisatoshis)
    long withdrawalLimit = callback.withdrawalLimit;
    // Balance in satoshis (not millisatoshis)
    long rewardsBalance = callback.balance;

    Debug.Log($"Withdrawal limit: {withdrawalLimit}");
    Debug.Log($"Rewards balance: {rewardsBalance}");
  }
  else
  {
    Debug.LogError($"GetBalance failed: {callback.message}");
  }
});
If a player’s rewards balance exceeds their withdrawal limit, the excess carries forward. They can access it as the limit resets daily or is increased from your server. See Reward Economics for guidance on configuring withdrawal limits.