Authentication
Request
[GET] {WALLET_URL}/?user_id=10000&action=authenticate&token=xxxxx| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | authenticate |
| user_id | integer | yes | user’s ID at the casino |
| token | string | yes | verify 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
}| Parameter | Type | Required | Description |
|---|---|---|---|
| status | string | yes | OK |
| balance | float | yes | 100.05 |
| currency | string(3) | yes | USD |
| user_id | integer | yes | 10000 |
| username | string | yes | test_user1 |
| exchanged_currency | string(3) | no | EUR |