Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 4.72 KB

createwebhookresponse.md

File metadata and controls

16 lines (12 loc) · 4.72 KB

CreateWebhookResponse

Webhook created successfully

Fields

Field Type Required Description
id str ✔️ The ID of the webhook.
name str ✔️ The webhook's name.
description OptionalNullable[str] ➖ The webhook's description.
url str ✔️ The URL we call when a subscribed event occurs.
event_types List[models.CreateWebhookEventTypeResponse] ✔️ Event types this webhook subscribes to. Empty for legacy v1 webhooks, which subscribe via their single deprecated type instead.
payload_version models.CreateWebhookPayloadVersion ✔️ Payload envelope version. V2 is the Stripe-style envelope; V1 is the legacy flat shape and is read-only via this API.
created_at str ✔️ The date the webhook was created.