Documentation
Integrate cryptocurrency payments into your website in minutes.
Getting Started
1
Create an Account
Register at https://Cryptoix.io/register. Your account will be reviewed and approved by an administrator.
2
Create a Gateway
Once approved, create a gateway for your website from the dashboard. You'll receive a gateway_token and an api_key.
3
Integrate the API
Use the REST API to create payments and redirect customers to the payment page. See the API Reference for details.
4
Receive Callbacks
Set up a callback URL to receive payment notifications. Callbacks are signed with HMAC-SHA256 using your API key.
How It Works
- 1. Your server creates a payment via the API with the amount and currency.
- 2. The API returns a payment URL. Redirect the customer to this page.
- 3. The customer sees the wallet address, QR code, and a 30-minute countdown timer.
- 4. The system automatically checks the blockchain every 30 seconds for incoming payments.
- 5. Once confirmed, a callback is sent to your server with the payment details.
- 6. The customer is redirected to the success page and optionally back to your site.
Supported Currencies
₿
Bitcoin (BTC)
Bitcoin Network
Ξ
Ethereum (ETH)
Ethereum Network
₮
USDT (ERC-20)
Ethereum Network
₮
USDT (TRC-20)
TRON Network
Callback Verification
All callbacks are signed using HMAC-SHA256. The signature is sent in the X-Gateway-Signature header.
PHP Verification Example
$payload = file_get_contents('php://input');
$signature = $_SERVER['HTTP_X_GATEWAY_SIGNATURE'] ?? '';
$secret = 'your_api_key'; // sk_...
$expected = hash_hmac('sha256', $payload, $secret);
if (hash_equals($expected, $signature)) {
$data = json_decode($payload, true);
// Process payment: $data['status'], $data['uuid'], etc.
http_response_code(200);
echo 'OK';
} else {
http_response_code(401);
echo 'Invalid signature';
}