cURL
curl --request GET \ --url https://api.delaphonegh.com/v1/airtime/{referencecode} \ --header 'Authorization: Bearer <token>'
{ "success": true, "status": 200, "message": "Airtime status retrieved successfully", "data": [ { "message_id": "<string>", "status": "<string>", "recipient_phone": "<string>", "recipient_network": "<string>", "date_created": "<string>", "amount": "<string>" } ] }
Retrieve the purchase history of airtime with a reference code.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Reference code for the airtime transaction.
Airtime status successfully
Indicates whether the SMS request was successful
Status of the SMS message
200
Text message that was sent
"Airtime status retrieved successfully"
Array of details for each recipient
Show child attributes
Unique identifier for the message
The recipient's phone number
Date and time the message was sent
Amount purchased