Webhook
A Webhook Endpoint sends selected events to its configured URL.
The response reports the exact subscribed event identifiers, payload version, and whether Connected-Account Delivery is enabled.
- idType: stringmax length:100
Unique identifier for the object.
- createdType: stringFormat: date-time
Time at which the object was created. Measured in seconds since the Unix epoch.
- nameType: stringmax length:5000
The webhook's name.
- urlType: stringmax length:5000
The URL of the webhook endpoint.
- statusType: WebhookStatusenum
Current lifecycle status of the Webhook Endpoint.
values- active
The endpoint can receive subscribed events.
- inactive
The endpoint is inactive and does not receive events.
- active
- apiType: WebhookAPIVersionenum
_version Payload schema version used for events delivered to this endpoint.
values- v1
Legacy Checkout Session and Payment Intent payload shapes. Used when
api_versionis omitted for backward compatibility. - v2
Recommended for new integrations. Uses the current Checkout Session and Payment Intent resource shapes.
- v1
- connectType: boolean
Whether this endpoint also receives selected events from accounts connected to the platform account.
- enabledType: array of WebhookEventTypeenum
_events Exact event identifiers this endpoint receives.
- secretType: stringmax length:5000
The endpoint's secret, used to generate webhook signatures.

