Example 14064

Webhook Config

Outgoing webhook endpoint configuration.

{
name: "testing-hooks"
secret: "aSmK2HFrbNxNZ47ls6WXfhGnYQsQitlg"
endpoints: [
{
url: "https://lively-curl.org/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}

{
url: "https://tired-equal.org/callback"
events: [
"payment.success"
"payment.failed"
]
active: true
}
]

retry: {
max_attempts: 4
backoff: "exponential"
interval: 41 # seconds
}
timeout: 21 # seconds
}

See also