Settings

Admin configuration and integration details

Environment

API Base URLhttps://api.sahayaq.com/api/v1
Admin Panel Version1.0.0
Environmentproduction

Update NEXT_PUBLIC_API_URL in .env.local and restart to change the API URL.

Plan Limits

Plan prices, monthly bill quotas, and feature lists are stored in the database and edited live.

Manage Plans

Edits are picked up by the backend within ~5 minutes (cache TTL).

Admin Credentials

Admin email and password are stored as backend environment variables and verified at login time. To change them:

  1. Open the backend .env file
  2. Update ADMIN_EMAIL and/or ADMIN_PASSWORD
  3. Restart the backend server
  4. Log in again with the new credentials

ADMIN_EMAIL=your@email.com

ADMIN_PASSWORD=your_new_password

Razorpay Integration

Razorpay credentials live in the backend .env. To rotate keys:

  1. Go to Razorpay Dashboard → Settings → API Keys
  2. Generate a new Key ID and Key Secret
  3. Update RAZORPAY_KEY_ID and RAZORPAY_KEY_SECRET in .env
  4. Update RAZORPAY_WEBHOOK_SECRET if rotating webhook secret
  5. Restart the backend server
Webhook endpoint: /api/v1/payment/webhook