Webhooks
Update a webhook config
patch/api/v1/bila/webhooks/{id}
Path parameters
idstring required
Example:68f11209-451f-4a15-bfcd-d916eb8b09f4
Webhook config UUID
Request body
Example request
{
"url": "https://example.com/webhooks",
"events": [
"payment.completed",
"collection.completed"
],
"isActive": true
}Response
Webhook config updated
Example response
{
"status": true,
"message": "Operation completed successfully",
"data": {
"id": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
"merchantId": "68f11209-451f-4a15-bfcd-d916eb8b09f5",
"url": "https://example.com/webhooks/bila",
"secret": "a1b2****c3d4",
"events": [
"payment.completed",
"collection.completed"
],
"isActive": true,
"createdAt": "2026-04-01T10:00:00.000Z",
"updatedAt": "2026-04-15T14:30:00.000Z"
}
}