Ir al contenido

certification.completed / certification.paused; `data` es la `CertificationRun`

POST

certification.completed: el emisor alcanzó las pruebas mínimas del MH en el ambiente 00; el siguiente paso es que el representante legal pida la autorización en el Sitio de Emisores (docs/onboarding-emisor-mh.md §5). certification.paused: la corrida se pausó por rechazos seguidos o un error de datos (last_error); se reanuda con POST /certification-runs/{run_id}/resume.

Media type application/json

Cuerpo de un webhook (sobre del evento)

object
id
obligatorio
string
object
obligatorio
Allowed value: event
type
obligatorio
string
Allowed values: document.processed document.rejected document.contingency document.voided document.delivered document.needs_review document.email_delivered document.email_bounced document.discarded contingency.needs_attention certification.completed certification.paused fiscal.report.ready fiscal.report.failed fiscal.period.closed fiscal.period.drift_detected return_event.processed return_event.rejected return_event.voided return_event.needs_review special_operations.processed special_operations.rejected special_operations.voided special_operations.needs_review received_document.created received_document.voided
environment

00 pruebas, 01 producción (CAT-001)

string
Allowed values: 00 01
created_at
obligatorio
string format: date-time
data
obligatorio

Objeto del evento: Document (document.), MHEvent (return_event., special_operations.), FiscalReport (fiscal.report.) o FiscalPeriod (fiscal.period.*)

object

Recibido