Razorpay

Razorpay

Payments

Payment gateway powering online payments for businesses in India.

Signature verification supported 11 events supported

Why use Hookfire with Razorpay?

Instant push notifications

Get notified on your phone the moment a Razorpay webhook fires. No more checking dashboards.

Subscribe to what matters

Choose exactly which Razorpay events trigger notifications. Filter out the noise.

Team-wide delivery

Control who on your team gets notified and how: push notifications, record only, or both.

Setup in under 2 minutes

Copy a webhook URL, paste it in Razorpay, and you're done. No code required.

Supported events

Event
Payment captured
payment.captured
πŸ’° Payment captured
Payment of INR 49.99 from test@example.com
Refund processed
refund.processed
πŸ”„ Refund processed
Refund of completed
Invoice paid
invoice.paid
βœ… Invoice paid
Invoice has been paid
Payment failed
payment.failed
❌ Payment failed
Payment of INR 29.00 failed for test@example.com
Subscription activated
subscription.activated
πŸŽ‰ Subscription activated
Subscription sub_test123 is now active
Order paid
order.paid
πŸ›’ Order paid
Order paid -
Subscription cancelled
subscription.cancelled
⚠️ Subscription cancelled
Subscription sub_test123 has been cancelled
Payment authorized
payment.authorized
βœ… Payment authorized
Payment of authorized from
Subscription charged
subscription.charged
πŸ’° Subscription charged
Subscription charge succeeded
Refund created
refund.created
πŸ”„ Refund initiated
Refund of INR 15.00 initiated
Subscription halted
subscription.halted
🚨 Subscription halted
Subscription halted after max retries

How to connect Razorpay

Step 1: Create an Integration

  1. Go to your organization’s Integrations page.
  2. Click Add Integration and select Razorpay.
  3. You’ll receive a unique Webhook URL. Copy it.

Step 2: Add the Webhook in Razorpay

  1. Log in to the Razorpay Dashboard and go to Accounts & Settings.
  2. Under Website and app settings, click Webhooks.
  3. Click + Add New Webhook.
  4. Paste your Hookfire webhook URL into the URL field.
  5. Enter a Secret of your choosing (recommended, and not your API key secret).
  6. Under Active Events, select the events you want to receive (e.g. payment.captured, refund.created).
  7. Click Create Webhook.

Step 3: Paste the Secret into Hookfire

  1. Copy the secret you entered in Step 2.
  2. Go back to your Hookfire integration page and paste it into the Signing Secret field.

Razorpay signs each delivery with HMAC-SHA256 in the X-Razorpay-Signature header. Without a secret, Hookfire accepts deliveries without checking them.

Step 4: Subscribe to Events

On your Hookfire integration page, toggle on the events you want to receive push notifications for.

Step 5: Test

Click Send test next to an event on your integration page to send a simulated event.

Supported Events

Event Description
payment.captured A payment was captured
payment.failed A payment failed
payment.authorized A payment was authorized
order.paid An order was paid
refund.created A refund was created
refund.processed A refund was processed
subscription.activated A subscription was activated
subscription.charged A subscription was charged
subscription.cancelled A subscription was cancelled
subscription.halted A subscription was halted after failed charges
invoice.paid An invoice was paid

Get started with Razorpay

Start receiving instant push notifications for your Razorpay webhooks. Free to start, no credit card required.

Get Started Free