Skip to main content
POST
/
api
/
webhooks
/
razorpay
/
{environment}
Receive Razorpay Webhook
curl --request POST \
  --url https://api.example.com/api/webhooks/razorpay/{environment} \
  --header 'Content-Type: application/json' \
  --header 'x-razorpay-signature: <api-key>' \
  --data '{}'
{
  "received": true,
  "handled": true
}

Authorizations

x-razorpay-signature
string
header
required

Path Parameters

environment
enum<string>
required

Payment provider environment.

Available options:
test,
live

Body

application/json

The body is of type object.

Response

Webhook received

received
boolean
required
handled
boolean
required