@hatang/sdk
    Preparing search index...

    Interface WebhookEvent<D>

    What a webhook endpoint receives (after constructWebhookEvent).

    interface WebhookEvent<D = Record<string, unknown>> {
        created_at: string;
        data: D;
        type: string;
    }

    Type Parameters

    • D = Record<string, unknown>
    Index
    created_at: string
    data: D
    type: string