Purchase airtime using Intasend API.
Provide your credentials for the INTASEND such as:
$consumerKey = "xxxxxxxxxxxxxxxxxxxxxxx";
$consumerSecret = "xxxxxxxxxxxxxxxxxxxxxxxxx";
for the code to work.
If you don't have an intasend account you can create one.