Automate Digital Orders & Real-Time Stock Pipelines
Integrate external Telegram bots, reseller storefronts, and automated credential harvesters directly with EM Online Store using Bearer API keys, atomic SQLite stock locking, and idempotent settlement.
Authorization: Bearer em_live_...
Rate Limit: 120 req / 60s
API Key Vault
Checking session...None
ElevenLabs Creator — Automated Product & Stock Blueprint
View Listing on MarketLive reference for purchasing ElevenLabs Creator — 3 Months (100k Credits) units programmatically or pushing freshly verified accounts straight into the instant-delivery vault.
# 1. Check live ElevenLabs product stock & price
curl -s "https://emonlinestore.com/api/v1/products?brand=elevenlabs"
# 2. Instant programmatic purchase (atomic stock pop + Idempotency-Key)
curl -X POST "https://emonlinestore.com/api/v1/order" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: ord-elevenlabs-0001" \
-H "Content-Type: application/json" \
-d '{"product_id": 1, "quantity": 1}'
# 3. Seller / Harvester: append verified ElevenLabs accounts into stock vault
curl -X POST "https://emonlinestore.com/api/v1/stock/add" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": 1,
"mode": "append",
"deduplicate": true,
"items": ["[email protected]:StrongPass#1:[email protected]"]
}'
Live API Request Tester
Execute real read-only probes against production endpoints using your active session or pasted API key.
{
"hint": "Click 'Send Live Request' to inspect the live response."
}
Endpoint Reference
All responses include "ok": true, "success": true on HTTP 2xx and structured "error" + "code" fields on 4xx/5xx.
Returns caller wallet balance in USDT, reseller tier, fee percentage, and Telegram verification status.
{
"ok": true,
"user_id": 2,
"username": "bummuku",
"balance_usdt": 25.0,
"currency": "USDT",
"reseller_tier": "diamond",
"seller_fee_pct": 0.0,
"tg_linked": true
}
Lists active marketplace products with real-time stock counts. Filter via query parameters:
| Parameter | Type | Description |
|---|---|---|
brand | string | Filter by brand slug, e.g. elevenlabs, chatgpt, nordvpn. |
seller | string | Filter by seller username (e.g. bummuku) or numeric user ID. |
q | string | Case-insensitive keyword search across title, description, and brand. |
in_stock | integer | Pass 1 to return only products with in_stock > 0. |
Atomically deducts wallet USDT balance, pops unique credentials from the product vault, and returns delivered lines immediately.
| Body Field | Type | Description |
|---|---|---|
product_id | integer (required) | Target product / listing ID (e.g. 1 for ElevenLabs Creator). |
quantity | integer (default 1) | Number of unique units to purchase (1–100). |
auto_confirm | boolean (default false) | If true, settles escrow payout to seller immediately upon instant credential delivery. |
Retrieves paginated purchase history or a specific order (DSK-XXXXXX), including previously delivered credentials and 6-digit escrow confirmation code.
Confirms satisfactory delivery of an escrow-protected order and releases funds to the seller's wallet.
Appends or replaces automated delivery credentials for a seller's product. Automatically deduplicates lines and triggers Telegram back-in-stock alerts to waitlisted buyers.
| Body Field | Type | Description |
|---|---|---|
product_id | integer (required) | Your listing ID (e.g. 1). |
items | string[] | Array of credential lines (e.g. ["email:pass:recovery"]). Also accepts newline string text. |
mode | string | "append" (default) or "replace". |
deduplicate | boolean | true (default) skips lines already present in the unsold queue. |
Updates price, title, description, instructions, or status ("active" / "paused"). Create new products via POST /api/v1/seller/products.
Inspect unsold stock via GET /api/v1/seller/products/{product_id}/stock or purge unsold stock via DELETE (or POST /api/v1/stock/clear).
Rate Limits, Idempotency & HTTP Status Codes
| HTTP Code | Machine Code | Meaning & Recovery Action |
|---|---|---|
| 200 / 201 | ok | Request succeeded; mutation committed to SQLite WAL. |
| 401 | invalid_api_key | Missing or revoked key. Pass Authorization: Bearer em_live_.... |
| 402 | insufficient_balance | Top up USDT (BEP-20 / Polygon / Binance Pay) at /wallet. |
| 409 | out_of_stock | Requested quantity exceeds live vault stock, or Idempotency-Key payload mismatch. |
| 429 | rate_limited | Sliding limit (120 req / 60s) reached. Back off for Retry-After seconds. |