Crypto Ramp API
Update a webhook
api
patch
/webhooks/{webhook_id}

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

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

Response

The successfully updated webhook

Response body
Body object 
Was this page helpful?
PATCH
/webhooks . /{webhook_id} . 
Parameters
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"
]
}'
Request body samples
{
"url": "https://crypto.partner.com/revolut",
"events": [
"ORDER_PROCESSING",
"ORDER_COMPLETED"
]
}
Response body samples
{
"id": "c518d8cc-114b-d2ed-a10b-0a32ac1c0e4f",
"url": "https://crypto.partner.com/revolut",
"events": [
"ORDER_PROCESSING",
"ORDER_COMPLETED"
],
"signing_secret": "wsk_h1ETWMz2g1bB7gCONjNp84t2KSSIt7rs"
}