Ir al contenido

Evento de Retorno u Operaciones Especiales: return_event.* y special_operations.* (processed, rejected, voided, needs_review); `data` es el `MHEvent`

POST

Misma firma y headers que los eventos de documento.

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