🇹🇭 TH
เข้าสู่ระบบ สมัครสมาชิก

เอกสาร API

API URLhttps://tanglikegiare.vn/api/v2
เมธอดPOST
Content-Typeapplication/x-www-form-urlencoded หรือ application/json
ผลลัพธ์JSON · สกุลเงิน VND

รายการบริการ services

พารามิเตอร์Mô tả
keyAPI key
actionservices
ตัวอย่างผลลัพธ์
[
  {
    "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ả
keyAPI key
actionadd
serviceรหัสบริการ
linkลิงก์หรือ UID
quantityจำนวน
ตัวอย่างผลลัพธ์
{
  "order": 23501
}

สถานะคำสั่งซื้อ status

พารามิเตอร์Mô tả
keyAPI key
actionstatus
orderรหัสคำสั่งซื้อ
ตัวอย่างผลลัพธ์
{
  "charge": "3420",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "VND"
}

สถานะหลายคำสั่งซื้อ status (nhiều đơn)

พารามิเตอร์Mô tả
keyAPI key
actionstatus
ordersรหัสคำสั่งซื้อ คั่นด้วยจุลภาค (สูงสุด 100)
ตัวอย่างผลลัพธ์
{
  "1": { "charge": "3420", "start_count": "100", "status": "Completed", "remains": "0", "currency": "VND" },
  "10": { "error": "Incorrect order ID" }
}

รับประกันเติม refill

พารามิเตอร์Mô tả
keyAPI key
actionrefill
orderรหัสคำสั่งซื้อ
ตัวอย่างผลลัพธ์
{
  "refill": "1"
}

ยกเลิกคำสั่งซื้อ cancel

พารามิเตอร์Mô tả
keyAPI key
actioncancel
ordersรหัสคำสั่งซื้อ คั่นด้วยจุลภาค
ตัวอย่างผลลัพธ์
[
  { "order": 9, "cancel": 1 },
  { "order": 2, "cancel": { "error": "Đơn này không hủy được." } }
]

ยอดเงิน balance

พารามิเตอร์Mô tả
keyAPI key
actionbalance
ตัวอย่างผลลัพธ์
{
  "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
ช่วยเหลือออนไลน์ Zalo