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
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...
const anyVariableName = require('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..