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

    Interface StkCallbackResult

    The async STK Push result Safaricom posts to your callback URL.

    interface StkCallbackResult {
        amount?: number;
        catalogued?: boolean;
        checkoutRequestId: string;
        meaning?: string;
        merchantRequestId: string;
        mpesaReceiptNumber?: string;
        phoneNumber?: number;
        resultCode: number;
        resultDesc: string;
        retriable?: boolean;
        success: boolean;
        terminal?: boolean;
        transactionDate?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    amount?: number
    catalogued?: boolean

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

    checkoutRequestId: string
    meaning?: string

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

    merchantRequestId: string
    mpesaReceiptNumber?: string
    phoneNumber?: number
    resultCode: number
    resultDesc: string
    retriable?: boolean
    success: boolean

    true when resultCode === 0.

    terminal?: boolean
    transactionDate?: number