> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vtulab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Purchase Data

> Buy a data bundle for a specific phone number.

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`.

<RequestExample>
  ```bash cURL theme={null}
  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"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "status": true,
    "message": "Data purchase successful",
    "data": {
      "transaction": {
        "reference": "DATA_65E8F...",
        "status": "success",
        "amount": 150,
        "description": "MTN 1GB SME Data to 08123456789"
      }
    }
  }
  ```
</ResponseExample>
