webhooks:read permission.
Request
Headers
string
required
Bearer token using your API key. Format:
Bearer cs_live_your_keyPath parameters
string
required
The unique identifier of the webhook to retrieve (e.g.,
wh_01hx4kz9mntd8vr2bpqe5ycf3a).Response
200 — success
string
Unique identifier for the webhook endpoint.
string
The destination HTTPS URL where events are delivered.
array[string]
List of event types this webhook is subscribed to.
string
Current status of the webhook. One of
ACTIVE, DISABLED, or DELETED.string
Optional human-readable description provided at registration.
integer
Unix timestamp (seconds) when the webhook was registered.
integer
Unix timestamp (seconds) of the most recent delivery attempt.
null if no deliveries have occurred.integer
Total number of successful event deliveries to this endpoint.
integer
Total number of failed delivery attempts to this endpoint.
401 — unauthorized
Returned when your API key is missing, invalid, or lacks thewebhooks:read permission.
404 — not found
Returned when no webhook with the givenid exists under your merchant account.
Example
Sample response