← Docs

Webhooks

Registre um endpoint HTTPS. Aporta assina cada delivery com HMAC.

Assinatura

SDK verify

import { Aporta, verifyWebhook } from "@aporta/sdk";

const event = verifyWebhook(whsec, rawBody, req.headers.get("x-aporta-signature")!);
// ou: Aporta({ secret }).webhooks.verify(whsec, rawBody, header)

Eventos

Veja o catálogo em GET /v1/webhooks/events. Inclui checkout/transparent disputed, subscription.renewed|trial_started, transfer.*, crypto.*.