Connect platforms, resellers and suppliers.
Our own signed protocol for trading between platforms, free SDKs in four languages, and compatibility with the software your resellers already use.
The SHRU Cloud API
Our own protocol for trading between platforms and with resellers. Every request is signed with HMAC-SHA256 and time-limited, the catalogue sync arrives with tier prices already applied, and a retried order returns the original instead of billing twice. SHRU Cloud platforms can buy from each other directly.
For software built on other systems, your platform also answers as a Dhru Fusion API, and connects to Dhru Fusion, Dhru Pro and GSMTheme suppliers.
SDKs for PHP, Node.js, Python and .NET
Dependency-free clients for catalogue sync, orders and status checks, with the same calls in every language. MIT licensed.
Reseller Starter
A ready web app and command-line tool for buying from any SHRU Cloud platform.
Provider Starter
Run your own supplier panel that speaks the SHRU protocol, with no database needed.
use ShruCloud\Client; $client = new Client( 'https://yourbrand.com', 'YOUR_KEY_ID', 'YOUR_HMAC_SECRET' ); $services = $client->syncServices(); $order = $client->placeOrder( $services[0]['id'], '356789101234567' ); $status = $client->checkStatus($order['order_id']);
curl -X POST https://yourbrand.com/api/index.php \ -d "username=your-username" \ -d "apiaccesskey=YOUR_API_KEY" \ -d "action=accountinfo" Supported actions accountinfo imeiservicelist placeimeiorder getimeiorder
POST /api/shru Host: yourbrand.com Content-Type: application/json X-Key-Id: YOUR_KEY_ID X-Timestamp: 1790828142 X-Signature: HMAC-SHA256(secret, "POST\n/api/shru\n{timestamp}\n{body}") {"action": "submit_order", "service_id": 42, "input": "356789101234567"}
Everything an integrator needs
Endpoints, signing with a test vector, every action and every reply, with copy-ready code.