Skip to main content

Endpoint

Headers

Request Body

Example Request

Response

Response Fields

Payment Status Flow

What is UTR?

UTR (Unique Transaction Reference) is a 12-digit number generated for every UPI transaction. After paying, customers can find their UTR in:
  • Their UPI app transaction history
  • Bank SMS/notification
  • Google Pay, PhonePe, Paytm — transaction details screen
CWMPay also automatically detects payments in the background every 30 seconds. You don’t need to call this endpoint if you have webhooks set up — the webhook will fire automatically when payment is detected.

Error Responses

Automatic Detection

CWMPay automatically scans for payments every 30 seconds. If a matching payment is found:
  1. Payment status is updated to "success"
  2. Your webhook URL receives a payment.success event
  3. Manual verification via this endpoint is no longer needed
Always implement webhook handling for production. Do not rely solely on manual UTR verification — customers may forget to submit their UTR.

Next Steps

Webhooks Overview

Set up automatic payment notifications

Error Reference

View all error codes