Reseller API Documentation
Powering Ghana's automated data delivery infrastructure.
Scale Your Business Today
REGISTER RESELLER ACCOUNTYour API Key is available immediately after login.
Everything You Can Do as a Reseller
API Key Management
Generate your own API key to process orders, integrate into your website, or automate your sales system.
Developer Sandbox
Use your test API key to simulate successful orders and payments without using real wallet funds or MoMo.
Instant Wallet Loading
Load your wallet directly on the platform using Paystack to ensure you never run out of credit.
Pay & Order (No Wallet Needed)
Allow your customers to pay directly on your platform. Once payment is successful, data is delivered instantly without manually funding your wallet.
Manual & Bulk Orders
Buy data directly from your account. Support for individual manual orders or massive bulk data orders.
Real-time Webhooks
Receive instant POST notifications to your server whenever the status of your data order changes.
Authentication & Environments
Your environment is automatically determined by your API key prefix.
| Environment | API Key Prefix | Outcome |
|---|---|---|
| Sandbox | nd_test_xxxxxx |
Simulation mode. No wallet charges. No real data sent, but records are inserted into the database as delivered for testing. |
| Live | nd_live_xxxxxx |
Real Mode. Charges wallet. Sends actual data to phone. |
| Pay & Order | nd_live_xxxxxx |
Zero Wallet Balance: No wallet funding needed. We handle the payment via Paystack, and your profit is automatically sent to you.
Click here for Pay & Order details |
Required Headers for all requests:
- ✅ x-api-key: YOUR_API_KEY
- ✅ Content-Type: application/json
- ✅ Accept: application/json
Data Plans & Three-Tier Pricing
https://onlinesmsnotifygh.com/api/reseller/plans
Our Pricing Tiers
Agent Price
Standard entry-level ratesDefault Price
Mid-tier testing ratesReseller Price
Exclusive lowest ratesPricing & Activation Guide
Initial Account Setup
By default, your list is empty or you will get the agent prices. Contact Admin to receive Default Testing Prices.
System Testing
Run API tests with default prices to ensure your integration is 100% stable.
Go Live with Reseller Rates
Once verified, we activate your Reseller Prices the lowest rates on our system.
Wallet Balance
Check your current GHS balance. (Sandbox keys return a static value of 99,999.00).
GEThttps://onlinesmsnotifygh.com/api/reseller/wallet
Place Data Order
Use this endpoint to trigger a data purchase.
placed immediately, but no data will be delivered.
https://onlinesmsnotifygh.com/api/reseller/order
{
"package_id": 16,
"phone_number": "0240000000",
"network": "MTN"
}
Example Sandbox Response:
{
"status": "success",
"reference": "TEST_API_1775642298260",
"mode": "sandbox"
}
Data Order Status
Retrieve order details using the reference number.
POSThttps://onlinesmsnotifygh.com/api/reseller/order/status/{reference}
{
"status": "success",
"data": {
"reference": "REF65249619998",
"phone_number": "0545506....",
"network": "MTN",
"order_status": "delivered",
"mode": "live",
"created_at": "2025-10-08 09:38:42"
}
}
Order Status Definitions
🔥 Pay & Order (No Wallet Needed)
Integrate directly into your customer checkout. Sandbox Mode available using test keys.
POSThttps://onlinesmsnotifygh.com/api/reseller/initialize-payment
{
"email": "customer@email.com",
"package_id": 16,
"phone_number": "0240000000",
"network": "MTN",
"client_price": 12,
"user_id": 5
}
Example Sandbox Response:
{
"status": true,
"type": "redirect",
"authorization_url": "https://onlinesmsnotifygh.com/sandbox/success/TEST_2w2v2uqb4x",
"reference": "TEST_2w2v2uqb4x",
"mode": "sandbox"
}
authorization_url will redirect to a simulated success page instead of Paystack checkout.
Transaction Status from Paystack
POSThttps://onlinesmsnotifygh.com/api/reseller/payment-status/{reference}
{
"status": "success",
"payment": {
"reference": "TEST_yk70g13....",
"amount": "5.10",
"gateway": "paystack",
"status": "success",
"mode": "sandbox"
},
"order": {
"id": 147,
"phone_number": "0248000000",
"network": "MTN",
"status": "delivered"
}
}
Webhooks (Real-time Notifications)
Instead of polling the status endpoint, configure a Webhook URL in your dashboard to receive instant POST updates.
200 OK status. We will retry up to 3 times if your server is unreachable.
Testing with Webhook.site
- Go to Webhook.site and copy your unique URL.
- Paste it into your Dashboard > Developer Access webhook settings.
- Use the API Tester below to place a Sandbox order.
- Watch the POST request arrive instantly on Webhook.site!
Event Payload (JSON)
{
"reference": "TEST1775880958226",
"order_id": 15071,
"status": "placed",
"phone_number": "0248189335",
"network": "MTN",
"signature": "bb09c8606002af8fd1719a18a4dceb9f232e0ea36aeb927ade5e0fc47acd1d41"
}
Retry Policy
- Attempt 1: Immediate on status change.
- Attempt 2: 5 minutes after first failure.
- Attempt 3: 15 minutes after second failure.
API Live Tester
{}