Webhook
You can configure via the API to be notified about events that happen in your account. Most users configure webhooks from the dashboard, which provides a user interface for registering and testing your webhook endpoints.
- idType: stringmax length:100
Unique identifier for the object.
- createdType: string Format: 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.
- enabledType: array string[] · WebhookEventType[]enum
_events The event types this endpoint receives.
values- checkout
_session .completed - payment
_intent .authorized - payment
_intent .captured - payment
.succeeded - payment
.captured
- Type: string · WebhookEventTypeenum
Event types that webhook endpoints can subscribe to.
values- checkout
_session .completed A Checkout Session completed successfully.
- payment
_intent .authorized A PaymentIntent was authorized and can be captured.
- payment
_intent .captured A PaymentIntent was captured.
- payment
.succeeded A Payment succeeded.
- payment
.captured A Payment was captured.
- statusType: stringmax length:5000
The status of the webhook. It can be
enabledordisabled. - secretType: stringmax length:5000
The endpoint's secret, used to generate webhook signatures.

