/admin/update-ref-sol
Updates an existing referral code with either a new SOL wallet address or commission percentage. Remember to replace parameters with your own values.
await axios.post(`https://api.cryptocadet.app/api/admin/gen-ref-sol`, {
apiKey,
secretKey,
solAddress,
refCode
percent,
uid
})
apiKey: Vxusewjwhjwrhkwwj181ksl
secretKey: sk-wwh284h2ksjfshshshsjh
solAddress: SL2jskEWGJkjd1384haah04716jx000
refCode: 81xhw1
percent: 3
uid: XP27shj24190ws
Last updated