ogenzo-widgets
Version:
Ogenzo Payment Node js Module
15 lines (14 loc) • 588 B
TypeScript
interface MOMOPayload {
note: string;
slug: string;
phone: string;
amount: number;
msg: string;
ref: string;
}
export declare function login(): Promise<any>;
export declare function getDepositStatus(payload: MOMOPayload): Promise<any>;
export declare function getWithdrawStatus(payload: MOMOPayload): Promise<any>;
export declare function deposit(deposit: MOMOPayload): Promise<import("axios").AxiosResponse<any> | "Success" | "Error" | "Internal Error" | undefined>;
export declare function withdraw(withdraw: MOMOPayload): Promise<any>;
export {};