Example 12164

Webhook Config

Outgoing webhook endpoint configuration.

{
name: "surface-hooks"
secret: "I6l4B4PbcR1A1Z610GLHExWengKMLiu3"
endpoints: [
{
url: "https://cool-finer.org//webhook"
events: [
"create"
"update"
"delete"
]
active: true
}

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

retry: {
max_attempts: 4
backoff: "linear"
interval: 55 # seconds
}
timeout: 28 # seconds
}

See also