Node: crypto.createHmac('sha256', secret).update(rawBody).digest('hex'); Python: hmac.new(secret, raw, hashlib.sha256).hexdigest(); Go: hmac.New(sha256.New, []byte(secret)); PHP: hash_hmac('sha256', $raw, $secret). Prefija sha256= y compara en tiempo constante. En producción usa Idempotency-Key, acepta webhook_test válido sin acción, deduplica invoice_paid y alerta 402 account_not_serviceable.
PARA DESARROLLADORES · 7 min
Ejemplos de integración
Creación y verificación de raw body.