Skip to main content

Webhooks outbound

Gallo hace POST a tu URL HTTPS. Firma: HMAC-SHA256.

Headers

Secret: whsec_….

Envelope

Verificar firma (Node.js)

Rechazá timestamps > ~5 min.

Payloads

account.created

account.credited

transfer.confirmed

transfer.failed

Tipos

account.created · account.alias.updated · account.closed · account.credited · transfer.created · transfer.sent · transfer.confirmed · transfer.failed · transfer.reversed

Retries

Respondé 2xx rápido. Ante fallo: backoff exponencial. Deduplicá con X-Gallo-Event-Id.