เอกสารคู่มือการเชื่อมต่อ API
เชื่อมต่อระบบเว็บไซต์หรือแอปพลิเคชันของคุณเข้ากับ YINGADD FASTGROWTH เพื่อดึงรายการบริการ สั่งซื้ออัตโนมัติ ตรวจสอบยอด และยืนยันการชำระเงินคริปโตได้ตลอด 24 ชั่วโมง
ดึงรายการบริการทั้งหมดในระบบ พร้อมราคาต่อหน่วย (บาทไทย), ราคาต่อ 1,000 หน่วย, ความเร็วส่งงาน, จำนวนขั้นต่ำ-สูงสุด, และอัตราแลกเปลี่ยน USDT แบบเรียลไทม์
พารามิเตอร์ Query Parameters (ตัวเลือก)
| ชื่อพารามิเตอร์ | ชนิด | จำเป็นไหม | คำอธิบาย |
|---|---|---|---|
| platform | string | ไม่บังคับ | กรองตามแพลตฟอร์ม เช่น facebook, instagram, tiktok, youtube, line |
| search | string | ไม่บังคับ | ค้นหาด้วยคำสำคัญ เช่น ผู้ติดตาม, ยอดวิว |
ตัวอย่างการเรียกใช้งาน
curl -s -X GET "https://yingadd.com/api/services.php?platform=instagram"
<?php
$response = file_get_contents('https://yingadd.com/api/services.php?platform=instagram');
$data = json_decode($response, true);
print_r($data['data']['services']);
const res = await fetch('https://yingadd.com/api/services.php?platform=instagram');
const { data } = await res.json();
console.log(data.services);
{
"success": true,
"data": {
"services": [
{
"id": 1,
"name": "Facebook - ผู้ติดตาม",
"platform_code": "facebook",
"price_per_unit_thb": 0.89,
"price_per_1000_thb": 890.00,
"min_amount": 100,
"max_amount": 100000,
"speed": "เร็ว",
"refill": 1,
"cancel": 1
}
],
"usdt_rate": 35.50,
"profit_margin": 25.0
}
}
สร้างคำสั่งซื้อใหม่ในระบบ ระบุรายการบริการ จำนวน และลิงก์เป้าหมาย ระบบจะคำนวณราคายอดรวม (บาท) และแปลงเป็นยอด USDT สำหรับโอนผ่าน TRC20 ทันที
ฟิลด์ใน Request Body (JSON)
| ชื่อฟิลด์ | ชนิด | จำเป็นไหม | คำอธิบาย |
|---|---|---|---|
| items | array | จำเป็น | รายการบริการที่ต้องการสั่งซื้อ (แต่ละชิ้นมี service_id, quantity, link) |
| payment_method | string | ไม่บังคับ | ระบุ crypto_usdt (ค่าเริ่มต้น) |
ตัวอย่างคำขอ (JSON Payload)
{
"items": [
{
"service_id": 1,
"quantity": 500,
"link": "https://facebook.com/your_page"
}
],
"payment_method": "crypto_usdt"
}
{
"success": true,
"message": "สร้างคำสั่งซื้อเรียบร้อยแล้ว กรุณาชำระเงินผ่านคริปโทเคอร์เรนซี",
"data": {
"transaction_code": "TX-USDT-061234-A1B2",
"amount_thb": 445.00,
"amount_usdt": 12.54,
"crypto_currency": "USDT",
"network": "TRC20",
"wallet_address": "TS7ysx5LirmVPd8SvH6bcDngyhKnfsgGQu",
"qr_code_url": "https://api.qrserver.com/v1/create-qr-code/?size=240x240&margin=8&data=tron%3ATS7ysx5...",
"expires_at": "2026-09-07 07:30:00",
"timeout_seconds": 900
}
}
ตรวจสอบสถานะการชำระเงินของรหัสธุรกรรม (tx_code) ระบบจะส่งสัญญาณตรวจจับบล็อกเชน TRON อัตโนมัติ หรือส่ง action=verify_txid คู่กับ tx_hash เพื่อยืนยันทันที
curl -s -X GET "https://yingadd.com/api/crypto_checkout.php?tx_code=TX-USDT-061234-A1B2&action=check"