π Changelogs
Below is the detailed list of recent updates and improvements for the Cashier API. Each update includes new endpoints, fixes, and performance enhancements. Keep your integration up to date with the latest changes!
π
Updated: 20 Nov 2025, 10:49
π New Endpoints Added
GET /api/cashier/user/{id}β Added full FAQ documentation including credits, actual_credits, cash-out rules, and bonus restrictions (20 Nov 2025).
βοΈ Improvements
- Corrected cashier message when user has bonus/free spins or locked game credits (20 Nov 2025).
π 20 Nov 2025 β Today's Updates
- Added complete FAQ documentation for
GET /api/cashier/user/{id}. - Explained the difference between
creditsandactual_creditsclearly. - Documented how
error = trueindicates bonus, free spins, or locked game credits. - Added recommended cashier message when cash-out is restricted.
Includes full Blade template with credit rules, restrictions, and examples.
π
Updated: 5 Nov 2025, 10:49
π New Endpoints Added
GET /api/cashier/meβ Returns cashier profile info.POST /api/cashier/creditsβ Perform credits action (add/remove balance).POST /api/cashier/bonus_cancelβ Cancel active bonus for a user.GET /api/cashier/user-transactionsβ Retrieve user transaction history.POST /api/cashier/panic-modeβ Enable or disable user (panic mode).POST /api/cashier/update-passwordβ Change user password safely.GET /api/cashier/user-logsβ Fetch detailed user activity logs.GET /api/cashier/user-redis-historyβ View user Redis operation history.GET /api/cashier/cash-reportβ Retrieve cash statistics for the shop.GET /api/cashier/user-cash-reportβ Retrieve single userβs cash report.POST /api/cashier/create-userβ Create new player account directly from cashier.
βοΈ Improvements
- Optimized API response times by caching frequent Redis lookups.
- Unified success/error response structure across all endpoints.
- Added timing breakdown in API responses (
fetch_ms,process_ms,total_ms). - Improved authentication middleware to handle token expiry gracefully.
- Added input validation for all POST requests with detailed error feedback.
π Bug Fixes
- Fixed issue where
bonus_cancelsometimes failed with invalid token message. - Resolved race condition in
creditsendpoint when multiple balance updates occurred simultaneously. - Fixed incorrect balance rounding in cash report export.
- Improved error codes consistency (401, 403, 422, 500).
π Related Pages
Login | Users | Cash Report | Create User