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:- Payment status is updated to
"success" - Your webhook URL receives a
payment.successevent - Manual verification via this endpoint is no longer needed
Next Steps
Webhooks Overview
Set up automatic payment notifications
Error Reference
View all error codes

