Update a Webhook Endpoint

​

Updates the endpoint url, exact enabled_events, and Connected-Account Delivery setting.

Set connect to true or false to change whether the endpoint also receives selected events from connected accounts. If omitted, the current value is preserved.

The endpoint name, payload api_version, and status cannot be changed with this operation.

You can also update webhook endpoints in the Merchant Dashboard.

Related guides: Webhook Event Catalogue and Webhook Signature Verification

Path Parameters

Body·

required
application/json

Fields that can be changed on an existing Webhook Endpoint. Omit connect to preserve its current value.

  • The URL of the webhook endpoint.

  • Exact event identifiers this endpoint receives. Wildcards are not accepted.

  • Whether the endpoint also receives selected events from accounts connected to the platform account. Omission preserves the current setting.

Responses

  • application/json
  • application/json
  • application/json
  • 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 '{
  "url": "https://example.com/webhooks/paypercut",
  "connect": false,
  "enabled_events": [
    "checkout_session.completed",
    "invoice.paid",
    "invoice.payment_failed"
  ]
}'
{
  "id": "string",
  "created": "2026-11-13T07:04:16.748Z",
  "name": "string",
  "url": "https://example.com/webhooks/paypercut",
  "status": "active",
  "api_version": "v2",
  "connect": true,
  "enabled_events": [
    "checkout_session.completed",
    "payment_intent.authorized",
    "payment_intent.captured",
    "payment.succeeded",
    "payment.failed",
    "invoice.paid",
    "invoice.payment_failed"
  ],
  "secret": "string"
}