Prerequisites
- A CWMPay account — Sign up here
- Your API key from the dashboard
Step 1 — Get Your API Key
- Login to app.cwmpay.in
- Go to API Keys section
- Click Generate API Key if it’s not generated
- Copy your key — store it safely
Step 2 — Create a Payment
Step 3 — Show QR to Customer
Show
amount (₹499) to the customer — not finalAmount (₹499.37). The QR code already has the correct amount encoded.Step 4 — Verify Payment
After customer pays, they’ll share their UTR number. Verify it:Step 5 — Receive Webhook
CWMPay automatically notifies your webhook URL when payment is confirmed:You’re all set! Check out the full API Reference for all available options.

