Integrations

Connect to any platform
in minutes

CryptoGateway works with every major e-commerce platform and any custom website. One REST API, infinite possibilities.

REST APINode.js SDKPython SDKPHP SDKWebhooks
Platforms

Supported platforms

Available
πŸ›’

WooCommerce

Accept crypto payments directly in your WooCommerce store. Auto-confirm orders on blockchain payment.

1Install plugin
2Enter API key
3Enable crypto checkout
Available
πŸͺ

Shopify

Add a crypto payment option to your Shopify checkout flow. Works alongside card payments.

1Add payment gateway
2Configure webhook
3Test in sandbox
Available
πŸ’»

Custom Website

Full REST API for any platform. Integrate in under 30 minutes with our Node.js, Python or PHP SDK.

1Get API key
2Call /api/payments/create
3Handle webhook
Coming Soon
πŸ”Ά

Magento

Native Magento 2 extension for seamless crypto checkout. Currently in development.

Join waitlist β†’
Coming Soon
πŸ›οΈ

OpenCart

OpenCart payment module β€” coming soon. Join the waitlist to get early access.

Join waitlist β†’
Coming Soon
🎁

PrestaShop

PrestaShop module for crypto payments β€” in development. Sign up for launch notification.

Join waitlist β†’
Code Examples

Create a payment in 5 lines

Node.js
const res = await fetch('https://pg.srglobalmarkets.com/api/payments/create', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    amount: 100,        // USD amount
    coin: 'USDT_TRC20', // Coin to accept
    orderId: 'ORD-001', // Your order reference
    webhookUrl: 'https://yoursite.com/webhook',
  }),
})
const { paymentId, address, amount } = await res.json()
// Redirect customer to: /pay/${paymentId}
Python
import requests

response = requests.post(
    'https://pg.srglobalmarkets.com/api/payments/create',
    headers={
        'x-api-key': 'YOUR_API_KEY',
        'Content-Type': 'application/json',
    },
    json={
        'amount': 100,
        'coin': 'USDT_TRC20',
        'orderId': 'ORD-001',
        'webhookUrl': 'https://yoursite.com/webhook',
    }
)
data = response.json()
payment_url = f"https://pg.srglobalmarkets.com/pay/{data['paymentId']}"
PHP
$response = file_get_contents('https://pg.srglobalmarkets.com/api/payments/create', false,
  stream_context_create(['http' => [
    'method'  => 'POST',
    'header'  => "x-api-key: YOUR_API_KEY\r\nContent-Type: application/json\r\n",
    'content' => json_encode([
      'amount'     => 100,
      'coin'       => 'USDT_TRC20',
      'orderId'    => 'ORD-001',
      'webhookUrl' => 'https://yoursite.com/webhook',
    ]),
  ]])
);
$data = json_decode($response, true);
$paymentUrl = "https://pg.srglobalmarkets.com/pay/" . $data['paymentId'];
Webhooks

Real-time payment events

payment.confirmed

Fires when payment reaches required blockchain confirmations. Mark order as paid.

payment.partial

Customer sent less than required. Decide to confirm partial or request remainder.

payment.expired

Session timed out with no payment detected. Offer customer retry option.

payment.detecting

Transaction seen in mempool. Payment detected but not yet confirmed on-chain.

Webhook Security

Every webhook includes an X-Webhook-Signature header β€” HMAC-SHA256 signed with your merchant secret. Always verify this before processing payments.

Ready to integrate?

Get your API key from the dashboard and start accepting crypto in 30 minutes.