Live • Reseller API v1

NEXT SHOPS Reseller API

Sell all digital products from @Nextshop_official_bot directly on your own Telegram bot or website. Paid automatically from your @Nextshop_official_bot USDT wallet — set your own markup above our prices!

Base URL
https://nextshop.nextapi.online/api/reseller/v1
Authentication Header (required on every request)
Authorization: Bearer ns_live_your_api_key_here

Get your key inside @Nextshop_official_bot → tap API → My API Key.

Try It Right Here (Read-Only)

Response will appear here...

Available Endpoints

EndpointDescription
GET/balanceReturns your current USDT wallet balance.
GET/productsEvery visible product with live stock, pricing & requirements.
GET/student-verificationLive availability, price & quota for Google Student Verification (ID 144).
POST/orderPlaces a real order from your wallet & returns credentials in delivered[].
GET/orders?limit=50Your past orders (newest first, max 200).
GET/order/{order_ref}Re-fetch credentials or poll pending Slot / Verification order status.

Place an Order (POST /order)

curl -X POST https://nextshop.nextapi.online/api/reseller/v1/order \
  -H "Authorization: Bearer ns_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": 157,
    "quantity": 1,
    "idempotency_key": "my-unique-order-1001"
  }'

Optional fields: Send customer_email (comma-separated, 1 per unit) when requires_email: true; send customer_accounts when requires_account: true; send sheerid_urls (1–3 links) for product 144.

Zero Double-Charge: Always send a unique idempotency_key per purchase. Retrying the same key returns the original order with "replayed": true and never charges twice.

Error Codes

HTTPerror_codeMeaning
401AUTH_HEADER_REQUIRED / INVALID_API_KEYMissing or wrong API key.
402INSUFFICIENT_BALANCETop up your USDT wallet in @Nextshop_official_bot.
403KEY_BLOCKED / ACCOUNT_BLOCKEDAPI key or account suspended.
404PRODUCT_NOT_FOUND / ORDER_NOT_FOUNDInvalid product or order reference.
409OUT_OF_STOCKNot enough live stock. Nothing charged.
429RATE_LIMITEDOver 120 requests/min limit.
503API_DISABLED / SERVICE_UNAVAILABLEStore API paused or restocking.