Create a Webhook

POST https://api.razorpay.com/v2/accounts/{account_id}/webhooks

Use this API to create a webhook.

Know more about the Create a Webhook API.

Request Body

{"url"=>"https://en1mwkqoqioct.x.pipedream.net", "alert_email"=>"gaurav.kumar@example.com", "secret"=>"12345", "events"=>["payment.authorized", "payment.failed", "payment.captured", "payment.dispute.created", "refund.failed", "refund.created"]}

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``