Balance

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
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
}

Last updated