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

    Interface B2cResult

    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 B2cResult {
        amount?: number;
        catalogued?: boolean;
        completedAt?: string;
        conversationId: string;
        meaning?: string;
        mpesaReceipt?: string;
        originatorConversationId: string;
        recipientName?: string;
        resultCode: number;
        resultDesc: string;
        retriable?: boolean;
        success: boolean;
        terminal?: boolean;
        transactionId: string;
        utilityAccountFunds?: number;
        workingAccountFunds?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    amount?: number
    catalogued?: boolean

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

    completedAt?: string
    conversationId: string
    meaning?: string

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

    mpesaReceipt?: string
    originatorConversationId: string
    recipientName?: string
    resultCode: number
    resultDesc: string
    retriable?: boolean
    success: boolean
    terminal?: boolean
    transactionId: string
    utilityAccountFunds?: number
    workingAccountFunds?: number