external_services

Webhook Signaturit Callback

Webhook callback que recibe notificaciones de Signaturit cuando cambia el estado de una firma

🔄 Lógica implementada cuando el cliente firma o rechaza:

  1. Buscar registro en presup_datos_presupuesto_cliente por signaturit_id
  2. Actualizar signaturit_status a "completed" o "rejected"
  3. Actualizar estado_id en presup_presupuestos:
    • 8 si completed (firmado)
    • 6 si rejected (rechazado)
  4. Si completed, actualizar datos_presupuesto_firmado_id
post/api/signaturit/webhook/signaturit_callback

Response

Successful Response

{"stackTrail":"paths:/api/signaturit/webhook/signaturit_callback:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.