Webhook Endpoints
Editar Webhook Endpoint
Actualiza la configuración de un webhook endpoint existente de la organización.
Solo modifica los campos incluidos en la solicitud; el resto conserva su valor actual. Si cambia la URL o los eventos, ningún otro endpoint de la URL resultante puede recibir uno de esos eventos. Devuelve el endpoint ya actualizado.
put/webhook_endpoints/{webhook_endpoint_id}
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/webhook_endpoints/{webhook_endpoint_id}
- AuthAPI key in header x-api-key
Path parameters
webhook_endpoint_idstring required
Identificador del Webhook Endpoint.
Request body
Response
Successful Response
Example response
{
"custom_headers_keys": [
"X-Custom-Token"
],
"enabled_events": [
"transaction.success",
"transaction.failed"
],
"id": "whe_R7kPq2mNvB4xC8dF1hJ5tW9sZ3aY",
"secret": "whesec_L6oI8uY7tR5eW3qA1sD9fG2hJ4kZ",
"url": "https://example.com/webhooks/toku",
"webhook_version": "2024-04-01"
}Changes
No recorded changes to this operation across all 2 revisions of this API.