UNPKG

tranxs

Version:

Tranxs is a powerful and easy-to-use Node.js library for integrating M-Pesa payment services into your application. It provides seamless support for all major M-Pesa transactions, including STK Push, B2C, B2B, C2B, Reversal, Account Balance, and Transacti

11 lines (10 loc) 352 B
import { AirtelCredentials } from "../types/airtel.types"; import { Environment } from "../types/common"; export declare class AirtelMoney { private credentials; private environment; private baseURL; constructor(credentials: AirtelCredentials, environment?: Environment); private generateAuthToken; USSDPush(): Promise<void>; }