API Documentation
Secure integration guide for approved reseller accounts. Keep your API key private and use HTTPS for every request.
https://www.buypubg.in/wp-json/ngt/v1/api1. Authentication
Use the X-NGT-API-Key request header. Never place the key in browser-visible HTML, JavaScript, URLs or screenshots.
X-NGT-API-Key: YOUR_API_KEY2. Ping
curl -H "X-NGT-API-Key: YOUR_API_KEY" https://www.buypubg.in/wp-json/ngt/v1/api/ping3. Balance
curl -H "X-NGT-API-Key: YOUR_API_KEY" https://www.buypubg.in/wp-json/ngt/v1/api/balance4. Create Order
Use a server-to-server request. Product and variation IDs must exist on the store.
curl -X POST https://www.buypubg.in/wp-json/ngt/v1/api/order \
-H "X-NGT-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id":123,"variation_id":456,"quantity":1,"email":"customer@example.com"}'5. Order Status
curl -H "X-NGT-API-Key: YOUR_API_KEY" https://www.buypubg.in/wp-json/ngt/v1/api/order/ORDER_IDSecurity checklist
Use HTTPS in production. Rotate leaked keys immediately. Restrict reseller IPs from the admin API screen when appropriate. Do not expose API keys in frontend code. Validate order IDs and customer data on your own server.
API access is controlled by the store administrator. Availability of payment, provider fulfilment and reseller balance operations depends on the configured store integrations.