Example 5968

Webhook Config

Outgoing webhook endpoint configuration.

{
name: "tennis-hooks"
secret: "S12obAGYvfhl08P36aUargVY7DrO7ztf"
endpoints: [
{
url: "https://trivial-sailor.org/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}

{
url: "https://mundane-wallaby.com//callback"
events: [
"payment.success"
"payment.failed"
]
active: true
}
]

retry: {
max_attempts: 6
backoff: "exponential"
interval: 54 # seconds
}
timeout: 10 # seconds
}

See also