mpesa-snap
Version:
Mpesa Add-on
13 lines (12 loc) • 394 B
TypeScript
import { Enviroment } from "../types";
type C2BPayload = {
consumer_key: string;
consumer_secret: string;
environment: Enviroment;
response_type: "Cancelled" | "Completed";
confirmation_url: string;
validation_url: string;
short_code: string;
};
export declare const registerC2B: (payload: C2BPayload) => Promise<import("axios").AxiosResponse<any, any>>;
export {};