API Features Docs

Welcome to RazCrypto Gateway

Trusted Crypto Payment Gateway for seamless transactions. Secure, fast, and reliable infrastructure for your business.

Key Features

Discover what makes RazCrypto Gateway the ideal choice for your crypto payment needs.

Robust Security

Industry-leading encryption and security protocols protect every transaction.

Blazing Fast

Experience lightning-fast transaction processing across various cryptocurrencies.

Multi-Coin Support

Accept payments in popular cryptocurrencies like Bitcoin, Ethereum, and more.

Global Reach

Expand your business globally by accepting payments from anywhere in the world.

Easy Integration

Seamlessly integrate our API with your existing website or application.

24/7 Support

Our dedicated support team is available around the clock to assist you.

Why Choose RazCrypto?

We are committed to providing a secure, efficient, and user-friendly crypto payment solution for businesses of all sizes.

Cost-Effective Solutions

Benefit from competitive transaction fees and transparent pricing with no hidden costs.

Detailed Analytics

Gain insights into your transactions with comprehensive dashboards and reporting tools.

Unwavering Trust

Built on a foundation of reliability and trust, ensuring peace of mind for you and your customers.

Developer Friendly

Our API is designed for ease of use, with extensive documentation and examples to get you started quickly.

Crypto Payments

Easy Integration

Get started quickly with our clear documentation and simple API. Integrate RazCrypto into your platform in minutes.

Example API Call (PHP)
// Example PHP code to create a payment link
<?php
$apiKey = 'YOUR_RAZCRYPTO_API_KEY';
$secretKey = 'YOUR_RAZCRYPTO_SECRET';
$amount = 100.00;
$currency = 'USD';
$callbackUrl = 'https://yourwebsite.com/callback.php';
$successUrl = 'https://yourwebsite.com/success.php';
$cancelUrl = 'https://yourwebsite.com/cancel.php';


$data = [
    'amount' => $amount,
    'currency' => $currency,
    'order_id' => 'ORDER_ABC123',
    'customer_email' => '[email protected]',
    'callback_url' => $callbackUrl,
    'success_url' => $successUrl,
    'cancel_url' => $cancelUrl,
];


// Generate a signature (HMAC-SHA256)
$payload = json_encode($data);
$signature = hash_hmac('sha256', $payload, $secretKey);


$headers = [
    'Content-Type: application/json',
    'X-API-Key: ' . $apiKey,
    'X-Signature: ' . $signature
];


$ch = curl_init('https://api.razcrypto.com/v1/create-payment');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);


$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);


$result = json_decode($response, true);


if ($httpCode == 200 && $result['status'] == 'success') {
    // Redirect customer to payment_url
    header('Location: ' . $result['payment_url']);
    exit;
} else {
    // Handle error
    echo "Payment creation failed: " . ($result['message'] ?? "Unknown error");
}
?>
View Full Documentation