POST
/
api
/
v1
/
purchase
/
airtime
Buy Airtime
curl --request POST \
  --url https://api.dojah.io/api/v1/purchase/airtime \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "<string>",
  "destination": "<string>"
}'
{
  "entity": {
    "status": "Sent",
    "mobile": "+2348109152844",
    "amount": "NGN 200.0000"
  }
}
AppId
string
required
Application ID from dashboard

BODY PARAMS

amount
string
required
amount of airtime
destination
string
required
number to receive the airtime e.g 2348012345678

RESPONSES

200
json
json
400
Object
401
Object
{
  "entity": {
    "status": "Sent",
    "mobile": "+2348109152844",
    "amount": "NGN 200.0000"
  }
}