Skip to main content
POST
/
vtu
/
data
/
purchase
curl --request POST \
  --url https://api.vtulab.com/v1/vtu/data/purchase \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "network_id": 1,
    "plan_id": 101,
    "phone_number": "08123456789",
    "reference": "unique_ref_123"
  }'
{
  "status": true,
  "message": "Data purchase successful",
  "data": {
    "transaction": {
      "reference": "DATA_65E8F...",
      "status": "success",
      "amount": 150,
      "description": "MTN 1GB SME Data to 08123456789"
    }
  }
}
Purchase a data bundle instantly for any Nigerian mobile number. Ensure your wallet has sufficient balance before making a request in live mode.

Request Body

The request requires the network_id, plan_id (obtained from the catalog), and the recipient’s phone_number.
curl --request POST \
  --url https://api.vtulab.com/v1/vtu/data/purchase \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "network_id": 1,
    "plan_id": 101,
    "phone_number": "08123456789",
    "reference": "unique_ref_123"
  }'
{
  "status": true,
  "message": "Data purchase successful",
  "data": {
    "transaction": {
      "reference": "DATA_65E8F...",
      "status": "success",
      "amount": 150,
      "description": "MTN 1GB SME Data to 08123456789"
    }
  }
}