Webhooks & APIIntegrations
Razorpay
Receive Razorpay payment events
Razorpay signs webhooks with HMAC-SHA256 in X-Razorpay-Signature (hex). Wexio has a Razorpay preset.
Provider docs: Setting up webhooks in Razorpay
Setup
1. Wexio connection
New connection → Inbound → Razorpay preset. Prefills auth mode, header name (X-Razorpay-Signature), encoding (Hex).
2. Razorpay webhook config
Dashboard → Settings → Webhooks → Add New Webhook. Paste the Wexio URL. Pick the events you care about (payment.captured, subscription.charged, etc.).
Razorpay asks you to set a Webhook Secret yourself at creation — pick a strong value, paste the same value into Wexio's Signing secret field.
3. Contact resolution
| Identifier type | JSON path |
|---|---|
$.payload.payment.entity.email | |
| Phone number | $.payload.payment.entity.contact |
4. Capture schema, bind a flow
Standard flow — capture a test event, then add a Webhook Received trigger.
Troubleshooting
| Symptom | Fix |
|---|---|
| Signature mismatch | Ensure the secret is identical in Razorpay and Wexio (you set it yourself) |
| Missing events | Check the "Active Events" list on Razorpay's webhook page |