Skip to content
Reference

Order callbacks

Set a callback URL on an API key and every status change of that customer's orders is posted to it. No polling needed.

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 ✓

Fields

FieldExample
eventorder.status
referenceidYour order reference
status / previousCOMPLETED / PROCESSING
service, imei, price, currencyThe order details
replyThe result text
timestampISO 8601

Headers

HeaderValue
X-CF-UsernameThe API username
X-CF-SignatureHMAC-SHA256 of the form-encoded body

Keep exploring