Airtime VTU, Share & Sell
Data Gifting, SME, Transfer, Corporate
Data PIN
Transaction
Webhooks
Purchase Internet
post
/internet
Purchase internet
Body
{
"request_ref": "Request Ref",
"smart_number": "Phone Number",
"product_id": "Product ID/CODE",
"variation_code": "Variation",
"free_entry": "Boolean",
"amount": "Amount to Purchase",
"pin": "Your pin"
}
Parameters
request_ref | Your unique Request Ref (Optional) |
smart_number | Receiver SmartCard Number |
product_id | Product ID/CODE gotten from Category List here |
variation_code | variation code gotten from Product Variation here |
free_entry | Default is false Required if you want to perform free entry transaction |
amount | Require if free_entry is true |
pin | Your transaction pin |
Sample Response
{
"status": "ok",
"message": "Request successfully",
"data": {
"transaction": {
"reference": "9c24db57-071d-49e7-bee8-d57a999feb9f",
"request_ref": "jbkpyzujvXZioVqoMNuj",
"type": "AIRTEL VTU",
"details": "AIRTEL VTU Airtime #50 sent to 09040628283",
"amount": "50.00",
"status": "successful",
"request_data": {
"phone": "09040628283",
"product_id": 16,
"amount": "50",
"is_mtn_awuf": false,
"request_ref": "jbkpyzujvXZioVqoMNuj"
},
"created_at": "2024-05-27T14:45:26.000000Z",
"gateway_id": null,
"phone": "09040628283",
"logs": []
}
}
}