WebhookResource
Object containing the webhook resource.
webhook object
Webhook configuration returned by the API.
Unique identifier of the webhook.
Destination URL configured for webhook delivery.
Events the webhook is subscribed to.
Possible values: [subscription-billing.charge-created.v1, subscription-billing.charge-failed.v1, subscription-billing.charge-success.v1, subscription-billing.agreement-active.v1, subscription-billing.agreement-stopped.v1, settlement.transfer-ready.v1]
If not null it means the webhook is currently paused. A webhook can be pause either manually in the ePay backoffice or automatically by ePay, if the webhook error rate is too high.
Reason for pausing the webhook. Will be null if the webhook is not paused.
Possible values: [ERROR_RATE_TOO_HIGH, PAUSED_BY_MERCHANT]
Timestamp when the webhook was created.
{
"webhook": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "string",
"events": [
"subscription-billing.charge-created.v1"
],
"pausedAt": "2024-07-29T15:51:28.071Z",
"pauseReason": "ERROR_RATE_TOO_HIGH",
"createdAt": "2024-07-29T15:51:28.071Z"
}
}