1.1.5 • Published 2 years ago

e-levy v1.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

image banner

Official E-levy API

Visist more information on our Documentaion Page or you can visit our website

Installation

npm install e-levy 

for yarn

yarn add e-levy 

Usage

Easy and Fast to use

const anyVariableName  =  require('e-levy')

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

Params

Parameters to be passed to the function

namedescriptiondefaulttype
amountthis is the money to be sent to the user0integer
telco"Telecommunication Services" MTN , VODAFONE , AIRTELTIGO"MTN"strings

Response

returns a JSON object

namedescriptiontype
elevyChargethis is the percentage charge on E-levydouble
chargedAmountAmount charged on e-levy percentage"double
deductedAmountAmount after deduction of e-levy charges"double
telcoChargeCharges taken by respective telecommunication services eg.MTN (0.75)"double
telcoNamename of the telecommunication service eg.MTN"string
amountamount sent"double
moneyToSendthis give you the money need to be sent in order to payoff e-levy charges"double
messageinformation on the results"string
imageReferencean image url to reference api eg."string

enter image description here

enter image description here

buy me coffee 👉 https://www.buymeacoffee.com/aframson777

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago