Developer APIDatawrix Data Bundles API

Welcome, developer

Programmatic access to data bundle purchases. Generate a key, plug it into your app, deliver bundles at scale.

Endpoints4
Networks3
AuthAPI key
Wallet balance (used for API buys)
Your API keys
Loading...
Quick start

Authenticate every request with your API key. Pass it as either Authorization: Bearer ev_live_... or x-api-key header.

curl https://eliteview.shop/v1/balance \ -H "Authorization: Bearer ev_live_YOUR_KEY"
API Reference

GET /api/bundles

List all available networks, sizes, and prices (developer tier).

curl https://eliteview.shop/v1/bundles \ -H "Authorization: Bearer ev_live_YOUR_KEY" # Response { "country": "ghana", "currency": "GHS", "bundles": { "MTN": { "1": 4.5, "2": 9, "5": 28 }, "TELECEL": { "5": 25, "10": 45 }, "AIRTELTIGO": { "1": 5, "5": 23 } } }

GET /api/balance

Check your Datawrix wallet balance (shared with web account).

curl https://eliteview.shop/v1/balance \ -H "Authorization: Bearer ev_live_YOUR_KEY" # Response { "balance": 145.50, "currency": "GHS", "country": "ghana" }

POST /api/buy

Purchase a bundle. Wallet auto-deducted; on provider failure you're auto-refunded.

curl -X POST https://eliteview.shop/v1/buy \ -H "Authorization: Bearer ev_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "phone": "0594401046", "network": "MTN", "bundle_gb": 5 }' # Response (success) { "success": true, "reference": "API_1700000000_ABC123", "status": "processing", "amount": 28, "currency": "GHS", "balance": 117.50 }

GET /api/orders/:reference

Check delivery status of a previous purchase.

curl https://eliteview.shop/v1/orders/API_1700000000_ABC123 \ -H "Authorization: Bearer ev_live_YOUR_KEY" # Response { "reference": "API_1700000000_ABC123", "status": "delivered", "network": "MTN", "phone": "0594401046", "bundle_gb": 5, "amount": 28, "currency": "GHS", "delivered_at": "2026-05-02T15:00:00Z" }

Error codes

All errors return JSON: { "error": "message" }

401 Missing or invalid API key 402 Insufficient wallet balance 400 Invalid phone / network / bundle size 404 Order or bundle not found 502 Provider rejected (you're auto-refunded) 500 Internal error

Networks & validation

Phone numbers must be 10 digits starting with 0. Phone prefixes determine network match.

MTN: 024, 025, 053, 054, 055, 059 TELECEL: 020, 050 AIRTELTIGO: 026, 027, 028, 056, 057