iiPayडेवलपर पोर्टल
उदाहरण OpenAPI सहायता
Docs/Automatic UPI checkout
पेमेंट्स

Automatic UPI checkout

UPI URI, QR, polling और customer flow कैसे काम करते हैं।

OpenAPI डाउनलोड करें ↗

Customer flow

  1. Your server creates the order.
  2. Redirect the customer to checkout_url.
  3. iPay renders the merchant’s configured receiving UPI ID, exact INR amount, QR, and mobile deep links.
  4. The customer scans or opens a UPI app. No UPI ID, UTR, reference, or screenshot form is presented.
  5. The checkout polls its token-scoped status endpoint while server-side verification runs.

UPI URI

The current service constructs this shape using the merchant configuration, not a platform fallback:

UPI deep link

upi://pay?pa=MERCHANT_UPI_ID&pn=MERCHANT_NAME&am=499.00&cu=INR&tr=IPY_RANDOM_REFERENCE

The transaction reference is IPY plus 24 cryptographically random uppercase hexadecimal characters. It is stored uniquely on the payment order. The Google Pay link is a scheme variant of the same URI; it is not a separate verification source.

Checkout status

GET /checkout/{token}/status is public but scoped by a 64-character HMAC-derived checkout token. It returns only status, expires_at, is_verifying, successful, a safe message, and success-only return metadata. Invalid tokens return 404 checkout_not_found.

A QR tr value is an order-side reference. It is not automatically interchangeable with a Paytm ORDERID, TXNID, BANKTXNID, or a UTR. The provider response must contain enough authoritative evidence to correlate the payment.