๐งพ User Info Endpoint
The User Info API retrieves the full financial and status information of a specific player. This includes real cash-out balance, total credits (including bonus), bonus restrictions, and system flags that affect the playerโs ability to cash out or play.
โน๏ธ Description
actual_credits= Real money the player can cash out.credits= Total playable credits (real + bonus together).error= If true, the player has bonus/free spins or locked credits restricting cash-out.
GET https://proapi.gapi.lol/api/cashier/user/{id}
Replace {id} with the target playerโs unique ID.
This endpoint requires a valid Bearer token:
Authorization: Bearer <your_token>
Accept: application/json
- actual_credits: Real available balance. This amount can be withdrawn or cashed out.
- credits: Playable balance inside games, including any bonus money.
- allow_out: If
true, cash-out is allowed. Iffalse, cash-out is restricting. - check_free_spins: If
true, the player has active free spins.
error = true
If the API returns "error": true, the player has a restriction such as:
- Active bonus balance
- Active free spins
- Locked credits inside a game
- System restrictions preventing cash-out
Cashier message to the customer:
{
"success": true,
"user": {
"id": 3224,
"name": "22",
"username": "00863426",
"credits": "100.00",
"actual_credits": "50.00",
"allow_out": true,
"panic_mode": 1,
"online": 0,
"game": null,
"wager": false,
"check_free_spins": false,
"error": true,
"trans": "player: 00863426 error: has credits from bonus"
},
"shop": { ... }
}
curl -X GET "https://proapi.gapi.lol/api/cashier/user/3224" \
-H "Authorization: Bearer <your_token>" \
-H "Accept: application/json"
401 Unauthorized โ Wrong username or password:
{
"success": false,
"message": "Please login via API token"
}
403 Forbidden โ Account suspended or disabled:
{
"success": false,
"message": "Account suspended"
}
429 Too Many Requests โ Rate limit exceeded:
{
"success": false,
"message": "Too many attempts. Try again later."
}
500 Internal Server Error โ Server-side issue:
{
"success": false,
"message": "Unexpected server error"
}