Developer Portal

LiteWoo Core API.

Enterprise documentation for COD Shield Pro infrastructure, Razorpay verification workflows, and zero-bloat WooCommerce integrations.

Architecture Overview

The LiteWoo Core API powers verification workflows, payment validation, and operational routing for COD Shield Pro integrations.

The infrastructure is designed around stable WooCommerce execution and secure, server-side verification processing.

Protocol: All requests must be transmitted securely over HTTPS. Unencrypted HTTP requests are dropped at the server level.

Authentication

Critical requests require HMAC SHA256 signature validation using your assigned merchant API secret. Requests lacking a valid cryptographic signature are rejected automatically.

PHP Signature Generation
$payload = json_encode([
    'api_key' => 'YOUR_KEY',
    'amount'  => 3.00
]);

$secret = 'YOUR_API_SECRET';
$signature = hash_hmac('sha256', $payload, $secret);

$headers = [
    'Content-Type: application/json',
    'X-LiteWoo-Signature: ' . $signature
];

License Validation

Validates merchant subscriptions, active deployment status, and authorized domains before operational execution begins.

POST /api/license.php
{
  "api_key": "litewoo_client_key",
  "domain": "clientstore.com"
}

Wallet Charge

Handles operational balance deductions after successful verification workflows. Modifies the client ledger securely.

POST /api/wallet-charge.php
{
  "api_key": "litewoo_client_key",
  "amount": 3.00,
  "service_type": "cod_verification"
}

Response Codes

Status Meaning
200 Request processed successfully.
401 Authentication failed or signature invalid.
403 Access denied or domain mismatch detected.
429 Request rate limit exceeded.