UPI & Paytm Merchant Collection API
PayTM Gateway by Lushai Dev
UPI payment collection gateway with instant order session creation, dynamic payment URL generation, real-time status verification, and sub-500ms HMAC webhooks.
< 500ms Webhooks
Real-time HTTP callbacks notify your store server within 500 milliseconds of customer payment confirmation.
HMAC-SHA256 Signatures
Cryptographically signed payloads prevent tampering and guarantee authenticity on every incoming webhook.
Dynamic Checkout Links
Direct customer redirection to responsive hosted checkout pages with QR codes and native UPI app triggers.
Payment Lifecycle Pipeline
End-to-End Transaction Flow
Integration Endpoints & Schemas
Base URL: https://paytm.lushai.dev/api
POST /api/create-order.php
curl -X POST https://paytm.lushai.dev/api/create-order.php \
-H "Content-Type: application/json" \
-d '{
"user_token": "YOUR_MERCHANT_TOKEN",
"amount": "100.00",
"order_id": "ORD123456",
"customer_mobile": "9876543210",
"redirect_url": "https://yourwebsite.com/callback",
"remark1": "order_checkout",
"remark2": "session_ref"
}'
# Response (201 Created):
{
"status": true,
"message": "Order Created Successfully",
"result": {
"orderId": "ORD123456",
"payment_url": "https://paytm.lushai.dev/pay/instant-pay/329f10a842b109c847"
}
}Frequently Asked Questions
Order sessions, webhook verification, and UPI settlement.