Appearance
Environment
POS Hub provides two primary environments for API integrations
SIT
SIT (Systems Integration Testing) is a dedicated environment that can be used for early stage development, testing, and integration validation. It is designed to allow developers to safely test new features, workflows, and integrations without impacting live data or operations.
::: note Applications within the SIT environment are typically configured to staging environments of our partners, this means that you will need to obtain separate credentials for SIT, which are different from the Production credentials. :::
Production
Production is the live environment where all real transactions and operations occur. It is designed for high availability, security, and performance, ensuring that all applications can operate seamlessly with real data and customers.
Quick Comparison
| SIT | Production | |
|---|---|---|
| Endpoint | https://api-sit-dr.stage.tryposhub.com/ | https://api.tryposhub.com |
| Primary Purpose | - Validate API integrations - Test new features/workflows - Conduct safe experiments in isolation | - Manage live transactions - Process real data - Ensure performance, security, and compliance |
| When to Use | - During initial development - For regression testing - For partner integrations and proofs of concept | - Final deployment after SIT testing - Day-to-day production operations - High-availability scenarios |
| Key Best Practices | - Keep test data separate - Use realistic test scenarios - Clean up stale data regularly | - Protect credentials - Set up monitoring & alerts - Follow thorough deployment checklists |
Best Practices
Isolate Test Data
- In SIT, use test accounts or locations clearly separated from production data to avoid cross-contamination.
Use Realistic Test Cases
- The closer your test scenarios are to real-life conditions, the more reliable your results will be.
Secure Credentials
- In Production, always store API keys, tokens, and secrets securely and rotate them regularly based on your organization’s policies.
Monitor & Alert
- Leverage monitoring tools and alerts to quickly detect and address issues in Production, ensuring minimal downtime.
Cleanup & Maintenance
- Regularly clear out stale SIT data to keep testing conditions accurate, and ensure Production remains optimized through routine maintenance.
Choosing the Right Environment
Development & Testing
- Use SIT for early-stage development and experimentation.
- Focus on verifying integrations, workflows, and performance without impacting real data.
Live Deployment
- Switch to Production once your application is stable and you’re ready to serve real customers.
- Prioritize robust security, reliability, and performance monitoring in this environment.
If you need additional environments (e.g., QA or UAT) or have any questions, please reach out to the POS Hub support team for assistance.
