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.

ParameterTypeDescription
successtopup_keyStringYour Public API Key.
successtopup_secretStringYour Private API Secret.
POST

Recharge & Drive API

Endpoint: recharge.php

ParamReqDescription
numberYes11-digit mobile number
amountYesValue in BDT
operatorYesGP, RB, AT, BL, TT, SK
typeYesprepaid | postpaid
trxidYesUnique transaction ID
package_idNoRequired 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}