The Webhook Endpoint object
You can configure webhook endpoints via the API to be notified about events that happen in your Zoneless platform. When an event occurs (such as a payout completing or an account being updated), Zoneless sends a POST request to your configured URL with the event data.
Each webhook endpoint can subscribe to specific event types, or use ['*'] to receive all events. The webhook payload contains the full Event object including the affected resource.
Attributes
String representing the object's type. Objects of the same type share the same value. Always webhook_endpoint.
The ID of the associated Connect application. Currently always null as OAuth applications are not yet supported.
The list of events to enable for this endpoint. ['*'] indicates that all events are enabled.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
The endpoint's secret, used to generate webhook signatures. Only returned at creation. See Webhooks for information on verifying webhook signatures.
The status of the webhook.
enabledThe webhook endpoint is active and will receive events.disabledThe webhook endpoint is disabled and will not receive events.{
"id": "we_z_1Mr5jULkdIwHu7ix",
"object": "webhook_endpoint",
"api_version": null,
"application": null,
"created": 1704067200,
"description": "Webhook for payout notifications",
"enabled_events": [
"payout.paid",
"payout.failed"
],
"livemode": true,
"metadata": {},
"platform_account": "acct_z_Platform123abc",
"secret": "whsec_z_wRNftLajMZNeslQOP6vEPm4iVx5NlZ6z",
"status": "enabled",
"url": "https://example.com/my/webhook/endpoint"
}