Sending Airtime

Your application sends Airtime by making a HTTP POST request to the airtime API. For each request sent from your application, we respond with a notification back indicating Success or Failed

post
Airtime

https://renthero.co.ke/phpsap/developer/payments/airtime.php
This endpoint allows you to send airtime.
Request
Response
Request
Body Parameters
username
required
string
Provide your application username
apiKey
required
string
Provide your application apiKey
Receiver
required
string
Provide the recipient phone number in international format ie +2547xxxxxxxx
Amont
required
number
Provide the amount.Note minimal amount is 10
Response
200: OK
Airtime sent successfully.
{
"status": true,
"response": {
"Receiver":"+2547xxxxxxxx",
"Cost":"100",
"apiStatus":"Success"
}
}
402: Payment Required
Insufficient account balance to complete request
{
"status":false,
"response":"You have insufficient balance in your SAP Wallet to complete this request.Please top up and try again."
}