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

5 lines (4 loc) 231 B
import { Mpesa } from "./mpesa/Mpesa"; import { Credentials } from "./types/mepesa.types"; import { Environment } from "./types/common"; export declare function useMpesa(credentials: Credentials, environment?: Environment): Mpesa;