import type * as Extend from "../index"; /** * The response when creating a webhook endpoint. Includes the `signingSecret`, which is only returned on creation and cannot be retrieved again. */ export interface WebhookEndpointCreate { object: "webhook_endpoint"; /** Unique identifier for the webhook endpoint. */ id: string; /** The URL that webhook events are sent to. */ url: string; /** A human-readable name for the webhook endpoint. */ name: string; status: Extend.WebhookEndpointStatus; /** The list of event types this endpoint is subscribed to at the global level. These are events that are not scoped to a specific resource. */ enabledEvents: Extend.WebhookEndpointEventType[]; apiVersion: Extend.ApiVersionEnum; /** Advanced configuration options for the webhook endpoint, including custom headers and payload delivery settings. */ advancedOptions: Extend.WebhookAdvancedOptions | null; /** * The signing secret used to verify webhook payloads. This is only returned when creating the endpoint and cannot be retrieved again. * * Store it securely — you will need it to verify webhook signatures. */ signingSecret: string; /** The date and time the webhook endpoint was created. */ createdAt: string; }