Merchant API
Update a webhook
api
put
/api/1.0/webhooks/{webhook_id}

Update a webhook

Update the details of a specific webhook.

Request

Path Parameters
Path Parameters
Header Parameters
Header Parameters
Request body
Body object 

Response

OK

Response body
Body object 
Was this page helpful?
PUT
/api . /1.0 . /webhooks . /{webhook_id} . 
Parameters
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"
]
}'
Request body samples
{
"url": "http://business.revolut.com",
"events": [
"ORDER_COMPLETED"
]
}
Response body samples
{
"id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
"url": "http://business.revolut.com",
"events": [
"ORDER_COMPLETED"
]
}