Source type

Razorpay Source Configuration

Razorpay sources receive payment, order, subscription, invoice, payout, and settlement events with signature verification.

Direct answer

Razorpay signs the exact raw request body with the webhook secret and sends the hexadecimal HMAC-SHA256 digest in X-Razorpay-Signature.

RAZORPAYPOST, PUT, PATCH, DELETEWebhook Signing SecretPayments
Razorpay sends webhook traffic to a FastHook source, FastHook validates the provider contract, records the request, and routes accepted events through connections to destinations.RazorpayProviderPOST, PUT, PATCH, DELETESignedFastHookSource URLRAZORPAYProvider credentialsignatureVerify before queue401 on auth failure405 on wrong methodAcceptedRequestverified: trueConnections route the accepted request to destinationsFilters, transformations, retries, replay, and destination signatures stay downstream from source verification.

Razorpay configuration

Create a Razorpay source, keep POST and PUT and PATCH and DELETE enabled, and provide the configured Webhook Signing Secret values for provider signature. FastHook uses these settings to validate each Razorpay delivery before it enters the routing workflow.

Source Type

RAZORPAY

Allowed methods

POST, PUT, PATCH, DELETE

Authentication

Provider signature

Credential fields

Webhook Signing Secret

Razorpay source config
{
  "type": "RAZORPAY",
  "config": {
    "auth_type": "PROVIDER_SIGNATURE",
    "auth": {
      "provider": "RAZORPAY",
      "webhook_signing_secret": "provider-secret"
    },
    "allowed_http_methods": ["POST","PUT","PATCH","DELETE"]
  }
}

Razorpay request contract

FastHook computes HMAC-SHA256 hex over the raw body and compares it with x-razorpay-signature.

POSTPUTPATCHDELETE

Razorpay headers

Preserve x-razorpay-signature when sending Razorpay test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.

x-razorpay-signature

HMAC-SHA256 hex signature over the raw body.

Razorpay setup

  1. Create a Razorpay webhook and point it to the FastHook Source URL.
  2. Copy the webhook secret into FastHook.
  3. Filter by event name when different payment events should go to different receivers.

Continue with Razorpay