Example 13662

Webhook Config

Outgoing webhook endpoint configuration.

{
name: "replacement-hooks"
secret: "vVYxAvrrumu49J8dZbHCyMKmH3AVOVbe"
endpoints: [
{
url: "https://some-lay.com/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}

{
url: "https://easy-transom.biz/callback"
events: [
"payment.success"
"payment.failed"
]
active: true
}
]

retry: {
max_attempts: 9
backoff: "linear"
interval: 20 # seconds
}
timeout: 5 # seconds
}

See also