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

    Interface RatibaCallback

    Optional, additive fields parsers layer onto a result when the code is catalogued. resultCode/resultDesc/success are never replaced — these only ADD a human meaning + retry/terminal hints.

    interface RatibaCallback {
        catalogued?: boolean;
        meaning?: string;
        msisdn?: string;
        params: Record<string, unknown>;
        requestRefId: string;
        responseCode: string;
        responseDescription: string;
        responseRefId: string;
        retriable?: boolean;
        status?: string;
        success: boolean;
        terminal?: boolean;
        transactionId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    catalogued?: boolean

    True when the (scope, resultCode) pair is in the proven catalog.

    meaning?: string

    Catalogued, actionable meaning (or Safaricom's text); undefined if unproven.

    msisdn?: string
    params: Record<string, unknown>
    requestRefId: string
    responseCode: string
    responseDescription: string
    responseRefId: string
    retriable?: boolean
    status?: string
    success: boolean
    terminal?: boolean
    transactionId?: string