Update Webhook
Updates a webhook endpoint's URL, subscribed events, API version, or enabled state.
Request body
The API version for this webhook.
Whether or not to send events for child resources.
Whether or not the webhook is enabled.
The events to send the webhook for, in dot form (for example payment.succeeded).
The URL to send the webhook to.
Response
webhook updated
The API version used to format payloads sent to this webhook endpoint.
Whether events are sent for child resources. For example, if the webhook is on a company, enabling this sends events only from the company's sub-merchants (child companies).
When the webhook was created, as an ISO 8601 timestamp.
Whether this webhook endpoint is currently active and receiving events.
Webhook ID, prefixed hook_.
ID of the resource (company or app) this webhook is attached to.
Destination URL where webhook payloads are delivered via HTTP POST.
Secret key used to sign webhook payloads for verification. Include this in your HMAC validation logic. Returned on the create response and to interactive dashboard sessions; null for API-key and OAuth callers on later reads.
Example response
{
"api_version": "v1"
}