How to Verify Custom Reward From Your Website with Callback Verification
Creating a Custom Reward will allow you to auto-distribute any rewards from your websites.







const api_key =
"3lhpTSAJd6XDgBe4XWcozob4iMmYUlkPc9c4fwnoydGk4Bh5lSA3qrSiqgXeJcX7"; // your api_key
const { track_id} = queryString.parse(location.search);
const timestamp=new Date().getTime()
const data = `track_id=${track_id}×tamp=${timestamp}`
const sign = crypto.HmacSHA256(data, api_key).toString(); // HmacSHA256
fetch("https://cwallet.com/cctip/v1/giveaway/player/status", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
track_id,
sign,
timestamp,
}),
}).then(async (res) => {
console.log(await res.json());
});