Skip to main content

WebhookResource

Object containing the webhook resource.

webhook object

Webhook configuration returned by the API.

iduuidrequired

Unique identifier of the webhook.

urlurirequired

Destination URL configured for webhook delivery.

eventsstring[]required

Events the webhook is subscribed to.

Possible values: [subscription-billing.charge-failed.v1, subscription-billing.charge-success.v1, subscription-billing.agreement-active.v1, subscription-billing.agreement-stopped.v1]

createdAtdate-timerequired

Timestamp when the webhook was created.

WebhookResource
{
"webhook": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "string",
"events": [
"subscription-billing.charge-failed.v1"
],
"createdAt": "2024-07-29T15:51:28.071Z"
}
}