MatrixGate

Revolutionize your payment processing with our cutting-edge gateway supporting 15+ providers, real-time analytics, and seamless crypto-fiat integration.

0 % Uptime
0 + Providers
0 + Countries
Payment Processing
Create Payment
Secure Processing
Confirmation

Powerful Features

Everything you need for modern payment processing

Lightning Fast

Process payments in under 2 seconds with our optimized infrastructure

Bank-Grade Security

PCI DSS Level 1 compliant with end-to-end encryption

Global Coverage

Accept payments from 50+ countries with local payment methods

Real-time Analytics

Monitor transactions, revenue, and performance in real-time

Crypto Support

Accept Bitcoin, Ethereum, and 100+ cryptocurrencies

Developer Friendly

RESTful API with comprehensive documentation and SDKs

API Documentation

Complete guide for integrating MatrixGate into your application

Authentication

All API requests require authentication using Bearer tokens. You can obtain your API keys from the dashboard.

Headers
Authorization: Bearer sk_test_12345abcdef67890
Content-Type: application/json

Postman Setup

  1. Open Postman and create a new request
  2. Set the request method to POST
  3. Add the Authorization header with your Bearer token
  4. Set Content-Type to application/json

Create Payment

Create a new payment request with automatic URL processing and provider detection.

POST /api/payment/create.php

Request Body

JSON
{
  "provider": "stripe",
  "amount": 25.00,
  "currency": "USD",
  "email": "customer@example.com",
  "description": "Premium subscription",
  "metadata": {
    "user_id": "12345",
    "plan": "premium"
  }
}

Response

JSON Response
{
  "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"
  }
}

Postman Example

1. Set Request URL: https://yourdomain.com/api/payment/create.php
2. Set Method: POST
3. Add Headers:
  • Authorization: Bearer sk_test_your_token_here
  • Content-Type: application/json
4. Add Body (raw JSON):

Copy the request JSON from above

Payment Status

Check the current status of a payment transaction.

GET /api/payment/status.php?payment_id={payment_id}

Parameters

Parameter Type Required Description
payment_id string Yes The unique payment identifier

Response

JSON Response
{
  "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 Status Codes

pending

Payment is awaiting completion

completed

Payment was successful

failed

Payment failed or was declined

expired

Payment link has expired

Webhooks

Receive real-time notifications when payment events occur.

Webhook Events

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

Webhook Payload

JSON Payload
{
  "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..."
}

Postman Collection

Download our complete Postman collection to test all API endpoints quickly.

MatrixGate API Collection

Complete collection with all endpoints, examples, and environment variables

Pre-configured requests Environment variables Test scripts Documentation

Quick Setup Guide

1
Import Collection

Download and import the collection into Postman

2
Set Environment

Configure your API base URL and authentication token

3
Test Endpoints

Run the pre-configured requests to test the API

Environment Variables

Postman Environment
{
  "base_url": "https://yourdomain.com",
  "api_token": "sk_test_your_token_here",
  "test_email": "test@example.com",
  "test_amount": "25.00",
  "test_currency": "USD"
}

Powerful Dashboard

Monitor, manage, and optimize your payments with our intuitive dashboard

$125,430 Total Revenue
1,247 Transactions
89 Active Clients

Payment Analytics

Completed Pending Failed
Environment:
$8,450 This Month
156 Transactions
98.5% Success Rate

Recent Transactions

ORDER_abc123 customer@example.com
$25.00
Completed
ORDER_def456 user@test.com
$50.00
Pending
ORDER_ghi789 buyer@shop.com
$15.99
Completed
Copied to clipboard!