Path Parameters
The customer’s external ID (starts with cus_)
The webhook endpoint’s external ID (starts with whep_)
Request Body
Updated webhook URL (must be HTTPS)
Updated list of event types to subscribe to
Response
Webhook endpoint identifier (starts with whep_)
Always returns "webhook_endpoint"
Array of subscribed event types
Whether the endpoint is active
ISO 8601 timestamp when created
ISO 8601 timestamp when last updated
When the endpoint was last used
Response Example
{
"id": "whep_1234567890abcdef",
"object": "webhook_endpoint",
"url": "https://api.mycompany.com/webhooks/hopnow",
"events": ["payout.created", "payout.completed", "payout.failed"],
"is_active": true,
"description": "Updated production webhook",
"created": "2024-01-01T00:00:00Z",
"updated": "2024-01-16T10:00:00Z",
"last_used_at": "2024-01-15T12:30:00Z"
}