/docs
API docs
The collection of documentation for the API.
Authorize required
To get your Bearer token, log in on the main site. wishapp.online
Balance API
Request user balance in points. Bearer token authentication. GET method.
Endpoint
https://api.wishapp.online/v1/balance/GET
/v1/balance/Returns the current user balance in points. Authorization header with Bearer token is required.
Headers
Authorization: Bearer <api_token>
Response
200 OKSuccess
{
"balance": 185317.0,
"available_balance": 185317.0,
"points": "185317.00000"
}balance — total balance in points (number).
available_balance — available balance in points (number), including frozen funds.
points — balance in points as string (for exact display).
Possible errors
| Code | Description |
|---|---|
| 401 UNAUTHORIZED | Token not provided or invalid |