ทดสอบ API เติมเงิน TrueWallet

ใช้งานง่าย ฟรี!
กรอกเบอร์ TrueWallet และลิงก์ซอง เติมเงินผ่าน API ของเรา
URL API: https://new.dinodonut.shop/redeem.php

วิธีใช้ API
ส่งคำขอ POST ไปที่ API URL พร้อมส่งข้อมูล JSON หรือ form-data:
ตัวอย่าง JSON ที่ส่งไปยัง API:
{
    "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));