Revolutionize your payment processing with our cutting-edge gateway supporting 15+ providers, real-time analytics, and seamless crypto-fiat integration.
Everything you need for modern payment processing
Process payments in under 2 seconds with our optimized infrastructure
PCI DSS Level 1 compliant with end-to-end encryption
Accept payments from 50+ countries with local payment methods
Monitor transactions, revenue, and performance in real-time
Accept Bitcoin, Ethereum, and 100+ cryptocurrencies
RESTful API with comprehensive documentation and SDKs
Complete guide for integrating MatrixGate into your application
All API requests require authentication using Bearer tokens. You can obtain your API keys from the dashboard.
Authorization: Bearer sk_test_12345abcdef67890
Content-Type: application/json
POST
application/json
Create a new payment request with automatic URL processing and provider detection.
{
"provider": "stripe",
"amount": 25.00,
"currency": "USD",
"email": "customer@example.com",
"description": "Premium subscription",
"metadata": {
"user_id": "12345",
"plan": "premium"
}
}
{
"success": true,
"data": {
"payment_id": "ORDER_abc123_1640995200",
"payment_url": "https://stripe.com/checkout/session_1234567890",
"final_url": "https://stripe.com/checkout/session_1234567890",
"amount": 25.00,
"currency": "USD",
"provider": {
"id": "stripe",
"name": "Stripe",
"detected": "stripe"
},
"email": "customer@example.com",
"status": "pending",
"expires_at": "2024-01-01T12:00:00Z",
"wallet": {
"address": "0x742d35Cc6634C0532925a3b8D4C2C4e4C7F5c2e8",
"network": "polygon"
},
"url_processing": {
"changed": true,
"provider_detected": "stripe",
"is_valid": true,
"processing_time_ms": 1250.5,
"redirect_count": 2
},
"created_at": "2024-01-01T11:00:00Z"
}
}
https://yourdomain.com/api/payment/create.php
Authorization: Bearer sk_test_your_token_here
Content-Type: application/json
Copy the request JSON from above
Check the current status of a payment transaction.
Parameter | Type | Required | Description |
---|---|---|---|
payment_id |
string | Yes | The unique payment identifier |
{
"success": true,
"data": {
"payment_id": "ORDER_abc123_1640995200",
"status": "completed",
"amount": 25.00,
"currency": "USD",
"provider": "stripe",
"email": "customer@example.com",
"transaction_id": "txn_1234567890",
"created_at": "2024-01-01T11:00:00Z",
"completed_at": "2024-01-01T11:05:30Z",
"metadata": {
"user_id": "12345",
"plan": "premium"
}
}
}
Payment is awaiting completion
Payment was successful
Payment failed or was declined
Payment link has expired
Receive real-time notifications when payment events occur.
payment.created
Triggered when a new payment is created
payment.completed
Triggered when a payment is successfully completed
payment.failed
Triggered when a payment fails
payment.expired
Triggered when a payment expires
{
"event": "payment.completed",
"timestamp": "2024-01-01T11:05:30Z",
"data": {
"payment_id": "ORDER_abc123_1640995200",
"status": "completed",
"amount": 25.00,
"currency": "USD",
"provider": "stripe",
"email": "customer@example.com",
"transaction_id": "txn_1234567890"
},
"signature": "sha256=a1b2c3d4e5f6..."
}
Download our complete Postman collection to test all API endpoints quickly.
Complete collection with all endpoints, examples, and environment variables
Download and import the collection into Postman
Configure your API base URL and authentication token
Run the pre-configured requests to test the API
{
"base_url": "https://yourdomain.com",
"api_token": "sk_test_your_token_here",
"test_email": "test@example.com",
"test_amount": "25.00",
"test_currency": "USD"
}
Monitor, manage, and optimize your payments with our intuitive dashboard