Update a webhook endpoint
Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.
Path Parameters
- Type: stringidmax length:5000required
Body·WebhookEndpointUpdateRequest
required
application/json
- Type: array string[]enabled
_events requiredThe list of events to enable for this endpoint.
- Type: stringurlmax length:5000required
The URL of the webhook endpoint.
Responses
- application/json
- application/json
Request Example for post/v1/webhooks/{id}
curl 'https://api.paypercut.io/v1/webhooks/{id}' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"enabled_events": [
""
],
"url": ""
}'
{
"id": "string",
"name": "string",
"enabled_events": [
"string"
],
"status": "string",
"secret": "string",
"url": "string",
"created": "2026-04-17T20:01:58.674Z"
}
