latestOpenAPI 3.0.12026-08-101292701.1 MB
f21981db32be
Webhooks
Gets a webhook endpoint by ID
Retrieves the details of a webhook endpoint. Supply the unique identifier of the webhook endpoint.
get/webhooks/{id}
Path parameters
idstring required
Webhook ID
Response
200 OK. Returns an event object if a valid identifier was provided. All events share a common structure. The only property that will differ is the data property. The data dictionary's values will be the same as retrieving the same object directly from the API. For example, a charge.created event will have the same information as retrieving the relevant charge would.
Example response
{
"createdTime": "2018-08-29T09:12:33.001Z",
"updatedTime": "2018-08-29T09:12:33.001Z",
"types": [
"order.created"
],
"apiVersion": "default",
"enabled": true,
"address": "https://company.com"
}