The Bet Brothers
HomeNewsLinkedIn
  • The Bet Brothers APIS
    • 🧩Core Concepts
    • 🔁API Flow
  • OPERATOR API
    • 🔗Operator Integration Service
    • 🔑Protocol API
      • Create api-token
      • Revoke api-token
  • 🚀Game Launcher API
    • Get Game Providers
    • Get Games
    • Launch Game in Demo Mode
    • Launch game in Real Mode
  • 💰Wallet API
    • Balance
    • Bet
    • Win
    • Refund
    • Rollback Win
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 🎮Game Insights
    • Get Game Bet Levels
    • Get Round Info
  • 📖Addendum
    • TBB Error Codes
    • Wallet Error Response
  • SUPPLIER API
    • 🔗Supplier Integration Service
    • 🔑Supplier Protocol API
    • 🚀Game Launcher API
      • Launch Game in Demo Mode
      • Launch Game in Real Mode
  • 🎲Game Events
    • Balance
    • Bet
    • Win
    • Refund
  • 📖Addendum
    • TBB Error Codes
Powered by GitBook
On this page
  1. Game Events

Balance

PreviousGame EventsNextBet

Last updated 9 days ago

🎲
post

Request from the Supplier to The Bet Brothers Platform to get the player's current balance.

Header parameters
X-REQUEST-SIGNstringRequired

HMAC-SHA256 signature of the request body using the shared password.

Body
tokenstringRequired

Session token - must be present in every callback.

provider_namestringRequired

Name of the provider (supplied by The Bet Brothers).

provider_idintegerRequired

Unique identifier of the provider (supplied by The Bet Brothers).

currency_codestringRequired

Currency code in ISO 4217 format (e.g., EUR).

Responses
200
Successfully returned the player's balance.
application/json
403
Forbidden - Invalid or missing token.
application/json
post
POST /wallet/balance HTTP/1.1
Host: 
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 110

{
  "provider_name": "test",
  "provider_id": 19,
  "token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8",
  "currency_code": "EUR"
}
{
  "token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8",
  "balance": 10021
}