Update a webhook
Update the details of a specific webhook.
Request
Response
OK
Was this page helpful?
Update the details of a specific webhook.
OK
curl -L -g -X PUT 'https://merchant.revolut.com/api/1.0/webhooks/{webhook_id}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <yourSecretApiKey>' \
--data-raw '{
"url": "http://business.revolut.com",
"events": [
"ORDER_COMPLETED"
]
}'
{
"url": "http://business.revolut.com",
"events": [
"ORDER_COMPLETED"
]
}
{
"id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
"url": "http://business.revolut.com",
"events": [
"ORDER_COMPLETED"
]
}