Getting Started with Cyrexa H2H
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.Platform Overview
Cyrexa H2H enables direct server-to-server payment processing with:- Multiple Payment Methods: Credit cards, UPI, Google Pay, Apple Pay, alternative payments
- Global Coverage: Support for international and regional payment methods
- Enterprise Security: PCI DSS compliant with advanced fraud protection
- Real-time Processing: Instant payment processing and status updates
- Webhook Notifications: Real-time payment status updates
Server URL
- Use a single API base URL for both Test and Production, as assigned by Cyrexa for your merchant.
- Environment selection is driven by your API key and the H2H payment method ID you use in the path.
Environment Differences: Test vs Production
- The only difference between environments is the number of enabled H2H payment methods.
- Endpoints, request/response schemas, and error codes are identical in Test and Production.
- Production method availability depends on your tenant’s configuration and compliance enablement.
API Authentication
API Keys
All API requests require authentication using your API key in theX-API-Key
header:
Environment Variables
Set up your environment variables (same base URL for Test and Production; change API key and method ID per environment):Getting Your API Keys
- Sign up for a Cyrexa merchant account
- Complete verification process
- Access your dashboard to retrieve API keys
- Configure webhooks for payment notifications
Keep your API keys secure and never expose them in client-side code or public repositories.
Basic Request Structure
All H2H payment requests follow this structure:Response Format
All API responses follow a consistent format:Rate Limits
- Sandbox: 100 requests per minute
- Production: 1000 requests per minute
- Burst: Up to 2x rate limit for short periods
Next Steps
10-Minute Quickstart
Complete your first H2H payment in 10 minutes
Payment Methods
Explore available payment methods
Testing & Sandbox
Test cards, UPI IDs, and sandbox data
Webhooks
Set up real-time payment notifications
Support
- Documentation: Browse our comprehensive guides
- API Reference: Interactive API explorer
- Support: Contact our technical support team
- Status Page: Check system status and uptime