Platform Control & Success Analytics
Monitor overall order acceptance, success rate %, registered merchants, and subscription packs.
🔍 Review: 0 | ❌ Exp/Fail: 0
Registered Users / Merchants Control
0 Users| Business / User | Contact | Active Pack | Orders (Paid / Total) | Success % | Volume | Status | Admin Control |
|---|---|---|---|---|---|---|---|
| Loading merchants... | |||||||
Subscription Packs & Limits Control
UPI Accounts
Connect your UPI IDs, Paytm Business MID & Merchant Keys with daily rotation limits.
Connected UPI Receiving Accounts
0 Accounts| Status | UPI ID (VPA) | Provider & MID | Environment | Daily Limit | Used Today | Remaining | Actions |
|---|---|---|---|---|---|---|---|
| Loading connected accounts... | |||||||
API & Webhooks
Live and Sandbox API credentials, Domain Whitelisting, and timestamped HMAC-SHA256 signed webhooks.
Production Credentials
Test Credentials
Domain Whitelisting (Anti-Fraud Security)
To protect merchant credentials and prevent unauthorized API key sharing across multiple websites, this gateway enforces strict domain whitelisting for all Live transactions. Whitelisting a root domain like myshop.com automatically authorizes subdomains such as pay.myshop.com and app.myshop.com.
Webhook Notification Endpoints
We dispatch real-time JSON webhooks with X-Signature: t={timestamp},v1={hmac} and X-Event: order.paid upon bank confirmation.
Developer Integration & API Reference
Connect UPI payments to any website, mobile app, or store in minutes. Base URL: http://localhost:6100/api/v1
One-Script Zero-JS Integration
Paste this single script tag into your website's HTML <head> or <body>, and tag any button with data-youpi-pay. It automatically renders a responsive, branded UPI checkout modal with QR code and UPI app intent!
<!-- 1. Include YOUPI Checkout Script -->
<script
src="http://localhost:7000/youpi.js"
data-youpi-key="YOUR_LIVE_KEY">
</script>
<!-- 2. Tag any clickable buy button with data-youpi-pay -->
<button
data-youpi-pay
data-order-id="ORDER-1001"
data-amount="499.00"
data-currency="INR"
data-customer-name="Rahul Sharma"
data-customer-email="rahul@example.com"
data-customer-phone="9876543210">
Pay ₹499 with UPI
</button>
Youpi.pay({
order_id: "INV-2026-001",
amount: 499.00,
currency: "INR",
customer: {
name: "Rahul Sharma",
email: "rahul@example.com",
phone: "9876543210"
},
handler: function(response) {
console.log("Payment Confirmed in Modal:", response);
// response: { status: "SUCCESS", order_id, amount_received, utr }
alert("Payment successful! UTR: " + response.utr);
},
onClose: function() {
console.log("Modal closed by customer");
}
});
/api/v1/orders
Creates a pending payment order, acquires a receiving UPI account, and returns a hosted payment_url and mobile upi_intent.
curl -X POST http://localhost:6100/api/v1/orders \
-H "X-Api-Key: YOUR_API_KEY" \
-H "X-Api-Secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"amount": 499.00,
"client_order_id": "INV1001",
"customer_name": "Rahul Sharma",
"customer_mobile": "9876543210",
"redirect_url": "http://localhost:5000/thanks",
"note": "Payment for Shoes"
}'
// Node.js (fetch or axios)
const response = await fetch('http://localhost:6100/api/v1/orders', {
method: 'POST',
headers: {
'X-Api-Key': 'YOUR_API_KEY',
'X-Api-Secret': 'YOUR_API_SECRET',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: 499.00,
client_order_id: 'INV1001',
customer_name: 'Rahul Sharma',
customer_mobile: '9876543210',
redirect_url: 'https://yoursite.com/thanks',
note: 'Premium Subscription'
})
});
const data = await response.json();
console.log('Payment URL:', data.data.payment_url);
// Redirect user to: data.data.payment_url
# Python (requests)
import requests
url = "http://localhost:6100/api/v1/orders"
headers = {
"X-Api-Key": "YOUR_API_KEY",
"X-Api-Secret": "YOUR_API_SECRET",
"Content-Type": "application/json"
}
payload = {
"amount": 499.00,
"client_order_id": "INV1001",
"customer_name": "Rahul Sharma",
"customer_mobile": "9876543210",
"redirect_url": "https://yoursite.com/thanks"
}
response = requests.post(url, json=payload, headers=headers)
order = response.json()
print("Payment URL:", order["data"]["payment_url"])
<?php
// PHP cURL
$ch = curl_init('http://localhost:6100/api/v1/orders');
$data = [
'amount' => 499.00,
'client_order_id' => 'INV1001',
'customer_name' => 'Rahul Sharma',
'customer_mobile' => '9876543210',
'redirect_url' => 'https://yoursite.com/thanks'
];
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-Api-Key: YOUR_API_KEY',
'X-Api-Secret: YOUR_API_SECRET',
'Content-Type: application/json'
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
header('Location: ' . $response['data']['payment_url']);
exit;
?>
{
"success": true,
"data": {
"order_id": "ORDMWV09WQR40908FDC",
"client_order_id": "INV1001",
"amount": "499.00",
"currency": "INR",
"status": "pending",
"environment": "live",
"payment_url": "http://localhost:7000/checkout/444728ad-f761-46b0-9280-9fb809460e58",
"upi_intent": "upi://pay?pa=merchant@paytm&pn=MyStore&am=499.00&tn=ORDMWV09WQR40908FDC",
"customer": { "name": "Rahul Sharma", "mobile": "9876543210" },
"expires_at": "2026-11-25T00:30:00.000Z"
}
}
Authoritative Webhook Verification
When an order is auto-accepted via PhonePe, GPay, Paytm, or Bank Observer, our gateway sends a cryptographically signed HMAC-SHA256 request to your Webhook URL with headers X-Signature: t={timestamp},v1={hash} and X-Event: order.paid. Always fulfill digital goods after verifying this signature.
import express from 'express';
import crypto from 'node:crypto';
const app = express();
// IMPORTANT: Keep body as raw unparsed Buffer for HMAC verification
app.post('/api/webhook', express.raw({ type: 'application/json' }), (req, res) => {
const sigHeader = req.headers['x-signature'] || '';
const match = sigHeader.match(/t=([0-9]+),v1=([a-f0-9]+)/);
if (!match) return res.status(401).send('Missing X-Signature');
const [_, timestamp, signature] = match;
const webhookSecret = process.env.YOUPI_WEBHOOK_SECRET;
// Compute expected HMAC-SHA256
const expected = crypto.createHmac('sha256', webhookSecret)
.update(timestamp + '.' + req.body)
.digest('hex');
if (signature !== expected) {
return res.status(401).send('Invalid signature');
}
const payload = JSON.parse(req.body.toString('utf8'));
if (payload.event === 'order.paid' || payload.event === 'SUCCESS') {
const { order_id, client_order_id, amount, utr } = payload.data || payload;
console.log(`✅ Payment Auto-Accepted! Order: ${client_order_id}, UTR: ${utr}, Amount: ₹${amount}`);
// Authoritatively mark order as PAID in your database:
// await db.orders.markAsPaid(client_order_id, { utr, amount });
}
res.status(200).json({ received: true });
});
from fastapi import FastAPI, Request, HTTPException
import hmac, hashlib, json, re
app = FastAPI()
@app.post("/api/webhook")
async def handle_webhook(request: Request):
raw_body = await request.body()
sig_header = request.headers.get("X-Signature", "")
match = re.search(r"t=(d+),v1=([a-f0-9]+)", sig_header)
if not match:
raise HTTPException(status_code=401, detail="Missing signature")
timestamp, signature = match.group(1), match.group(2)
secret = "YOUR_WEBHOOK_SECRET".encode("utf-8")
expected = hmac.new(secret, f"{timestamp}.".encode("utf-8") + raw_body, hashlib.sha256).hexdigest()
if not hmac.compare_digest(signature, expected):
raise HTTPException(status_code=401, detail="Invalid signature")
payload = json.loads(raw_body.decode("utf-8"))
if payload.get("event") == "order.paid":
order = payload.get("data", {})
print(f"✅ Order {order.get('client_order_id')} PAID with UTR {order.get('utr')}!")
return {"received": True}
Interactive API Playground
Execute live POST /api/v1/orders requests directly from your browser using your active merchant credentials.
Click "Execute Live Order API Call" to test...
| Queue # | Order | Amount | Status | Enqueued At |
|---|---|---|---|---|
| Waiting queue is empty. | ||||
| Order ID | Payment ID | Amount | Counter Method | Requested At | Cashier Actions |
|---|---|---|---|---|---|
| No pending counter payments right now. | |||||
| Order ID | Payment ID | Amount | Method | Status | Verification Tier | Channel Sources | Created At | Completed At |
|---|---|---|---|---|---|---|---|---|
| Loading transactions... | ||||||||
Native Android observer app captures credit SMS notifications in real-time from bank-linked handsets.
Loading...
Direct Google Cloud OAuth poller reading transaction credit alerts directly from your merchant inbox.
➕ Add New Receiving UPI VPA
Paytm Business Webhook / Callback Hub (Zero-App Automation)
Agar aapke paas Paytm for Business account hai, toh aapko koi Android phone chalu rakhne ki zarurat nahi hai! Bas upar apna Paytm Merchant MID daalein aur neeche diya gaya Callback URL apne Paytm for Business portal me paste karein:
📋 Saved Receiving UPI Accounts
| UPI ID (VPA) | Payee Name | Paytm MID | Gateway Status | Slot State | Created | Actions |
|---|---|---|---|---|---|---|
| Loading UPI accounts... | ||||||
For websites and courier deliveries. Supports UPI QR (always on) and optional Cash on Delivery (COD).
For retail stores and physical checkout desks. Supports UPI QR (always on), configurable Cash, and configurable Card POS.
Developer Tools → Payment Simulator
DEVELOPER TESTING ONLYSimulate incoming bank SMS and Gmail payment notifications against real checkout sessions. The observation enters the REAL 6-stage verification engine without shortcuts. The real engine decides whether it passes, fails, or triggers fraud detection.
raw.
raw.
| Timestamp | Source | Sender | Session | Result | Message ID | Reason |
|---|---|---|---|---|---|---|
| Loading history... | ||||||
This mode exists ONLY for development, debugging, QA, and verification-engine testing. While active, AUTOMATIC BAN SYSTEM = DISABLED. Automatically expires after 10 minutes (strictly enforced server-side).
Override the live observer status to test checkout portal behavior under different UPI server health scenarios: Green (Healthy: Server Is Working), Yellow (Degraded: Extra processing seconds), or Red (Downtime: Server Facing Issues). Automatically turns off after 10 minutes.
Toggle the public YOUPI Showcase Store on or off anytime. When disabled, the Node process is terminated
and host port 5000 is freed. When enabled, it launches instantly.
| Service Name & ID | Port | PID | Status | Uptime | Process Controls |
|---|---|---|---|---|---|
| Loading managed processes... | |||||
Routes API, Checkout, and Observers directly over local developer ports (7000,
6100, 6001, 6003, 5000).
Authoritative production mode using deterministic Cloudflare public hostnames with SSL
(https://).
• Public Hostname: The URL users and webhooks access from the internet.
• Service URL: The local service cloudflared
forwards incoming traffic to on this host.
• DO NOT EXPOSE: SMS Observer
(localhost:6002), Control Center (localhost:8090), and internal database
endpoints must NEVER be published to Cloudflare.
• Android SMS observer connects to Payment API
(pay-api.example.com / 6100), not directly to internal observer ports.
| Device Name | Device ID | Paired At | Action |
|---|---|---|---|
| No devices paired yet. Scan QR above to pair. | |||
⚙️ Advanced OAuth Credentials & Manual Override (Optional)
| Name | Phone | Ban Status | Ban Timestamp | Ban Reason | Payment Session | Last Device | Source | Actions | |
|---|---|---|---|---|---|---|---|---|---|
| Loading banned users... | |||||||||
| Timestamp | Event Type | Customer | Source | Sender | Fraud Reason | Raw Evidence (Verbatim) | Action |
|---|---|---|---|---|---|---|---|
| Loading security events... | |||||||
| Timestamp | Action | Actor | Customer Identity | Details & Transitions |
|---|---|---|---|---|
| Loading ban history... | ||||