API Documentation
เอกสารการใช้งาน API สำหรับนักพัฒนา
API Key ของคุณ
API Endpoint: /api/v2
POST
Add Order
สร้างออเดอร์ใหม่
POST /api/v2
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 1,
"link": "https://...",
"quantity": 1000
}
| Parameter | Type | Description |
|---|---|---|
key | string | API Key ของคุณ |
action | string | add |
service | integer | Service ID |
link | string | URL ที่ต้องการ |
quantity | integer | จำนวนที่ต้องการ |
POST
Order Status
ตรวจสอบสถานะออเดอร์
POST /api/v2
{
"key": "YOUR_API_KEY",
"action": "status",
"order": 12345
}
POST
Multiple Orders Status
ตรวจสอบสถานะหลายออเดอร์
POST /api/v2
{
"key": "YOUR_API_KEY",
"action": "status",
"orders": "1,2,3,4,5"
}
POST
Services List
ดึงรายการบริการทั้งหมด
POST /api/v2
{
"key": "YOUR_API_KEY",
"action": "services"
}
POST
Check Balance
ตรวจสอบยอดเงินคงเหลือ
POST /api/v2
{
"key": "YOUR_API_KEY",
"action": "balance"
}