Skip to main content
GET
/
v1
/
airtime
/
{referencecode}
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

referencecode
string
required

Reference code for the airtime transaction.

Response

Airtime status successfully

success
boolean

Indicates whether the SMS request was successful

status
integer

Status of the SMS message

Example:

200

message
string

Text message that was sent

Example:

"Airtime status retrieved successfully"

data
object[]

Array of details for each recipient