Use the Sandbox environment for development and integration testing. Switch to the Production environment only after obtaining your production credentials.
Environment Overview
Sandbox
Development and testing environment. No real financial transactions are processed.
Production
Live environment for processing actual customer transactions.
API Domains
CommerceCash organizes APIs into dedicated services. Each service has its own base URL while sharing the same authentication and security model.- Sandbox
- Production
| Service | Base URL |
|---|---|
| Payment API | https://sandbox-payment.commercecash.my |
| Bill API | https://sandbox-bill.commercecash.my |
| Parking API | https://sandbox-parking.commercecash.my |
| Remittance API | https://sandbox-remittance.commercecash.my |
Switching to Production
Best Practices
Only the Base URL changes between Sandbox and Production. All API endpoints, request payloads, response formats, and authentication methods remain identical.
Store API domains and credentials in configuration files or environment variables instead of hardcoding them into your application.
Related Documentation
Authentication
Learn how to authenticate API requests.
Request Headers
Understand the required HTTP headers.
Signature Generation
Generate request signatures using HMAC-SHA256.
Create Transaction
Create your first transaction using the Payment API.