Rest API Endpoint
this is the rest api endpoint for making request
Main Endpoint (send)
Send Money Response
POST https://e-levy-api.vercel.app/api/v1/send
When sending the money , one should add charges and this endpoint is designed to do that ,it will determine the charge to be added to the amount been send to the receiver
Request Body
Name
Type
Description
amount*
integer
the amount to be sent to the reciever
telco
string
the telecommunication services
"MTN" , "VODAFONE" , "AIRTELTIGO"
{
"status": true,
"message": "success",
"amount": 500,
"telcoName": "MTN",
"telcoCharge": 0.75,
"elevyCharge": 1.5,
"chargedAmount": 11.25,
"deductedAmount": 488.75,
"moneyToSend": 511.25,
"imageReference": "https://e-levy-api.vercel.app/powered.png"
}Response when the money is not applicable to E-levy charges
{
"status": true,
"message": "E-levy Charges are not applicable with amounts less than GHc 100"
}{
// Response
}Last updated