@kepas/daraja-js
    Preparing search index...

    Interface WebhookVerifyParams

    interface WebhookVerifyParams {
        now?: () => number;
        payload: string;
        secret: string;
        signature: string;
        toleranceSec?: number;
    }
    Index

    Properties

    now?: () => number

    Clock in ms, injectable for tests.

    payload: string

    Raw body string exactly as received.

    secret: string
    signature: string

    The t=…,v1=… signature header.

    toleranceSec?: number

    Replay window in seconds. Default 300. Set 0 to disable.