Payment Gateway Active

Enterprise Payment Infrastructure for Modern Business

Seamless, secure, and scalable payment solutions. Process transactions across multiple currencies and methods with industry-leading reliability.

•••• •••• •••• 8842
CARD HOLDER VALID 12/28
•••• •••• •••• 5521
CARD HOLDER VALID 09/27
•••• •••• •••• 7394
CARD HOLDER VALID 03/29
99.99%
Uptime SLA
< 50ms
API Latency
150+
Countries Supported
PCI DSS
Level 1 Certified

Built for Scale

Enterprise-grade infrastructure designed to handle high-volume transactions with maximum security and minimal latency.

Instant Settlement

Real-time transaction processing with immediate balance updates. No delays, no holds, complete transparency.

🔒

Bank-Grade Security

End-to-end encryption, tokenization, and multi-factor authentication protect every transaction.

📊

Advanced Analytics

Comprehensive reporting dashboard with real-time insights into transaction patterns and revenue.

🌐

Multi-Currency

Accept payments in INR, BDT, PKR, USDT and more. Automatic conversion with competitive rates.

🔧

RESTful API

Simple, well-documented API with SDKs available. Integrate in hours, not days.

📱

Telegram Integration

Manage transactions, check balances, and receive alerts directly through Telegram bot.

Payment Methods

Support for all major payment channels across multiple regions.

🏦

UPI

India

💳

Cards

Visa, Mastercard

USDT

TRC20 / ERC20

🏛️

Bank Transfer

NEFT, RTGS, IMPS

API Documentation

Complete integration guide for PAYOPIE Payment Gateway API

Your API Credentials

Use these credentials to authenticate with the PAYOPIE API.

App ID
YD5r73
API Key
kimpay3WwEJAxa
Payment Mode
Auto (Sandbox/Live)
Important: Keep your API credentials secure. Do not share them in client-side code or public repositories.

Signature Generation

All API requests must include a signature for authentication. The signature is generated using MD5 hash.

Steps to Generate Signature:

  1. Sort all parameters alphabetically by key
  2. Create a string: key1=value1&key2=value2&key=YOUR_API_KEY
  3. Generate MD5 hash and convert to uppercase

PHP Example:

signature.php
// Example in PHP:
$data = [
    'app_id' => 'YD5r73',
    'amount' => 100,
    'order_sn' => 'ORDER123'
];

// Sort parameters alphabetically
ksort($data);

// Create query string
$string = '';
foreach ($data as $k => $v) {
    $string .= $k . '=' . $v . '&';
}
$string .= 'key=YOUR_API_KEY';

// Generate signature
$signature = strtoupper(md5($string));

// Example Signature: 05BCE8C7DCB30EC2BE07FB159DD86C6A

Create Order

Create a new payment order.

Endpoint
POST /api/order/create

Request Parameters

Parameter Type Required Description
app_id string Yes Your App ID
merchant_api_key string Yes Your API Key
amount integer Yes Payment amount in INR
order_sn string Yes Your unique order identifier
callback_url string No URL to receive payment notifications
customer_email string No Customer email
customer_phone string No Customer phone number
description string No Order description
signature string Yes Request signature

Example Request

CURL Example
curl -X POST 'https://kimipay.space/api/order/create' \
  -H 'Content-Type: application/json' \
  -d '{
    "app_id": "YD5r73",
    "merchant_api_key": "kimpay3WwEJAxa",
    "amount": 100,
    "order_sn": "ORDER123",
    "callback_url": "https://yourdomain.com/callback",
    "signature": "05BCE8C7DCB30EC2BE07FB159DD86C6A"
  }'

Response

JSON Response
{
  "status": 1,
  "msg": "Order created successfully",
  "data": {
    "order_id": "ORD2024010112345678",
    "amount": 100,
    "currency": "INR",
    "payment_url": "https://kimipay.space/pay/ORD2024010112345678",
    "expires_at": 1704110400
  }
}

Callback/Webhook

When a payment is completed, we'll send a POST request to your callback URL.

Callback Data
{
  "event": "payment.success",
  "order_id": "ORD2024010112345678",
  "merchant_order_sn": "ORDER123",
  "amount": 100,
  "status": "success",
  "paid_at": 1704110400,
  "signature": "SIGNATURE_HASH"
}
Important Notes:
  • Always verify the signature in the callback to ensure it's from PAYOPIE
  • Your server should respond with HTTP 200 OK within 5 seconds
  • We'll retry failed callbacks up to 3 times
  • Callback URL can be set globally in merchant settings or per request

PHP Integration Examples

Complete Integration Example

payopie_integration.php
<?php
class PAYOPIEIntegration {
    private $app_id = 'YD5r73';
    private $api_key = 'kimpay3WwEJAxa';
    private $api_url = 'https://kimipay.space/api/order/create';
    
    /**
     * Generate signature for request
     */
    private function generateSignature($data) {
        ksort($data);
        $string = '';
        foreach ($data as $k => $v) {
            $string .= $k . '=' . $v . '&';
        }
        $string .= 'key=' . $this->api_key;
        return strtoupper(md5($string));
    }
    
    /**
     * Create payment order
     */
    public function createOrder($order_data) {
        // Required parameters
        $data = [
            'app_id' => $this->app_id,
            'merchant_api_key' => $this->api_key,
            'amount' => intval($order_data['amount']),
            'order_sn' => $order_data['order_sn'],
            'callback_url' => $order_data['callback_url'] ?? '',
            'customer_email' => $order_data['customer_email'] ?? '',
            'customer_phone' => $order_data['customer_phone'] ?? '',
            'description' => $order_data['description'] ?? ''
        ];
        
        // Generate signature
        $data['signature'] = $this->generateSignature($data);
        
        // Send request
        $ch = curl_init($this->api_url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
        curl_setopt($ch, CURLOPT_HTTPHEADER, [
            'Content-Type: application/json',
            'Accept: application/json'
        ]);
        
        $response = curl_exec($ch);
        curl_close($ch);
        
        return json_decode($response, true);
    }
    
    /**
     * Verify callback signature
     */
    public function verifyCallback($data) {
        $signature = $data['signature'] ?? '';
        unset($data['signature']);
        
        $generated_signature = $this->generateSignature($data);
        return $signature === $generated_signature;
    }
}

// Usage Example
$payopie = new PAYOPIEIntegration();

// Create order
$order = $payopie->createOrder([
    'amount' => 100,
    'order_sn' => 'ORDER_' . time(),
    'callback_url' => 'https://yourdomain.com/callback',
    'description' => 'Test Payment'
]);

if ($order['status'] == 1) {
    // Redirect to payment page
    header('Location: ' . $order['data']['payment_url']);
    exit;
} else {
    echo 'Error: ' . $order['msg'];
}
?>

Complete Payment

PAYOPIE Secure Checkout

₹100

Order: ORDER_123

⏰ Complete payment in: 15:00

Select Payment Method

🏦
UPI
💳
Card
USDT
🏛️
Bank

This is a demo payment simulation