High-speed data bundles and digital solutions.
No account? Create one
Have an account? Sign In
Include your API Key in the request header:
x-api-key: YOUR_API_KEY
GET https://ggonlineservices.com/api/external/balance
{
"status": "success",
"balance": 150.00,
"currency": "GHS"
}
GET https://ggonlineservices.com/api/external/plans
{
"status": "success",
"plans": [
{ "id": 1, "network": "MTN", "size": "1GB", "price": 4.50 },
{ "id": 2, "network": "Telecel", "size": "2GB", "price": 9.00 }
]
}
POST https://ggonlineservices.com/api/external/place-order
JSON Body Parameters:
network: Network Name (e.g., "MTN")phone: Recipient Phone Numbersize: Bundle Size (e.g., "1GB")ref_id: (Optional) Your Unique Reference
// Request
{
"network": "MTN",
"phone": "054xxxxxxx",
"size": "1GB",
"ref_id": "txn_12345"
}
// Response
{
"status": "success",
"message": "Order placed successfully",
"order_id": 105,
"new_balance": 145.50
}