Complete API documentation for Grameenphone, Robi, Airtel, Banglalink, and Teletalk mobile recharge services in Bangladesh. Integrate secure, real-time recharge APIs with comprehensive guides, code examples, and developer tools.
Boost your business with our professional mobile recharge API! Our comprehensive Recharge API allows you to seamlessly integrate mobile recharge functionality into your applications. With endpoints for recharging, checking status, retrieving available drives, and checking your balance, you can provide a complete recharge experience to your users.
Bank-level security with encrypted transactions
Instant recharge processing in seconds
99.9% uptime with robust infrastructure
Competitive rates and commission structure
Get your API credentials from the dashboard
Choose your integration method (REST API, SDK, or Webhook)
Test with our sandbox environment
Go live and start processing recharges
// Node.js Example const axios = require('axios'); const rechargeAPI = async (number, amount, operator) => { try { const response = await axios.post('https://api.successtopup.com/api/recharge', { number: number, type: 'prepaid', operator: operator, amount: amount, trxid: Date.now().toString(), successtopup_key: 'YOUR_API_KEY', successtopup_secret: 'YOUR_API_SECRET' }, { headers: { 'Content-Type': 'application/json' } }); return response.data; } catch (error) { console.error('Recharge failed:', error.response?.data || error.message); throw error; } }; // Usage rechargeAPI('01712345678', 50, 'GP') .then(result => console.log('Success:', result)) .catch(error => console.error('Error:', error));
Replace YOUR_API_KEY
and YOUR_API_SECRET
with your actual credentials. Install required dependencies: npm install axios
for Node.js,pip install requests
for Python.
API endpoint for recharge
https://api.successtopup.com/api/recharge
Parameter | Description |
---|---|
number | Mobile number to recharge |
type | prepaid, postpaid (use 'prepaid' for Skitto) |
operator | One of: BL, GP, RB, AT, TT, SK |
amount | Amount >= 20 (optional when using package_id) |
package_id | Drive ID (required for drive purchases) |
trxid | Unique transaction ID |
successtopup_key | Your API key |
successtopup_secret | Your API secret |
Content-Type: application/json
{ "result": true | false, "message": "Recharge successful" }
API endpoint for status check
https://api.successtopup.com/api/recharge/status
Parameter | Description |
---|---|
trxid | Transaction ID from recharge |
successtopup_key | Your API key |
successtopup_secret | Your API secret |
Content-Type: application/json
{ "result": true | false, "status": "Success" | "Pending" | "Failed" }
API endpoint for get drives
https://api.successtopup.com/api/drives
Parameter | Description |
---|---|
operator | Operator code (optional) |
successtopup_key | Your API key |
successtopup_secret | Your API secret |
Content-Type: application/json
{ "result": true | false, "drives": [ { "driveId": "5837", "commission": 315, "duration": 30, "operator": "BL", "price": 1258, "title": "2000 Min+ UNLIMITED INTERNET- (ALL BD CHECK)" } ] }
API endpoint for balance check
https://api.successtopup.com/api/balance
Parameter | Description |
---|---|
successtopup_key | Your API key |
successtopup_secret | Your API secret |
Content-Type: application/json
{ "result": true | false, "balance": 5446.2, "driveBalance": 0 }
Use a unique trxid
for each request. Keep your API credentials secure and never expose them publicly. Store them in environment variables or secure configuration files.