Resell BWM XMD services programmatically. Social media boosting, bot deployment, panel and VPS provisioning. One API key, live dashboard prices, XD wallet billing.
Where to get your key, the base URL and how to authenticate.
https://pro.bwmxmd.co.ke/api/v1textSend your key on every request via one of:
Authorization: Bearer bwm_live_xxxxxxxxxxxxxxxx
x-api-key: bwm_live_xxxxxxxxxxxxxxxxhttpEvery successful action (order, deploy, provision) debits XD from your BWM XMD wallet at the same live price shown in the dashboard. Read-only calls are free.
If your balance is zero or below the price, the API returns 402 Insufficient XD balance and no order is placed.
If we charge you but downstream provisioning fails, the XD is automatically refunded.
Every response includes balance_after and charged_xd so you can show a live balance to your own users.
All endpoints return JSON with success and either data or error.
Start here. Before you sell anything, make sure your API key works and your XD wallet has money.
Every paid API call debits XD from your BWM XMD wallet at live dashboard prices. Read only (GET) calls are free. Top up in your dashboard before you start selling.
Sign in, open API key in your dashboard (/api-key) and click Generate API key. Copy it once, it will never be shown again. Store it as a secret on your server, never in front end code.
Authorization: Bearer bwm_live_xxxxxxxxxxxxxxxx
x-api-key: bwm_live_xxxxxxxxxxxxxxxxhttpIf this works, everything is wired correctly.
curl "https://pro.bwmxmd.co.ke/api/v1/account/balance" \
-H "Authorization: Bearer <YOUR_API_KEY>"curl{
"success": true,
"data": { "username": "reseller01", "wallet_balance_xd": 1250, "currency": "XD" }
}jsonUse GET /account/orders to fetch your last 200 API calls with status codes and XD charged. Perfect for an audit log inside your reseller panel.
/account/balanceCheck your XD wallet balance and how many API calls you have made. Add ?currency=USD (or KES, TZS, UGX, GHS, USD) - or set a preferred currency on your profile - to also receive the balance in your local currency.
curl "https://pro.bwmxmd.co.ke/api/v1/account/balance" \
-H "Authorization: Bearer <YOUR_API_KEY>"curl{
"success": true,
"data": {
"username": "reseller01",
"wallet_balance_xd": 1250,
"referral_balance_xd": 50,
"currency": "XD",
"local_currency": "USD",
"local_country": "Nigeria",
"local_symbol": "$",
"wallet_balance_local": 21406.7,
"referral_balance_local": 856.27,
"api_usage": {
"total_requests": 87,
"last_used_at": "2026-07-06T10:15:00Z"
}
},
"balance_after": 1225,
"charged_xd": 25
}json/account/ordersList of your last 200 API calls with status codes and XD charged. Useful for building an audit page on your reseller site.
curl "https://pro.bwmxmd.co.ke/api/v1/account/orders" \
-H "Authorization: Bearer <YOUR_API_KEY>"curl{
"success": true,
"data": {
"orders": [
{
"endpoint": "/services/order",
"method": "POST",
"status_code": 200,
"xd_charged": 25,
"created_at": "2026-07-06T10:15:00Z"
}
]
},
"balance_after": 1225,
"charged_xd": 25
}json| Code | Name | Meaning |
|---|---|---|
| 200 | OK | Success |
| 400 | Bad Request | Missing or invalid parameters |
| 401 | Unauthorized | Missing or invalid API key |
| 402 | Payment Required | Insufficient XD balance in your wallet |
| 403 | Forbidden | Key disabled or account blocked |
| 404 | Not Found | Endpoint or resource does not exist |
| 500 | Server Error | Unexpected error, please retry |
| 502 | Upstream Failed | Order failed downstream. Your XD was refunded automatically. |