Lushai Dev.
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

Click a step to inspect technical details
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.

Architecture & Real-World Guide

Simplifying Commercial Paytm Integration

Integrating traditional payment aggregator SDKs often involves heavy documentation, outdated libraries, and complicated cryptographic checksum calculations that consume valuable engineering time.

The Lushai Dev Paytm Business Gateway microservice standardizes this pipeline into clean, predictable REST endpoints. Whether you are generating quick dynamic payment links for digital services or configuring instant order verification callbacks, our gateway eliminates boilerplate complexity.

Engineered for rock-solid reliability, our infrastructure ensures transaction confirmations are verified and dispatched to your systems with minimal latency.

How Transaction Reconciliation Works

01

Initiate Order Request

Pass your merchant order details, total amount, and customer reference to our secure checkout endpoint.

02

Customer Payment Session

The buyer completes payment via Paytm Wallet, net banking, or UPI on a secure checkout surface.

03

Automated Status Webhook

Our backend verifies the cryptographic checksum and dispatches an authenticated JSON webhook to your server.

Core Technical Capabilities

Cryptographic Checksum Verification

Automated server-side checksum calculation and validation guarantees transaction integrity.

Dynamic Payment Links

Generate customizable payment links for customer billing via SMS, WhatsApp, or email.

Fast Webhook Dispatch

Receive real-time order status callbacks to trigger immediate service provisioning or shipment.

Technical Specifications & Latency Parameters

Integration MethodClean REST API over TLS 1.3
Verification Latency< 180ms checksum validation
Supported Payment ModesPaytm Wallet, UPI, Debit Cards, Net Banking
Webhook SecurityHMAC-SHA256 signature verification

Production Code Snippets

Create Payment Link (cURL)
curl
curl -X POST https://paytm.lushai.dev/api/v1/checkout/create \
  -H "Authorization: Bearer YOUR_MERCHANT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "order_id": "PTM-10294",
    "amount": 750.00,
    "customer_email": "buyer@example.com",
    "callback_url": "https://yourdomain.com/api/paytm-callback"
  }'

Production Implementation Insights

Validate Webhook Signatures

Always verify the incoming HMAC signature on your server before marking high-value digital orders as fulfilled.

Frequently Asked Questions & Integration Details

How does this differ from PhonePey direct UPI?

PhonePey specializes in 0% commission direct-to-bank UPI transfers, whereas the Paytm gateway supports Paytm Wallet balances and integrated business merchant checkout flows.

Can I test payments in sandbox mode?

Yes. We provide dedicated sandbox API keys so you can simulate successful and failed payments without spending real currency.

HomeAPIs & DocsPricingToolsAccount