/admin/update-ref

Updates an existing referral code with either a new wallet address or commission percentage. Remember to replace parameters with your own values.

await axios.post(`https://api.cryptocadet.app/api/admin/update-ref`, {
apiKey, 
secretKey, 
walletAddress, 
refCode,
percent, 
uid
})

apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

walletAddress: 0x2jskEWGJkjd1384haah04716jx000

refCode: ah1j387

percent: 3

uid: XP27shj24190ws

Last updated