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

    Interface B2cSendInput

    interface B2cSendInput {
        amount: number;
        commandId?: B2cCommandId;
        occasion?: string;
        originatorConversationId?: string;
        phone: string;
        queueTimeoutUrl: string;
        remarks?: string;
        resultUrl: string;
    }
    Index
    amount: number
    commandId?: B2cCommandId

    Default BusinessPayment.

    occasion?: string
    originatorConversationId?: string

    Caller-generated OriginatorConversationID (idempotency / double-disbursement guard). When given, the request goes to the B2C v3 endpoint, which accepts it; when omitted, the v1 endpoint and body are exactly those of 1.4.1.

    phone: string
    queueTimeoutUrl: string

    HTTPS URL for queue-timeout notifications.

    remarks?: string
    resultUrl: string

    HTTPS URL Safaricom posts the async result to.