Dashboard
Wallet Balance
GHāµ 0.00
Click + to top up your wallet
Total Orders
0
Pending Orders
0
Processing Orders
0
Completed Orders
0
Quick Actions
Select an action to proceed
Top Up
Add funds to your wallet
Buy Data
Purchase data bundles
Orders
View your orders
Payments
Transaction history
Order Analytics
Profile Settings
ActiveSecurity
Account Security
For password changes or account modifications, please contact support directly for assistance.
My AFA Registrations
No AFA Registrations Found
Your AFA registration history will appear here once you make any.
| Order ID | Full Name (AFA) | Phone (AFA) | Ghana Card | Occupation | Amount | Date & Time | Status |
|---|
Total Orders
Completed Orders
No Orders Found
We couldn't find any orders to display at the moment.
| Order ID | Type | Network | Phone Number | Data Size | Amount | Date & Time | Status | Actions |
|---|
Results Checker
Purchase BECE or WAEC result checker pins. The serial number and PIN will be displayed after successful purchase.
Pending Top-ups
Completed Top-ups
My Top-up History
No Top-up History
You haven't made any top-ups yet for the selected period.
API Management
API Access Disabled
Contact support to enable API access
API Ready
Your API is active and ready to use
No API Key Generated
Generate an API key to start integrating with external applications
API access must be enabled first
Your API Key
Generated: N/A
Usage Stats
Note: Usage stats require a backend system to track API calls. These values are placeholders for a Firestore-only setup.
Complete integration guide for developers
API Information
Place Order Request Structure:
POST /api/place-order
Headers: {
"Content-Type": "application/json",
"X-API-Key": "gp_live_xxxxxxxxxxxx"
}
Body: {
"network": "MTN" | "TELECEL" | "AT",
"phoneNumber": "233XXXXXXXXX",
"packageId": "package_id_from_services"
}
Get available packages from the /api/services endpoint.
Available Endpoints
- POST
/api/place-order- Place a data bundle order - GET
/api/services- Get available packages - GET
/api/check-order-status-external?orderId=xxx- Check order status
All requests must include your API key in the X-API-Key header.
API Examples (cURL)
POST Place Order
Place a data bundle order for a customer
curl -X POST "https://dataplug-eight.vercel.app/api/place-order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"network": "MTN",
"phoneNumber": "0241234567",
"dataSize": "1GB"
}'
{
"success": true,
"message": "Order placed successfully",
"data": {
"orderId": "API-M1234ABC-XYZ789",
"displayOrderId": "123456",
"network": "MTN",
"phoneNumber": "0241234567",
"package": {
"dataSize": "1GB",
"name": "1GB Data",
"price": 5.00
},
"status": "pending",
"newBalance": "45.00"
}
}
GET Get Available Services
Retrieve all available data packages
curl -X GET "https://dataplug-eight.vercel.app/api/services" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"message": "Available packages retrieved successfully",
"data": {
"totalPackages": 15,
"packages": {
"MTN": [...],
"TELECEL": [...],
"AT": [...]
}
}
}
GET Check Order Status
Check the status of an existing order
curl -X GET "https://dataplug-eight.vercel.app/api/check-order-status-external?orderId=API-M1234ABC-XYZ789" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"message": "Order status retrieved successfully",
"data": {
"orderId": "API-M1234ABC-XYZ789",
"displayOrderId": "123456",
"status": "completed",
"network": "MTN",
"phoneNumber": "0241234567",
"package": "1GB Data",
"price": 5.00,
"createdAt": "2025-01-15T10:30:00.000Z"
}
}
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request - Missing or invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 402 | Payment Required - Insufficient balance |
| 404 | Not Found - Package or order not found |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Security Best Practices
- Never share your API key publicly
- Store your API key securely in environment variables
- Always use HTTPS for production requests
- Monitor your API usage regularly
- Regenerate key immediately if compromised
Packages
Select a networkSelect a network to view packages.
No Data Bundles Available
It looks like there are no bundles to display for this network at the moment. Please check back later!
Store Setup
Configure your merchant store to start selling data bundles
Store Information
Store Branding
Business Hours
Store Orders
Total Orders
0
Pending
0
Completed
0
Total Revenue
GHS 0.00
| Order ID | Customer | Product | Phone | Amount | Profit | Date | Status |
|---|---|---|---|---|---|---|---|
|
No orders yet |
|||||||
Store Customers
Total Customers
0
Active Customers
0
Avg Order Value
GHS 0.00
| Name | Phone | Total Orders | Total Spent | Last Order | Status |
|---|---|---|---|---|---|
|
No customers yet |
|||||
Add Products to Your Store
Select data packages and set your selling prices
| Package | Network | Cost Price | Your Selling Price | Profit Margin | Action |
|---|---|---|---|---|---|
|
Loading packages... |
|||||
My Store Products
| Package | Network | Cost Price | Selling Price | Profit | Status | Actions |
|---|---|---|---|---|---|---|
|
No products added yet |
||||||
Store Payout
Available Balance
GHS 0.00
Total Revenue
GHS 0.00
Total Withdrawn
GHS 0.00
Pending Payout
GHS 0.00
Request Withdrawal
Minimum withdrawal amount: GHS 5.00
Withdrawal History
| Request ID | Amount | Date Requested | Status | Date Paid |
|---|---|---|---|---|
|
No withdrawal history |
||||