curl --location 'https://stp.paydaymx.com/api/developer/webhook' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name":"Prueba ggggggg",
"url": "https://webhook.site/23e4527a-aeee-4f40-975d-4a433c4fab78",
"headers": {
"x-custom": "123"
},
"isActive": true
}'{
"success": true,
"webhook": {
"tenantId": "24d67992-c7cf-4831-a164-d76379c6f091",
"name": "default",
"url": "https://webhook.site/23e4527a-aeee-4f40-975d-4a433c4fab78",
"secret": "",
"headers": {
"x-custom": "123"
},
"events": [],
"isActive": true,
"status": "online",
"lastCheckedAt": "2026-01-28T17:37:20.744Z",
"lastStatusCode": 200,
"lastError": "",
"lastResponseTimeMs": 610,
"_id": "697a4951fc12c917301defe3",
"createdAt": "2026-01-28T17:37:21.373Z",
"updatedAt": "2026-01-28T17:37:21.373Z",
"__v": 0
}
}