Webhooks
Create Webhook Endpoint
webhooks.create(**kwargs) -> WebhookEndpointWithSecret { id, created_at, event_types, 6 more }
POST/webhook_endpoints
Delete Webhook Endpoint
webhooks.delete(webhook_endpoint_id) -> DeletedWebhookEndpoint { id, deleted, object }
DELETE/webhook_endpoints/{webhook_endpoint_id}
List Webhook Endpoints
webhooks.list(**kwargs) -> CursorPage<WebhookEndpoint { id, created_at, event_types, 5 more } >
GET/webhook_endpoints
Retrieve Webhook Endpoint
webhooks.retrieve(webhook_endpoint_id) -> WebhookEndpoint { id, created_at, event_types, 5 more }
GET/webhook_endpoints/{webhook_endpoint_id}
Rotate Webhook Endpoint Signing Secret
webhooks.rotate_secret(webhook_endpoint_id, **kwargs) -> WebhookEndpointWithSecret { id, created_at, event_types, 6 more }
POST/webhook_endpoints/{webhook_endpoint_id}/rotate_secret
Test Webhook Endpoint
webhooks.test_(webhook_endpoint_id, **kwargs) -> WebhookEndpointTestResult { event_type, object, status_code, 2 more }
POST/webhook_endpoints/{webhook_endpoint_id}/test
Update Webhook Endpoint
webhooks.update(webhook_endpoint_id, **kwargs) -> WebhookEndpoint { id, created_at, event_types, 5 more }
POST/webhook_endpoints/{webhook_endpoint_id}
WebhooksEvent Types
List Webhook Event Types
webhooks.event_types.list() -> WebhookEventTypeList { data, object }
GET/webhook_event_types