The meCash Docs is live πŸŽ‰ πŸŽ‰
🌍 Environments

meCash Environments

meCash offers two distinct environments for development and deployment:

  1. Sandbox Environment – Your dedicated space for testing and development.
  2. Production Environment – The live environment for processing real transactions with your users.

Understanding the difference between these environments is essential for a smooth integration process.

1. Sandbox Environment

The sandbox environment is a testing ground where you can simulate meCash APIs without affecting real accounts or processing actual transactions. It closely mirrors the production environment but operates exclusively with test data.

Base URL

https://sandboxapi.me-cash.com

Key Features:

  • No Real Funds Involved: All transactions are simulated; no real money is transferred.
  • API Behavior Consistency: Mimics production API responses and behaviors for accurate testing.
  • Safe Testing: Ideal for debugging, integration testing, and ensuring your application interacts correctly with MeCash services.

Note: Avoid using real customer data in the sandbox environment, as it's intended solely for testing purposes.

2. Production Environment

The production environment is the live setting where actual transactions occur. After thorough testing in the sandbox, you can transition to production to handle real payments.

Base URL

https://api.me-cash.com

Key Features:

  • Real Transactions: Processes genuine payments and affects actual accounts.
  • Secure Operations: Employs robust security measures to protect sensitive data.
  • High Availability: Designed for reliability and uptime to support business-critical operations.

How to Access:

  • Account Setup: Ensure you have a verified meCash production account.
  • API Keys: Obtain production API keys from your production dashboard.
  • Endpoints: Use the production API endpoint: https://api.mecash.com.

Security and Access

meCash utilizes standard OAuth 2.0 protocol for authentication and authorization. Upon setting up your account, you'll receive API access credentials, including a Client ID and Client Secret, necessary for making authorized API calls.

Note: For enhanced security, meCash supports mutual TLS (mTLS) for API requests. While mTLS requires additional setup, it provides an extra layer of security by ensuring both the client and server authenticate each other. We recommend implementing mTLS in your production environment.

Switching Between Environments

  • Separate Credentials: Each environment has its own API keys, webhook configurations, and IP whitelist. Ensure you're using the correct credentials for each.
  • Thorough Testing: Always conduct comprehensive testing in the sandbox environment before deploying your application in production.
  • Data Segregation: Keep test data in the sandbox and real data in production to maintain data integrity and security.