Enable a Webhook
Changed onThe endpoint allows users to re-enable a specific webhook that was previously disabled. Once re-enabled, the webhook will resume sending notifications for any event listed in its enabled_events array.
post/webhooks/{id}/enable
Request
- Base URLhttps://api.sandbox.waza.co/payouts/v1
- URLhttps://api.sandbox.waza.co/payouts/v1/webhooks/{id}/enable
- Authnone required
Path parameters
idstring required
The unique {id} of the webhook.
Headers
x-waza-keystring
your app key
Response
200
Example response
{
"data": {
"id": "0f21e451-d2a2-4630-be1d-9afeb509375d",
"created_at": "2023-08-10T09:36:05.941Z",
"updated_at": "2023-08-10T09:36:05.941Z",
"state": "ENABLED",
"url": "https://127.0.0.1:3001",
"secret": "1234",
"enabled_events": [
"transaction.created"
]
}
}Changes
- info
endpoint added
- info