POST
/
webhook_endpoints
/
{webhook_endpoint}
curl --request POST \
  --url https://api.chargeapi.co/v1/webhook_endpoints/{webhook_endpoint} \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "My production webhooks"
}'
{
  "id": null,
  "object": null,
  "api_version": null,
  "application": null,
  "created": null,
  "description": null,
  "enabled_events": [
    null
  ],
  "livemode": null,
  "metadata": null,
  "secret": null,
  "status": null,
  "url": null
}

Path Parameters

webhook_endpoint
string
required

ID of the webhook endpoint to update.

Body

application/json

Response

200
application/json

Returns the updated Webhook Endpoint object. Raises an error if the webhook ID is invalid.