Enable an Event Destination v2
POST / v2 / core / event_destinations /:id / enable
Enable an event destination.
Learn more about calling API v2 endpoints.
Parameters
No parameters.
Returns
Returns an Event Destination object.
Error Codes
404 not _ found
The resource wasn’t found.
409 idempotency _ error
An idempotent retry occurred with different request parameters.
Response
{ "id": "ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6", "object": "v2.core.event_destination", "created": "2024-10-22T16:20:09.931Z", "description": "This is my event destination, I like it a lot", "enabled_events": [ "v1.billing.meter.error_report_triggered" ], "event_payload": "thin", "events_from": [ "@self" ], "livemode": false, "metadata": {}, "name": "My Event Destination", "snapshot_api_version": null, "status": "enabled", "status_details": null, "type": "webhook_endpoint", "updated": "2024-10-22T16:21:38.634Z", "webhook_endpoint": { "signing_secret": null, "url": null }}
Event Destination event types v2
This is a list of all public thin events we currently send for updates to Event Destination, which are continually evolving and expanding. The payload of thin events is unversioned. During processing, you must fetch the versioned event from the API or fetch the resource’s current state.
Event types
Type
Filter events by type
Type
v2. core. event _ destination. ping
A ping event used to test the connection to an Event Destination .
