Update a webhook’s enabled status and/or event subscriptions.
Use this endpoint to:
Disabled webhooks will not receive any events until re-enabled.
Note: The webhook URL cannot be updated. To change the URL, delete the webhook and register a new one.
curl --request PATCH \
--url https://nexus.kraken.com/b2b/webhooks/{webhook_id} \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"events": [
"quote.executed"
]
}
'{
"result": {
"webhook": {
"id": "WHTEST-XXXXX-EXAMPLE",
"url": "https://your-domain.com/webhooks/payward",
"enabled": true,
"subscribed_events": [
"quote.executed"
],
"available_events": [
"custom_order.executed",
"custom_order.execution_failed",
"custom_order.cancelled",
"quote.executed",
"quote.execution_failed",
"quote.cancelled",
"reward.paid",
"user.verified",
"user.closed",
"user.disabled"
],
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:01:00Z"
}
}
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
The target version of the Embed API to use. The API version name is based on the date when the API version was released. For example, the API version 2025-04-15 was released on April 15, 2025.
2025-04-15 Unique identifier for the webhook
"WHTEST-XXXXX-EXAMPLE"
Whether the webhook should be enabled or disabled
true
List of event types to subscribe to. This replaces all existing
event subscriptions. Pass an empty array [] to unsubscribe from all events.
50100^[a-zA-Z0-9._]+$["quote.executed"]Webhook updated successfully
Show child attributes
curl --request PATCH \
--url https://nexus.kraken.com/b2b/webhooks/{webhook_id} \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"events": [
"quote.executed"
]
}
'{
"result": {
"webhook": {
"id": "WHTEST-XXXXX-EXAMPLE",
"url": "https://your-domain.com/webhooks/payward",
"enabled": true,
"subscribed_events": [
"quote.executed"
],
"available_events": [
"custom_order.executed",
"custom_order.execution_failed",
"custom_order.cancelled",
"quote.executed",
"quote.execution_failed",
"quote.cancelled",
"reward.paid",
"user.verified",
"user.closed",
"user.disabled"
],
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:01:00Z"
}
}
}