Endpoints
| Method |
Path |
Use |
GET |
/ |
Verification webpage |
POST |
/callback |
Form and RapidX installer callback |
GET/POST |
/api/verify |
JSON-only verification |
GET |
/docs |
This documentation |
GET |
/health |
Health check |
RapidX - Ride Booking and Food Delivery Flutter App With Laravel Admin Panel · item ID 63897539
POST /callback
Used by the RapidX installer. Send Accept: application/json for JSON. The webpage form also posts here.
POST https://api.rapidcodes.io/callback
Content-Type: application/json
Accept: application/json
{
"purchase_code": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"domain": "admin.yourdomain.com"
}
GET or POST /api/verify
JSON-only. Does not store a domain activation.
curl -X POST https://api.rapidcodes.io/api/verify \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"purchase_code":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}'
Success
{
"success": true,
"valid": true,
"product": "rapidx",
"item": {
"id": 63897539,
"name": "RapidX - Ride Booking and Food Delivery Flutter App With Laravel Admin Panel",
"url": "https://codecanyon.net/item/..."
},
"license": "Regular License",
"buyer": "envato_username",
"purchase_count": 1,
"sold_at": "2026-07-10T12:00:00+10:00",
"supported_until": "2026-12-10T12:00:00+10:00",
"support_active": true,
"domain": "admin.yourdomain.com"
}
Error
{
"success": false,
"valid": false,
"error": "invalid_purchase_code",
"message": "This purchase code is not valid.",
"product": "rapidx"
}
| error |
Meaning |
missing_purchase_code |
No code was sent |
invalid_purchase_code |
Envato does not recognize the code |
item_mismatch |
Valid code, but not RapidX |
rate_limited |
Too many requests from this IP |
RapidX installer (PHP)
$payload = json_encode([
'purchase_code' => $purchaseCode,
'domain' => $_SERVER['HTTP_HOST'] ?? '',
]);
$ch = curl_init('https://api.rapidcodes.io/callback');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $payload,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'Accept: application/json',
],
CURLOPT_TIMEOUT => 20,
]);
$response = json_decode((string) curl_exec($ch), true);
curl_close($ch);
if (empty($response['valid'])) {
throw new RuntimeException($response['message'] ?? 'License check failed');
}