Developer tools · MsConfirmationID.com

API documentation

Choose an API below. Open an endpoint for links and details.

Open these docs from your Telegram API menu for examples with your key filled in, or enter your key below.

REST API · Domain: https://msconfirmationid.com
Header: X-API-Key: YOUR_TOKEN. Reads use GET; actions use POST with Content-Type: application/json.

🛒 Shop API

READ🛍️ Products & prices · products

🛍️ Products & prices :- https://msconfirmationid.com/buy-api/products?limit=20&token=your_api_key_here

Example · Browser URL · GET

https://msconfirmationid.com/buy-api/products?limit=20&token=YOUR_TOKEN

Products grouped by category, account prices, quantity tiers and stock. Use next_after_id as after_id for the next page.

Example · REST · GET

curl "https://msconfirmationid.com/wp-json/tgbt-api/v1/buy/products?limit=20" \
  -H "X-API-Key: YOUR_TOKEN"
ACTION🛒 Buy keys · buy

🛒 Buy keys :- https://msconfirmationid.com/buy-api/buy?code=Product_ID&quantity=Quantity&orderId=Your_unique_order_reference&token=your_api_key_here

Example · Browser URL · GET

https://msconfirmationid.com/buy-api/buy?code=123&quantity=1&orderId=order-001&token=YOUR_TOKEN

Buy 1–100 keys using code (product ID) and quantity. Instant keys are returned; manual products stay processing. Use order to retrieve delivery.

Example · REST · POST

curl -X POST "https://msconfirmationid.com/wp-json/tgbt-api/v1/buy/buy" \
  -H "X-API-Key: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"code":123,"quantity":1,"orderId":"order-001"}'
READ📦 Order details & keys · order

📦 Order details & keys :- https://msconfirmationid.com/buy-api/order?order_number=Order_number&token=your_api_key_here

Example · Browser URL · GET

https://msconfirmationid.com/buy-api/order?order_number=ORDER_NUMBER&token=YOUR_TOKEN

Read your latest order state, keys and messages. Use order_id or order_number; your original purchase orderId is also accepted. Includes Telegram orders.

Example · REST · GET

curl "https://msconfirmationid.com/wp-json/tgbt-api/v1/buy/order?order_number=ORDER_NUMBER" \
  -H "X-API-Key: YOUR_TOKEN"
READ📜 Orders History · orders

📜 Orders History :- https://msconfirmationid.com/buy-api/orders?token=your_api_key_here

Example · Browser URL · GET

https://msconfirmationid.com/buy-api/orders?token=YOUR_TOKEN

Latest 50 orders and failed purchase attempts, newest first. Use an order ID or number for delivery details.

Example · REST · GET

curl "https://msconfirmationid.com/wp-json/tgbt-api/v1/buy/orders" \
  -H "X-API-Key: YOUR_TOKEN"
Responses, limits & safe retries

Success: {"success":true,"data":{...}}. Failure: {"success":false,"error":{"code":"...","message":"..."}}. For history lookups, inspect the nested saved response too. Times are UTC; money uses decimal USD strings.

Use a new request_id/orderId for each new action (1–64 letters, digits, dot, colon, underscore or hyphen). Repeat the same action with the same ID and fields to replay its result. After a timeout, find the matching reference in history. Processing/review: wait or contact support; do not submit another ID.

200: read/success · 202: still processing/review · 400: input or service error · 401/403: key/access · 404: missing record/endpoint · 409: account busy or action conflict · 429: limit · 503: temporarily unavailable. A saved failed action may be returned inside a successful history lookup.

Limit: 30 requests/minute per account. OCR: 100/day. PID shares the bot’s daily quota. Purchases and deposit actions may return account_busy; retry those using the same ID.

Keep your API key and personalized links private.