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
11 lines (10 loc) • 462 B
TypeScript
import { MpesaError } from './ErrorHandlers';
export declare class StkPushError extends MpesaError {
responseCode?: string | undefined;
merchantRequestId?: string | undefined;
checkoutRequestId?: string | undefined;
constructor(message: string, responseCode?: string | undefined, merchantRequestId?: string | undefined, checkoutRequestId?: string | undefined);
}
export declare class StkPushErrorHandler {
static handle(error: any): never;
}