cURL
curl --request POST \ --url https://api.delaphonegh.com/v1/airtime \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "recipient_phone": "<string>", "recipient_network": "<string>", "amount": "<string>", "reference": "<string>", "webhook_url": "<string>" } '
{ "transaction_id": "<string>", "status": "<string>" }
Send airtime to a specified recipient.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Airtime purchase details.
Phone number of the recipient in E.164 format
Network of the recipient
Amount of airtime to be sent
Unique reference for the transaction
URL to receive status updates
Airtime sent successfully
Unique identifier for the airtime purchase
Status of the airtime purchase