API Portal

πŸ“ 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 credits and actual_credits clearly.
  • Documented how error = true indicates 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_cancel sometimes failed with invalid token message.
  • Resolved race condition in credits endpoint 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