Welcome to Cyrexa’s Host-to-Host (H2H) payment integration. This guide covers the essential setup steps to start processing payments through our server-to-server API.
Set up your environment variables (same base URL for Test and Production; change API key and method ID per environment):
Copy
# Server base URL (assigned by Cyrexa)export YONOBI_H2H_ENDPOINT="https://YOUR_API_BASE"# Test credentialsexport YONOBI_API_KEY="your_test_api_key_here"export YONOBI_H2H_METHOD_ID="your_test_method_id"# Production credentials# export YONOBI_API_KEY="your_live_api_key_here"# export YONOBI_H2H_METHOD_ID="your_live_method_id"