ใช้งานง่าย ฟรี!
กรอกเบอร์ TrueWallet และลิงก์ซอง เติมเงินผ่าน API ของเรา
URL API: https://new.dinodonut.shop/redeem.php
POST ไปที่ API URL พร้อมส่งข้อมูล JSON หรือ form-data:phone (เบอร์ TrueWallet ที่ต้องการเติมเงิน) (ถ้าไม่ส่งจะใช้เบอร์เริ่มต้น)link (ลิงก์ซองเติมเงิน)
{
"phone": "0612345678",
"link": "https://gift.truewallet.com/c/xxxxxxxxxx"
}
ตัวอย่างการเรียก API ด้วย JavaScript (fetch):
fetch('https://new.dinodonut.shop/redeem.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
phone: '0612345678',
link: 'https://gift.truewallet.com/c/xxxxxxxxxx'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));