Introduction
Welcome to the RH Telecom API. Connect your system with us to automate mobile recharges, drive packs, and real-time status monitoring.
API Base URL
http://rhtelecom.top/api/
Authentication
Authentication credentials must be included in the **JSON body** of every POST request.
| Parameter | Type | Description |
|---|---|---|
successtopup_key | String | Your Public API Key. |
successtopup_secret | String | Your Private API Secret. |
POST
Recharge & Drive API
Endpoint: recharge.php
| Param | Req | Description |
|---|---|---|
| number | Yes | 11-digit mobile number |
| amount | Yes | Value in BDT |
| operator | Yes | GP, RB, AT, BL, TT, SK |
| type | Yes | prepaid | postpaid |
| trxid | Yes | Unique transaction ID |
| package_id | No | Required for Drive Pack |
Drive Request Example
{
"number": "017XXXXXXXX",
"amount": 499,
"operator": "GP",
"type": "prepaid",
"package_id": "101",
"trxid": "REF_1712345678",
"successtopup_key": "YOUR_KEY",
"successtopup_secret": "YOUR_SECRET"
}
POST
Drive List API
Endpoint: drives.php
Get all available drives with their Package ID.
{
"operator": "GP",
"successtopup_key": "YOUR_KEY",
"successtopup_secret": "YOUR_SECRET"
}
Live Sandbox (Test API)
// Response will appear here...
Status Check
POST /status.php
{"trxid": "REF123", ...}
Check Balance
POST /balance.php
{"result": true, "balance": 500}