NetConnect API
Catalog

Get Package Details

Return one package with effective pricing and catalog context.

live·playground

Endpoint

GET /api/v1/packages/{packageId}

Path parameters

ParameterTypeRequiredNotes
packageIdpackages idYesPackage identifier

Response

Returns a single package object:

{
  "success": true,
  "data": {
    "_id": "kn76jer7k08d2nrg8jphjvy07183gvs4",
    "dataAmount": "1GB",
    "label": "1GB",
    "operatorId": "kd7ff6sssan1v3d00dbbttwaa57yp27d",
    "operatorName": "MTN",
    "price": 4.5,
    "productId": "m176bnddfzcp42fyhkaekker5s83gehh",
    "productName": "MTNUP2U - Data Bundle",
    "status": "Active",
    "validity": "90"
  }
}

Response fields

FieldTypeNotes
_idstringPackage identifier
labelstringPackage display label (e.g. "1GB")
dataAmountstringBundle size (e.g. "1GB", "5GB")
validitystringValidity period in days (e.g. "90")
pricenumberEffective price for authenticated role
operatorIdstringParent operator ID
operatorNamestringOperator name (e.g. "MTN")
productIdstringParent product ID
productNamestringProduct type (e.g. "MTNUP2U - Data Bundle")
statusstringActive or Inactive

Errors

  • 404 - Package not found

Sample request

GET/api/v1/packages/q34examplepackagetry·it·live
path parameters
query parameters
— none —
⚠ no api key set — request will use placeholder
curl -X GET "https://api.netconnectgh.online/api/v1/packages/q34examplepackage" \
  -H "X-API-KEY: netconnect_live_your_secret_here" \
  -H "Content-Type: application/json"

On this page