POST
/
webhook_endpoints
curl --request POST \
  --url https://api.chargeapi.co/v1/webhook_endpoints \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "enabled_events": [
    "<string>"
  ],
  "description": "<string>",
  "api_version": "<string>"
}'
{
  "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
}

Body

application/json

Response

200
application/json

Returns the newly created Webhook Endpoint object, including a secret property used to sign events.