Example 2571

Webhook Config

Outgoing webhook endpoint configuration.

{
name: "bonnet-hooks"
secret: "RshFwO7mXupGgVVW14l4BhYMUsz1csRR"
endpoints: [
{
url: "https://stupendous-configuration.biz//webhook"
events: [
"create"
"update"
"delete"
]
active: true
}

{
url: "https://grumpy-skean.net//callback"
events: [
"payment.success"
"payment.failed"
]
active: true
}
]

retry: {
max_attempts: 3
backoff: "linear"
interval: 49 # seconds
}
timeout: 15 # seconds
}

See also