API Documentation v1.0

Integrate our automated top-up engine into your storefront. All requests must be sent with appropriate JSON headers and your unique API keys.

DEMO MODE: The keys provided below are for sandbox testing only. Real transactions require an approved partnership account.

Authentication

Include your API Key and Secret in the header of every request.

X-API-KEY
mst_3bcede7b8c7eca15627bbe8b
X-API-SECRET
f60ffa94c407d0d271a7381031b5689c9a6a6806

Base URL

https://developer.mested.com/api/v1

1. Get Wallet Balance

Returns the current available balance in your master developer wallet.

GET /balance
{
  "status": "success",
  "balance": 1580.50
}

2. Fetch Products

Get a list of all available games, items, and variation IDs.

GET /products
{
  "status": "success",
  "products": [
    {
      "id": 17,
      "name": "MLBB 86 Diamonds",
      "price": 170,
      "variation_id": 452
    }
  ]
}

3. Verify Player IGN

Check if a Player ID is valid before placing an order to avoid losses.

POST /ign/verify
{
  "variation_id": 452,
  "uid": "12345678",
  "zone_id": "1234"
}

4. Place Order

Execute a top-up. This will deduct the balance immediately upon success.

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