Better Payment 0.11.1 API
    Preparing search index...

    Interface BeforeHookResult

    What a before hook can return (all optional):

    • provider: run the operation on this provider (routable calls only)
    • request: replace the request
    • result: skip the provider and return this result; remaining before hooks do not run, after hooks and events do
    interface BeforeHookResult {
        provider?: string;
        request?: unknown;
        result?: unknown;
    }
    Index
    provider?: string
    request?: unknown
    result?: unknown