Skip to main content
POST
/
v1
/
airtime
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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Airtime purchase details.

recipient_phone
string
required

Phone number of the recipient in E.164 format

recipient_network
string
required

Network of the recipient

amount
string
required

Amount of airtime to be sent

reference
string

Unique reference for the transaction

webhook_url
string

URL to receive status updates

Response

Airtime sent successfully

transaction_id
string

Unique identifier for the airtime purchase

status
string

Status of the airtime purchase