Sarraf API
    Preparing search index...

    Interface SarrafWebhookOptions

    interface SarrafWebhookOptions {
        mode?: "handle-first" | "ack-first";
        path?: string;
    }
    Index
    mode?: "handle-first" | "ack-first"

    "handle-first" (default): run the handlers, then answer 200; a thrown error answers 500 so the provider retries. "ack-first": answer 200 immediately and run the handlers after (enqueue only!).

    path?: string

    Controller path. The route is POST /<path>/:provider. Default "webhooks".