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 PlansEdits 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:
- Open the backend
.envfile - Update
ADMIN_EMAILand/orADMIN_PASSWORD - Restart the backend server
- 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:
- Go to Razorpay Dashboard → Settings → API Keys
- Generate a new Key ID and Key Secret
- Update
RAZORPAY_KEY_IDandRAZORPAY_KEY_SECRETin.env - Update
RAZORPAY_WEBHOOK_SECRETif rotating webhook secret - Restart the backend server
Webhook endpoint:
/api/v1/payment/webhook