UNPKG

mpesajs

Version:

A Node.js SDK for seamless integration with M-Pesa payment gateway, providing easy-to-use methods for handling transactions, payments, and API interactions

12 lines (11 loc) 506 B
import { MpesaError } from './ErrorHandlers'; export declare class PayoutError extends MpesaError { errorCode?: string | undefined; requestId?: string | undefined; responseCode?: string | undefined; conversationId?: string | undefined; constructor(message: string, errorCode?: string | undefined, requestId?: string | undefined, responseCode?: string | undefined, conversationId?: string | undefined); } export declare class PayoutErrorHandler { static handle(error: any): never; }