Seamless, secure, and scalable payment solutions. Process transactions across multiple currencies and methods with industry-leading reliability.
Enterprise-grade infrastructure designed to handle high-volume transactions with maximum security and minimal latency.
Real-time transaction processing with immediate balance updates. No delays, no holds, complete transparency.
End-to-end encryption, tokenization, and multi-factor authentication protect every transaction.
Comprehensive reporting dashboard with real-time insights into transaction patterns and revenue.
Accept payments in INR, BDT, PKR, USDT and more. Automatic conversion with competitive rates.
Simple, well-documented API with SDKs available. Integrate in hours, not days.
Manage transactions, check balances, and receive alerts directly through Telegram bot.
Support for all major payment channels across multiple regions.
India
Visa, Mastercard
TRC20 / ERC20
NEFT, RTGS, IMPS
Complete integration guide for PAYOPIE Payment Gateway API
Use these credentials to authenticate with the PAYOPIE API.
YD5r73
kimpay3WwEJAxa
Auto
(Sandbox/Live)
All API requests must include a signature for authentication. The signature is generated using MD5 hash.
// 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 a new payment order.
POST /api/order/create
| 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 |
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"
}'
{
"status": 1,
"msg": "Order created successfully",
"data": {
"order_id": "ORD2024010112345678",
"amount": 100,
"currency": "INR",
"payment_url": "https://kimipay.space/pay/ORD2024010112345678",
"expires_at": 1704110400
}
}
When a payment is completed, we'll send a POST request to your callback URL.
{
"event": "payment.success",
"order_id": "ORD2024010112345678",
"merchant_order_sn": "ORDER123",
"amount": 100,
"status": "success",
"paid_at": 1704110400,
"signature": "SIGNATURE_HASH"
}
<?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'];
}
?>
Test the payment flow with our interactive demo. Try on desktop and mobile views.
This is a demo payment. No actual money will be transferred.
Preview updates in real-time as you generate payment links
Join enterprises that trust PAYOPIE for their payment infrastructure. Dedicated support, custom solutions, and competitive pricing.
Get StartedPAYOPIE Secure Checkout
Order: ORDER_123
This is a demo payment simulation