Library Packages

the Library Package for the API

Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.

Installing Packages

npm install e-levy

Usage

import anyVariableName from 'e-levy'

const amount = 200;
 
const telco = 'MTN' // VODAFONE , AIRTELTIGO
 
const {elevyCharge, chargedAmount, deductedAmount, moneyToSend, telcoCharge , imageReference} = anyVariableName(telco,amount)
 
// do what you want to with the distructured data...

Last updated