Better Payment 0.11.1 API
    Preparing search index...

    Interface HandlerContext

    interface HandlerContext {
        action: HandlerAction;
        body: Record<string, unknown> | undefined;
        params: Record<string, string>;
        provider: string | undefined;
        request: BetterPaymentRequest;
    }
    Index
    body: Record<string, unknown> | undefined

    Parsed request body (form-urlencoded callbacks are converted to objects). Undefined when the request has no object body.

    params: Record<string, string>
    provider: string | undefined

    The provider id of the route; undefined for plugin endpoints