API Documentation & Developer Hub
v2.0 REST SpecsBuild high-performance telecom applications, automated VTU stores, and wallet systems using our secure REST endpoints.
Authentication & API Credentials
All requests toapi.azabazaar.com must include your Bearer Token in headers.
Keep your API key strictly secure. Never expose it in client-side mobile apps or public repositories.
API Endpoints & Code Snippets
Base Gateway:https://api.azabazaar.com
GET
/wallet/balance
Fetch real-time available balance from your vault
curl -X GET "https://api.azabazaar.com/wallet/balance" \
-H "Authorization: Bearer azb_live_e8f7eb6f5430d896fa332a8f5a22077e378e67687833bf9773625a5d7de0e305" \
-H "Accept: application/json"
POST
/vtu/purchase
Instantly vend data bundles or airtime
curl -X POST "https://api.azabazaar.com/vtu/purchase" \
-H "Authorization: Bearer azb_live_e8f7eb6f5430d896fa332a8f5a22077e378e67687833bf9773625a5d7de0e305" \
-H "Content-Type: application/json" \
-d '{
"service_category": "data",
"phone": "08031234567",
"service_id": "7c53ec7d-ad49-11f1-bb13-0200004e9ba4",
"network_id": 1
}'