PATCH
/
v1
/
webhook-endpoints
/
:id
curl -X PATCH https://api.geldstuck.com/v1/webhook-endpoints/wh_01HX3ZY... \
  -H "x-api-key: $GELDSTUCK_PUBLIC_KEY" \
  -H "x-api-secret: $GELDSTUCK_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"events": ["kyc.*", "transaction.*", "source_of_funds.*"]}'
{
  "id": "wh_01HX3ZY...",
  "events": ["kyc.*", "transaction.*", "source_of_funds.*"],
  "status": "active",
  "updatedAt": "2026-04-22T13:05:00.000Z"
}

Path parameters

id
string
required

Body

url
string
events
array
description
string
disabled
boolean

Returns

The updated endpoint.
curl -X PATCH https://api.geldstuck.com/v1/webhook-endpoints/wh_01HX3ZY... \
  -H "x-api-key: $GELDSTUCK_PUBLIC_KEY" \
  -H "x-api-secret: $GELDSTUCK_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"events": ["kyc.*", "transaction.*", "source_of_funds.*"]}'
{
  "id": "wh_01HX3ZY...",
  "events": ["kyc.*", "transaction.*", "source_of_funds.*"],
  "status": "active",
  "updatedAt": "2026-04-22T13:05:00.000Z"
}