B_balance

Returns current balance.

Return type

The query returns the B_API_Balance type.

This query is rate limited. Maximum 2 requests per 1 minute

Example Query

query {
    B_balance {
        total { amount currency }
        payout { amount currency }
        onHold { amount currency }
        giftCard { amount currency }
        affiliate { amount currency }
        credit { amount currency }
        frozenBonus { amount currency }
    }
}

Example Response

{
  "data": {
    "B_balance": {
      "total": {
        "amount": 300000,
        "currency": "EUR"
      },
      "payout": {
        "amount": 25000,
        "currency": "EUR"
      },
      "onHold": {
        "amount": 10000,
        "currency": "EUR"
      },
      "giftCard": {
        "amount": 5000,
        "currency": "EUR"
      },
      "affiliate": {
        "amount": 1000,
        "currency": "EUR"
      },
      "credit": {
        "amount": 30000,
        "currency": "EUR"
      },
      "frozenBonus": {
        "amount": 0,
        "currency": "EUR"
      }
    }
  }
}
Copyright 2024 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania