ช่องทางการเติมเงิน "ทรูมันนี่วอลเล็ต (ซองทรูมันนี่)" สามารถใช้งานได้ตามปกติแล้ว
เอกสาร API
สำหรับเจ้าของเว็บไซต์เพื่อให้คุณสามารถขายบริการของเราได้อย่างง่ายดาย
เอกสาร API
| Method | POST |
| Response Content Type | application/json |
| API Endpoint | https://api.smm24hr.net/partner/functions |
| API Key | เข้าสู่ระบบเพื่อรับ API Key |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action={ACTION}'เงินคงเหลือ
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | balance |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=balance'ตัวอย่างการตอบกลับ
{
"status": "success",
"balance": "7.10",
"currency": "THB"
}สร้างคำสั่งซื้อ
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | add |
| service | หมายเลขบริการ |
| link | ลิงก์ ( เช่น "https://www.instagram.com/p/B9ZSbHZJLdO/" ) |
| quantity | จำนวน |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=add&service=SERVICE_ID&link=LINK&quantity=QUANTITY'ตัวอย่างการตอบกลับ
{
"status": "success",
"order": "42"
}สถานะคำสั่งซื้อ
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | status |
| order | หมายเลขคำสั่งซื้อ |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=status&order=ORDER_ID'ตัวอย่างการตอบกลับ
{
"order": "44",
"status": "pending",
"charge": "3.49",
"start_count": "0",
"remains": "0"
}สถานะคำสั่งซื้อ (หลายรายการ)
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | status |
orders ( ไม่จำกัดรายการ สำหรับพาร์ทเนอร์เท่านั้น! ) | หมายเลขคำสั่งซื้อคั่นด้วย , ( เช่น "18,77" ไม่เกิน 50 รายการ ) |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=status&orders=ORDER_ID'ตัวอย่างการตอบกลับ
{
"47": {
"order": "47",
"status": "pending",
"charge": "5.63",
"start_count": "0",
"remains": "0"
}
}บริการ
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | services |
| service | หมายเลขบริการ |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=services&service=SERVICE_ID'ตัวอย่างการตอบกลับ
{
"service": "1",
"name": "Instagram Views [500 - 2.5M] [Cheapest] [Video+TV+Reel]",
"category": "Instagram fosho!",
"rate": "1.48",
"min": "100",
"max": "10000000",
"type": "default",
"desc": "✅Cheap Service\n✅Speed can be slow sometimes\n✅Start 0-5 min\n✅Works on all video types video+tv+reel\n✅Account must be public\n✅Speed 50-100K / Hour",
"dripfeed": "0"
}บริการ (หลายรายการ)
| Parameter | คำอธิบาย |
|---|---|
| key | API Key |
| action | services |
services ( ไม่จำเป็น/ไม่จำกัดรายการ สำหรับพาร์ทเนอร์เท่านั้น! ) | หมายเลขบริการคั่นด้วย , ( เช่น "0,65" ไม่เกิน 50 รายการ ) |
ตัวอย่างการใช้งาน
curl -X POST 'https://api.smm24hr.net/partner/functions' \
-d 'key={API_KEY}&action=services&services=SERVICE_ID'ตัวอย่างการตอบกลับ
[
{
"service": "1",
"name": "Instagram Views [500 - 2.5M] [Cheapest] [Video+TV+Reel]",
"category": "Instagram fosho!",
"rate": "1.48",
"min": "100",
"max": "10000000",
"type": "default",
"desc": "✅Cheap Service\n✅Speed can be slow sometimes\n✅Start 0-5 min\n✅Works on all video types video+tv+reel\n✅Account must be public\n✅Speed 50-100K / Hour",
"dripfeed": "0"
}
]