Liana Official API Docs

v1.0 · demo
⚠️
Demo credentials — These API keys are for testing only. Do not use in production. Replace with your live keys from the Liana partner dashboard.

🔑 X-API-KEY (demo)

liana_test_7d8f2b1e9c3a5f7e2d4b6c8a0f1e3d5b7c9a2e4f

🔒 X-API-SECRET (demo)

liana_sec_f60ffa94c407d0d271a7381031b5689c9a6a6806_demo

📡 Base URL

https://api.lianaofficial.com/v1

💰 1. Get Wallet Balance

GET /wallet/balance
{
    "status": "success",
    "balance": 2540.75,
    "currency": "Liana Coins"
}

📦 2. Fetch Products

GET /catalog/products
{
    "status": "success",
    "products": [
        {
            "id": 17,
            "name": "MLBB 86 Diamonds",
            "liana_coins": 170,
            "wc_variation_id": 452,
            "game": "Mobile Legends"
        },
        {
            "id": 23,
            "name": "Free Fire 100 Diamonds",
            "liana_coins": 95,
            "wc_variation_id": 223,
            "game": "Free Fire"
        }
    ]
}

✅ 3. Verify Player IGN

POST /verify/player

Body parameters (JSON):

variation_id (int) – product variation ID

uid (string) – player user ID

zone_id (string, optional) – server/zone ID (if required)

{
    "variation_id": 452,
    "uid": "12345678",
    "zone_id": "1234"
}

Example response:

{
    "status": "success",
    "valid": true,
    "nickname": "ProGamer_77",
    "profile_picture": null
}

🛒 4. Place Order

POST /orders/create
{
    "variation_id": 452,
    "uid": "12345678",
    "zone_id": "1234",
    "qty": 1
}

Successful order response:

{
    "status": "success",
    "order_id": "LIA-78462391",
    "amount_charged": 170,
    "estimated_delivery": "instant"
}

⚠️ Error handling

{
    "status": "error",
    "message": "Insufficient Liana Coins balance",
    "code": 402
}

🔍 Need help?

Visit the Liana Developer Portal for full documentation, webhook examples, and SDKs.