🇹🇭
เอกสาร API
API URL
https://tanglikegiare.vn/api/v2เมธอด
POSTContent-Type
application/x-www-form-urlencoded หรือ application/jsonผลลัพธ์
JSON · สกุลเงิน VNDรายการบริการ services
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | services |
ตัวอย่างผลลัพธ์
[
{
"service": 1,
"name": "Follow Facebook Tây",
"type": "Default",
"category": "Facebook | Followers – Toàn Cầu",
"rate": "3420",
"min": "10",
"max": "1000000",
"refill": false,
"cancel": true
}
]
สร้างคำสั่งซื้อ add
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | add |
service | รหัสบริการ |
link | ลิงก์หรือ UID |
quantity | จำนวน |
ตัวอย่างผลลัพธ์
{
"order": 23501
}
สถานะคำสั่งซื้อ status
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | status |
order | รหัสคำสั่งซื้อ |
ตัวอย่างผลลัพธ์
{
"charge": "3420",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "VND"
}
สถานะหลายคำสั่งซื้อ status (nhiều đơn)
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | status |
orders | รหัสคำสั่งซื้อ คั่นด้วยจุลภาค (สูงสุด 100) |
ตัวอย่างผลลัพธ์
{
"1": { "charge": "3420", "start_count": "100", "status": "Completed", "remains": "0", "currency": "VND" },
"10": { "error": "Incorrect order ID" }
}
รับประกันเติม refill
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | refill |
order | รหัสคำสั่งซื้อ |
ตัวอย่างผลลัพธ์
{
"refill": "1"
}
ยกเลิกคำสั่งซื้อ cancel
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | cancel |
orders | รหัสคำสั่งซื้อ คั่นด้วยจุลภาค |
ตัวอย่างผลลัพธ์
[
{ "order": 9, "cancel": 1 },
{ "order": 2, "cancel": { "error": "Đơn này không hủy được." } }
]
ยอดเงิน balance
| พารามิเตอร์ | Mô tả |
|---|---|
key | API key |
action | balance |
ตัวอย่างผลลัพธ์
{
"balance": "100840",
"currency": "VND"
}
สถานะคำสั่งซื้อ
Pending · Processing · In progress · Completed · Partial (ส่งไม่ครบ คืนส่วนที่ขาดแล้ว) · Canceled (ยกเลิก คืนเงินแล้ว)
ตัวอย่างการเรียกด้วย cURL
curl -X POST https://tanglikegiare.vn/api/v2 \ -d key=API_KEY_CUA_BAN \ -d action=add -d service=1 \ -d link=https://facebook.com/abc -d quantity=1000