KENT STORE Reseller API

Buy any product from @KentStoreebot automatically from your own bot or website. Prices are the same as in the shop. Money is taken from your bot balance.

Base URL
https://46-101-122-59.sslip.io/api/v1

Authentication — every request needs your key:
Authorization: Bearer ks_live_...
Get the key in the bot: menu button 🔌 Reseller API. Keep it secret — anyone with it can spend your balance. If it leaks, create a new key in the bot (the old one stops working at once).

Quick start

curl https://46-101-122-59.sslip.io/api/v1/balance -H "Authorization: Bearer YOUR_KEY"

curl https://46-101-122-59.sslip.io/api/v1/products -H "Authorization: Bearer YOUR_KEY"

curl -X POST https://46-101-122-59.sslip.io/api/v1/orders \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-order-000123" \
  -d '{"productId": 12, "quantity": 1}'

Endpoints

GET/balance

{"balance": 25.4, "currency": "USD"}

GET/products

All products on sale. Optional: ?category=3, ?details=1 (adds description and rules).

{"data": [{"id": 12, "name": "ChatGPT Plus 1 month", "category": "AI", "categoryId": 3,
           "price": 4.5, "currency": "USD", "stock": 17, "inStock": true, "maxQuantity": 50}],
 "total": 1}

GET/products/{id}

One product with description and rules (warranty / usage terms).

POST/orders

Body: {"productId": 12, "quantity": 1}. Header Idempotency-Key is required: a unique string (8–128 chars: letters, digits, - _ : .) for each new order, e.g. your own order ID. If the network fails, repeat the request with the same key — you get the same order back and are never charged twice.

HTTP 200
{"id": "KS-7K3F9QP", "status": "delivered", "productId": 12, "productName": "ChatGPT Plus 1 month",
 "quantity": 1, "unitPrice": 4.5, "amount": 4.5, "currency": "USD",
 "keys": ["login:pass ..."], "balance": 20.9, "createdAt": "2026-11-09T16:20:00+00:00"}

If the product comes from a partner and is still being prepared you get HTTP 202 with "status": "pending" and empty keys. Check GET /orders/{id} every 15–30 seconds (do not create a new order).

GET/orders/{id}

Your order by ID (e.g. KS-7K3F9QP). keys are filled when status is delivered.

GET/orders

Your orders, newest first. ?limit=50&page=1 (limit up to 100).

Order statuses

statusmeaning
deliveredDone, items are in keys
pendingPaid, being prepared — check again later, don't re-order
failed / refundedNot delivered, money returned to your balance

Errors

Errors return JSON {"error": "code", "message": "..."}.

HTTPerrorwhat to do
400idempotency_key_required, invalid_request, invalid_quantityFix the request
401missing_api_key, invalid_api_keyCheck the key
402insufficient_balanceTop up in the bot (response has required and balance)
403account_blocked, manual_review_requiredContact support
404product_not_found, order_not_foundRefresh the product list
409out_of_stock, price_changed, idempotency_conflictRefresh product / use a new key for a new order
429rate_limitedMax 120 requests per minute — wait (Retry-After)
503temporarily_unavailable, api_disabledTry again later (no money is taken)

Tips

Support: @KentStoreebot