API Callbacks
Authentication

Authentication

Request

[GET] {WALLET_URL}/?user_id=10000&action=authenticate&token=xxxxx
ParameterTypeRequiredDescription
actionstringyesauthenticate
user_idintegeryesuser’s ID at the casino
tokenstringyesverify game session id from casino

Response

Response should be a json object.

{
    "status": "OK",
    "user_id": 10000,
    "username": "user123",
    "balance": 100.05,
    "currency":"USD",
    "exchanged_currency":false
}
ParameterTypeRequiredDescription
statusstringyesOK
balancefloatyes100.05
currencystring(3)yesUSD
user_idintegeryes10000
usernamestringyestest_user1
exchanged_currencystring(3)noEUR