Environments
How to switch
The environment is determined by your API key and theMONEI_ENV variable when self-hosting.
On the hosted server at mcp.monei.cc, use your sandbox API key for testing and your live key for production. The server detects which environment to use based on the key.
When self-hosting, set the environment explicitly:
Getting sandbox credentials
- Sign up at monei.cc
- Go to Settings then API Keys
- Generate a sandbox key

