Skip to content
Reference

Reseller API

Every store answers on its own domain at /api/index.php. Requests are form posts; replies are JSON.

14-day free trial Dhru-compatible API Your own domain
POST /api/index.php — placeimeiorder
// reply
{
  "SUCCESS": [{
    "MESSAGE": "Order received",
    "REFERENCEID": "48214"
  }]
}

// later, your callback URL receives
status=COMPLETED&reply=UNLOCKED
X-CF-Signature ✓

Authentication

FieldWhat to send
usernameThe API username shown with the key
apiaccesskeyThe key itself (keep it on your server)
actionOne of the actions below
requestformatJSON
parametersBase64 of a JSON object with the action's fields (flat form fields also work)

Actions

ActionDoes
accountinfoBalance, currency, email
imeiservicelistIMEI services with your prices and required fields
serverservicelistServer services
fileservicelistFile services
placeimeiorderPlace an order (ID = service id, IMEI and any extra fields)
getimeiorderOne order's status and result (ID = order reference)
imeiorderlistRecent orders

Order statuses

StatusMeaning
PENDING / PROCESSINGAccepted and on its way
COMPLETEDDone — the result is in the reply
REJECTEDThe supplier refused; the store may refund your wallet
CANCELLED / REFUNDEDClosed and refunded
Interactive docs on every store Each store also serves an OpenAPI page at /api/docs on its own domain. Next: result callbacks

Keep exploring