Source type
Razorpay Source Configuration
Razorpay sources receive payment, order, subscription, invoice, payout, and settlement events with signature verification.
Razorpay signs the exact raw request body with the webhook secret and sends the hexadecimal HMAC-SHA256 digest in X-Razorpay-Signature.
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 TypeRAZORPAY
Allowed methodsPOST, PUT, PATCH, DELETE
AuthenticationProvider signature
Credential fieldsWebhook Signing Secret
{
"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.
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-signatureHMAC-SHA256 hex signature over the raw body.
Razorpay setup
- Create a Razorpay webhook and point it to the FastHook Source URL.
- Copy the webhook secret into FastHook.
- Filter by event name when different payment events should go to different receivers.