MSAPI Windows Setup Guide

This is the standalone setup page at /en/tutorial/ — easy to open, bookmark, and index. Follow the steps to deploy MSAPI on Windows. Video preview also sits on the homepage.

1. Requirements

2. Baota panel

  1. Install Baota Windows panel and sign in.
  2. Install Nginx or IIS, MySQL, PHP and Redis from the app store.
  3. Enable required PHP extensions; raise upload_max_filesize / post_max_size (50M+).
  4. Add a site, point the root to the package folder, bind SSL.

3. Upload the package

  1. Upload the Ley / Xinghui package to the site root.
  2. Confirm front-end, agent and master-admin folders exist.
  3. Make runtime, upload and cache writable.
  4. Import the bundled Nginx/IIS rewrite rules.

4. Database

  1. Create a database and user in Baota.
  2. Import the package .sql file.
  3. Set DB, Redis and HTTPS site URL in .env or config/database.php.

5. MSAPI merchant

  1. Open API / merchant settings in master admin.
  2. Enter gateway, merchant ID and API key from @msgame.
  3. Whitelist the server IP. Never put production keys on the demo.
  4. Pick single-wallet or transfer-wallet. See the API docs.

6. Test and go live

  1. Demo login: admin / xh123456 (demo only).
  2. Test register, deposit demo, live/sports/slots, agent panel.
  3. Check callback logs for signature or IP errors.
  4. Switch to production keys and back up config.

Video

Official Windows setup recording: