Update a webhook
Update the details of a specific webhook.
For more information, see the guides: Work with webhooks -> Track order and payment lifecycle.
Request
Response
The successfully updated webhook
Was this page helpful?
Update the details of a specific webhook.
For more information, see the guides: Work with webhooks -> Track order and payment lifecycle.
The successfully updated webhook
curl -L -g -X PATCH 'https://ramp-partners.revolut.com/partners/api/2.0/webhooks/{webhook_id}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>' \
--data-raw '{
"url": "https://crypto.partner.com/revolut",
"events": [
"ORDER_PROCESSING",
"ORDER_COMPLETED"
]
}'
{
"url": "https://crypto.partner.com/revolut",
"events": [
"ORDER_PROCESSING",
"ORDER_COMPLETED"
]
}
{
"id": "c518d8cc-114b-d2ed-a10b-0a32ac1c0e4f",
"url": "https://crypto.partner.com/revolut",
"events": [
"ORDER_PROCESSING",
"ORDER_COMPLETED"
],
"signing_secret": "wsk_h1ETWMz2g1bB7gCONjNp84t2KSSIt7rs"
}